Module:Random slideshow/sandbox/styles.css: Difference between revisions

Content deleted Content added
remove tests, reactivate the commented-out rules as mobile-only rules
Position the radio input in the center; Remove excess padding around captions
Line 28:
display:inline-block !important; /* overrides inline style */
padding:0.2em 0.3em;
}
 
/* Position the radio input in the center */
.randomSlideshow-container ul.gallery:first-child label,
.randomSlideshow-container ul.gallery:first-child input {
vertical-align: middle;
}
 
Line 38 ⟶ 44:
.randomSlideshow-container ul.gallery:first-child .gallerybox {
display:block;
}
 
/* Remove excess padding around captions */
.randomSlideshow-container ul.gallery:first-child .gallerybox li,
.randomSlideshow-container ul.gallery:first-child .gallerybox div,
.randomSlideshow-container ul.gallery:first-child .gallerybox p {
padding-top:0;
padding-bottom:0;
margin:0;
}