Jump to content

MediaWiki:Common.css: Difference between revisions

From FC1
No edit summary
No edit summary
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
/* CSS placed here will be applied to all skins */


/* Remove white edges/background from images in dark mode */
/* Specifically override the fixed white background on images */
html.skin-theme-clientpref-dark .mw-file-description img,
html.skin-theme-clientpref-dark img,
html.skin-theme-clientpref-dark .mw-no-invert {
html.skin-theme-clientpref-dark .mw-file-description img {
     background-color: transparent !important;
     background-color: transparent !important;
    box-shadow: none !important;
    border: none !important;
}
}

Revision as of 15:21, 23 March 2026

/* CSS placed here will be applied to all skins */

/* Specifically override the fixed white background on images */
html.skin-theme-clientpref-dark img,
html.skin-theme-clientpref-dark .mw-file-description img {
    background-color: transparent !important;
}