View source for MediaWiki:Gadget-DarkMode.css
Jump to navigation
Jump to search
You do not have permission to edit this page, for the following reasons:
You can view and copy the source of this page.
/* Apply a quick color-inverted night theme */
@-moz-document url-prefix() {
html { background: #fff !important; }
html, body { height: auto; min-height: 100vh; }
.ve-init-mw-welcomeDialog { display: none !important; }
}
body.mediawiki .gallery.whitebg div.thumb { background: #000 !important; }
body.mediawiki .gallerybox:has(.whitebg) div.thumb { background: #000 !important; }
body.mediawiki .gallery.blackbg div.thumb { background: #fff !important; }
body.mediawiki .gallerybox:has(.blackbg) div.thumb { background: #fff !important; }
body.mediawiki .gallery.graybg div.thumb, body.mediawiki .gallery.greybg div.thumb {
background: #808080 !important;
}
body.mediawiki .gallerybox:has(.graybg) div.thumb, body.mediawiki .gallerybox:has(.greybg) div.thumb {
background: #808080 !important;
}
img.whitebg, .gallery.whitebg img { background: #fff !important; }
.noinvert img.invert, .noinvert img.invert-dark { filter: invert(1) hue-rotate(180deg) !important; }
img.invert, img.invert-dark, img.mwe-math-fallback-image-inline, .noinvert img, .gallery.invert-light a.image {
000
1:0
Return to MediaWiki:Gadget-DarkMode.css.