MediaWiki:Gadget-DarkMode.css

/* Apply a quick color-inverted dark mode */

html, body { height: 100%; } body.skin-vector { height: auto; } @-moz-document url-prefix { html, body { height: auto; } } body:not(.skin-timeless), #mw-content-block, img, video, .vjs-poster, iframe, .mw-ui-button.mw-ui-progressive, .mw-mmv-overlay, .mw-mmv-pre-image, .media-viewer, .image-details, .mw-wiki-logo, .thumb, .thumb .image, .gallerybox, .gallerybox .thumb > div, .gallerytext, body.skin-monobook #p-personal, body.skin-monobook #p-cactions { filter: invert(1) hue-rotate(180deg); }

body.page-Main_Page.mobile #mainpage > div:not(#mf-welcome), body.page-Main_Page .nav > a, body.page-Main_Page:not(.mobile) #mw-content-text, body.page-Main_Page #mw-content-text .floatnone, body.page-Main_Page #mw-content-text .floatleft, body.page-Main_Page #mw-content-text .floatright { filter: invert(1) hue-rotate(180deg); }

/* Skin changes */ background: #eee !important; } .vector-menu-tabs .selected { background: linear-gradient(to bottom,transparent 0,#eee 100%) !important; } textarea, .CodeMirror { background: #ddd !important; } .catlinks { background: #fff !important; }
 * 1) content, #mw-content, .skin-monobook #footer {