Jump to content

Template:AyStar/styles.css: Difference between revisions

From The Commentary Community Wiki
Created page with "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; } .gallery-slideshow-button.camera { display: none !important; kills the ugly camera icon: } .mw-gallery-slideshow .galler..."
 
No edit summary
 
Line 12: Line 12:
     display: block;
     display: block;
}
}
.gallery-slideshow-button.camera {  
 
     display: none !important; /* kills the ugly camera icon */
/* 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 {
.mw-gallery-slideshow .gallery-slideshow-button {
     opacity: 0.9;
     opacity: 0.9;
}
}

Latest revision as of 06:57, 13 March 2026

/* 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;
}