Jump to content

Template:AyStar/styles.css

From The Commentary Community Wiki
/* Fandom-style clean slideshow for Capiunto infobox */
.mw-gallery-slideshow,
.gallery-slideshow-container {
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
}
.mw-gallery-slideshow img {
    max-width: 100% !important;
    height: auto !important;
    display: block;
}

/* Kills the camera icon (this is the real class) */
.gallery-slideshow-camera-button {
    display: none !important;
}

/* Hides any leftover caption box (extra space killer) */
.gallerytext,
.mw-gallery-caption,
.gallery-slideshow-caption {
    display: none !important;
}

/* Makes arrows a bit cleaner like Fandom */
.mw-gallery-slideshow .gallery-slideshow-button {
    opacity: 0.9;
}