Template:Gallery/styles.css
< Template:Gallery
Jump to navigation
Jump to search
Revision as of 18:14, 1 November 2018 by imported>Frietjes (lighter image borders)
/* FIXME: the media query is only necessary due to the fact that Module:Gallery uses inline styles.
Module:Gallery should be updated to not use style attributes and exclusively use this.
Various other templates use Module:Gallery, so out of fear of breaking them I've done this (mixed with importants) which make me very sad.
*/
@media all and ( max-width: 720px ) {
.mw-module-gallery {
/* Override inline styles in Module:Gallery. !important can be removed when Module:Gallery no longer has them*/
display: block !important;
float: none !important;
}
.mw-module-gallery div {
display: inherit !important;
float: none !important;
width: auto !important;
}
}
.mw-module-gallery .gallerybox .thumb img {
background: none;
}
.mw-module-gallery .bordered-images img {
border: solid #eee 1px;
}