Khác biệt giữa các bản “Bản mẫu:Nguyenhai314/style.css”

không có tóm lược sửa đổi
(Đã lùi lại sửa đổi 64303516 của Nguyenhai314 (thảo luận))
Thẻ: Lùi sửa
/** Obecné k HS */
.caixa-flex {
@media only screen and (min-width: 768px) {
display:flex;
.mainpage-left {
flex-wrap:wrap;
float:left;
flex-direction:row;
min- width:10055%;
}
min-height:30%
.mainpage-right {
}
float:right;
.reqport {
width:44%;
box-shadow:0 0 0.3rem #999;
width:calc(45% - .5em);
padding:10px;
}
margin-bottom:10px;
flex:1 1 0
}
.portada-imatge-flex {
position:relative;
overflow:hidden;
width:100%;
height:100%;
}
.portada-imatge-flex img {
position:absolute;
display:block;
width:100%;
min-width:auto;
height:auto;
min-height:100%;
object-fit:cover;
margin:0
}
 
/** Hlavička */
* {
.header {
margin:0
background-color:#FCFCFC;
border:1px solid #CCC;
margin-top:.5em;
overflow:auto;
padding:.8em 1.5em;
}
@media only screen and (max-width: 768px) {
.portada-slider {
.header {
overflow:hidden;
display: none;
width:100%;
}
max-width:1024px;
height:100%;
min-height:30vh;
min-width:350px
}
.header-left {
.portada-slider ul {
widthfloat:100%left;
marginwidth:087%;
padding:0;
display:table;
table-layout:fixed;
height:100%
}
.header-welcome-headline {
.portada-slider ul li {
font-size:1.5em;
display:table-cell;
font-weight:bold;
vertical-align:top;
position:relative;
width:33.33333%;
height:100%;
transition:all 1000ms ease
}
.header-welcome-description {
.portada-slider-div-contingut {
font-size:.95em;
overflow:hidden;
width:100%;
height:100%;
position:absolute;
top:0
}
.header-right {
.portada-slider-contingut {
float:left;
display:block;
font-size:.95em;
height:100%;
text-align:right;
width:100%;
width:13%;
position:relative;
z-index:3;
padding:15px 20px;
box-sizing:border-box;
color:#fff
}
 
.portada-slider-contingut * {
/** Sdílené styly boxů **/
opacity:0;
 
margin:0;
.mainpage-block {
width:100%;
margin-top: .5em;
position:relative
}
 
.portada-slider-titol {
.mainpage-left .mainpage-block {
font-size:150%;
border: 1px solid #AAD5FF;
font-weight:bold;
margin-bottom:2px;
top:2px
}
 
.portada-slider-descripcio {
.mainpage-right .mainpage-block {
top:2px;
border: 1px solid #E6E6E6;
font-size:13.5px
}
 
.portada-imatge {
/* Záhlaví boxů */
.mainpage-headline {
font-size: 1.2em;
font-weight: bold;
padding-top: .2em;
padding-left: .4em;
padding-bottom: .2em;
}
 
.portada-imatge img {
.mainpage-left .mainpage-headline {
position:absolute;
background-color: #AAD5FF;
display:block;
width:100%;
min-width:auto;
height:auto;
min-height:100%;
object-fit:cover;
margin:0
}
 
.portada-slider ul:hover li {
.mainpage-right .mainpage-headline {
width:20%
background-color: #E6E6E6;
}
 
.portada-slider ul:hover li:hover {
/* Těla boxů */
width:50%
.mainpage-content {
margin: .8em .5em;
}
 
.portada-slider ul:hover li:hover .portada-slider-contingut {
/* Zápatí boxů */
background:rgba(0,0,0,0.7)
.mainpage-footer {
clear: right;
font-size: .9em;
text-align: right;
padding: 0 .5em;
}
 
.portada-slider ul:hover li:hover .portada-slider-contingut * {
.mainpage-left .mainpage-footer {
opacity:1
background-color: #e5f2ff;
}
.portada-slider-contingutimatge {
display:block;
height:100%;
width:100%;
position:relative;
z-index:3;
padding:0;
box-sizing:border-box;
color:#fff
}
.portada-slider-contingutimatge * {
opacity:0;
margin:0;
width:100%;
position:relative
}
.portada-slider ul:hover li:hover .portada-slider-contingutimatge {
background:rgba(0,0,0,0)
}
.portada-slider ul:hover li:hover .portada-slider-contingutimatge * {
opacity:1
}
.portada-slider-titol a {
color:white;
font-weight:bold;
}
.portada-slider-descripcio a {
color:white;
font-weight:bold;
}
/* Cronologia */
.portada-cronologia-item {
border-left:2px solid rgba(40,133,111,255);
border-right:0;
}
 
.mainpage-right .mainpage-footer {
.portada-cronologia-item:last-child {
background-color: #F7F7F7;
border-width:0 0 0 2px;
border-image: linear-gradient(to bottom, rgba(40, 132, 109, 1) 60%, rgba(40, 132, 109, 0)) 1 100%;
}
 
/** Individuální styly **/
.portada-cronologia-avuifa {
 
display:inline-block;
/* Skrytí vlaječek */
position:relative;
.news-container .aktuality-vlajka, .news-container .flagicon {
padding:5px 10px 5px 10px;
display: none;
border-top-right-radius:5px;
border-bottom-right-radius:5px;
background:rgba(40,133,111,255);
color:white;
font-weight:bold;
}
 
.portada-cronologia-avuifa:after {
/* Prevence přetekání obrázku */
position:absolute;
.picture-container img {
left:-8px;
max-width: 100%;
top:10px;
object-fit: contain;
height:10px;
width:10px;
border-radius:10px;
border:2px solid rgba(40,133,111,255);
background:white;
content:' ';
}
 
/* Menší písmo ve vybraných boxech */
.portada-cronologia-efemeride {
.dyk-container .mainpage-content,
padding:10px 0px 10px 10px;
.cats-container .mainpage-content,
.portals-container .mainpage-content,
.news-container .mainpage-content,
.calendar-container .mainpage-content,
.editors-container .mainpage-content {
font-size: .95em;
}