Jump to content

MediaWiki:Common.css: Difference between revisions

From FC1
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
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 */
/* Target all common MediaWiki dark mode classes */
html.skin-theme-clientpref-dark .mw-file-description img,
.skin-theme-clientpref-night img {
html.skin-theme-clientpref-dark .mw-no-invert {
     background-color: transparent !important;
     background-color: transparent !important;
    box-shadow: none !important;
    border: none !important;
}
}

Latest revision as of 15:26, 23 March 2026

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

/* Target all common MediaWiki dark mode classes */
.skin-theme-clientpref-night img {
    background-color: transparent !important;
}