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

Content deleted Content added
Make radio inputs bigger, and aligned to the center
fix
 
(One intermediate revision by the same user not shown)
Line 66:
left: 50%;
transform: translateX(-50%);
display: inline-block; /* fallback */
text-align:center; /* showfallback: place the radio inputs in the center horizontally */
display: flex;
flex-wrap: wrap;
justify-content: center;
}
/* Place radio inputs at the top, and gallery contents below */
.randomSlideshow-container ul.gallery:first-child .gallerybox {
order: 99999;
flex-shrink: 0;
}
.randomSlideshow-container ul.gallery:first-child label {
flex: 0 0;
}