MediaWiki:Gadget-Carousel.css: verschil tussen versies
MediaWiki interface page
Geen bewerkingssamenvatting |
Geen bewerkingssamenvatting |
||
| (5 tussenliggende versies door dezelfde gebruiker niet weergegeven) | |||
| Regel 7: | Regel 7: | ||
.jcarousel-wrapper { | .jcarousel-wrapper { | ||
width: | width: 100%; | ||
margin: 0; | margin: 0; | ||
position: relative; | position: relative; | ||
| Regel 24: | Regel 24: | ||
.jcarousel-item img { | .jcarousel-item img { | ||
display: block; | display: block; | ||
width: 100%; | |||
height: auto !important; | height: auto !important; | ||
} | |||
.jcarousel-control-prev, | |||
.jcarousel-control-next { | |||
position: absolute; | |||
top: 45%; | |||
width: 30px; | |||
height: 30px; | |||
text-align: center; | |||
background: #fff; | |||
color: #fff; | |||
text-decoration: none; | |||
text-shadow: 0 0 1px #000; | |||
font: 24px/27px Arial, sans-serif; | |||
-webkit-border-radius: 30px; | |||
-moz-border-radius: 30px; | |||
border-radius: 30px; | |||
-webkit-box-shadow: 0 0 2px #999; | |||
-moz-box-shadow: 0 0 2px #999; | |||
box-shadow: 0 0 2px #999; | |||
} | |||
.jcarousel-control-prev { | |||
left: -15px; | |||
cursor: pointer; | |||
} | |||
.jcarousel-control-next { | |||
right: -15px; | |||
cursor: pointer; | |||
} | |||
.jcarousel-control-prev:hover span, | |||
.jcarousel-control-next:hover span { | |||
display: block; | |||
} | |||
.jcarousel-control-prev.inactive, | |||
.jcarousel-control-next.inactive { | |||
opacity: .5; | |||
cursor: default; | |||
} | } | ||
/* END Main Page carousel code */ | /* END Main Page carousel code */ | ||
Huidige versie van 4 jul 2022 om 17:49
/* BEGIN Main Page carousel code */
.jcarousel {
position: relative;
overflow: hidden;
}
.jcarousel-wrapper {
width: 100%;
margin: 0;
position: relative;
}
.jcarousel .jcarousel-list {
position: relative;
margin: 0;
padding: 0;
}
.jcarousel .jcarousel-item {
float: left;
}
.jcarousel-item img {
display: block;
width: 100%;
height: auto !important;
}
.jcarousel-control-prev,
.jcarousel-control-next {
position: absolute;
top: 45%;
width: 30px;
height: 30px;
text-align: center;
background: #fff;
color: #fff;
text-decoration: none;
text-shadow: 0 0 1px #000;
font: 24px/27px Arial, sans-serif;
-webkit-border-radius: 30px;
-moz-border-radius: 30px;
border-radius: 30px;
-webkit-box-shadow: 0 0 2px #999;
-moz-box-shadow: 0 0 2px #999;
box-shadow: 0 0 2px #999;
}
.jcarousel-control-prev {
left: -15px;
cursor: pointer;
}
.jcarousel-control-next {
right: -15px;
cursor: pointer;
}
.jcarousel-control-prev:hover span,
.jcarousel-control-next:hover span {
display: block;
}
.jcarousel-control-prev.inactive,
.jcarousel-control-next.inactive {
opacity: .5;
cursor: default;
}
/* END Main Page carousel code */