الگو:Islamicalslid/styles.css: تفاوت میان نسخهها
پرش به ناوبری
پرش به جستجو
بدون خلاصۀ ویرایش |
بدون خلاصۀ ویرایش |
||
خط ۹۰: | خط ۹۰: | ||
font-size:13.5px | font-size:13.5px | ||
} | } | ||
.portada- | .portada-file { | ||
} | } | ||
.portada- | .portada-file img { | ||
position:absolute; | position:absolute; | ||
display:block; | display:block; |
نسخهٔ ۱۹ مهٔ ۲۰۲۴، ساعت ۱۰:۳۰
.caixa-flex {
display:flex;
flex-wrap:wrap;
flex-direction:row;
min-width:100%
}
.reqport {
box-shadow:0 0 0.3rem #999;
padding:10px;
margin-bottom:10px;
flex:1 1 0
}
.portada-file-flex {
position:relative;
overflow:hidden;
width:100%;
height:100%;
}
.portada-file-flex img {
position:absolute;
display:block;
width:100%;
min-width:auto;
height:auto;
min-height:100%;
object-fit:cover;
margin:0
}
.mf-mobile-only {
display:none
}
* {
margin:0
}
.portada-slider {
overflow:hidden;
width:100%;
max-width:1024px;
height:100%;
min-height:30vh;
min-width:350px
}
.portada-slider ul {
width:100%;
margin:0;
padding:0;
display:table;
table-layout:fixed;
height:100%
}
.portada-slider ul li {
display:table-cell;
vertical-align:top;
position:relative;
width:33.33333%;
height:100%;
transition:all 1000ms ease
}
.portada-slider-div-contingut {
overflow:hidden;
width:100%;
height:100%;
position:absolute;
top:0
}
.portada-slider-contingut {
display:block;
height:100%;
width:100%;
position:relative;
z-index:3;
padding:15px 20px;
box-sizing:border-box;
color:#fff
}
.portada-slider-contingut * {
opacity:0;
margin:0;
width:100%;
position:relative
}
.portada-slider-titol {
font-size:150%;
font-weight:bold;
margin-bottom:2px;
top:2px
}
.portada-slider-descripcio {
top:2px;
font-size:13.5px
}
.portada-file {
}
.portada-file img {
position:absolute;
display:block;
width:100%;
min-width:auto;
height:auto;
min-height:100%;
object-fit:cover;
margin:0
}
.portada-slider ul:hover li {
width:10%
}
.portada-slider ul:hover li:hover {
width:60%
}
.portada-slider ul:hover li:hover .portada-slider-contingut {
background:rgba(0,0,0,0.7)
}
.portada-slider ul:hover li:hover .portada-slider-contingut * {
opacity:1
}
.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;
}
.portada-cronologia-item:last-child {
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%;
}
.portada-cronologia-avuifa {
display:inline-block;
position:relative;
padding:5px 10px 5px 10px;
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 {
position:absolute;
left:-8px;
top:10px;
height:10px;
width:10px;
border-radius:10px;
border:2px solid rgba(40,133,111,255);
background:white;
content:' ';
}
.portada-cronologia-efemeride {
padding:10px 0px 10px 10px;
}