User:AHollender (WMF)/night mode.css

From Wikipedia, the free encyclopedia
Note: After saving, you have to bypass your browser's cache to see the changes. Google Chrome, Firefox, Microsoft Edge and Safari: Hold down the ⇧ Shift key and click the Reload toolbar button. For details and instructions about other browsers, see Wikipedia:Bypass your cache.
/* last updated 08:31 4 June 2019 */

html {
	background-color: #000000;
}

html, img, video, svg, iframe, .mw-no-invert, .mw-mmv-overlay, .mw-mmv-pre-image, .mw-kartographer-map, .mw-kartographer-mapDialog-map {
	filter: invert(1) hue-rotate(180deg);
}

/* backgrounds */
.infobox, .toc, div.thumbinner, #simpleSearch, #simpleSearch #searchInput, #simpleSearch #searchButton, table, .wikitable, table.ambox-content, table.toccolours, .mw-notification, .mwe-popups, div.cbnnr-main, .cx-callout, div#siteNotice div#centralNotice div.cnotice {
	background-color: #DDDDDD;
}

/* borders */
body, #mw-head, #mw-panel, #content.mw-body, h1, h2, h3, h4, h5, h6, .infobox, .toc, div.thumbinner, #simpleSearch, #simpleSearch #searchInput, table.ambox-content, table.toccolours, .mw-notification, div#siteNotice div#centralNotice div.cnotice {
	border-color: #CDCBC8;
}

/* normal links */
a, #mw-panel .portal .body li a, .vectorTabs li a, .toctogglelabel, .mw-parser-output a.external, .mw-parser-output a.extiw, .mw-parser-output a.extiw:active {
	color: #6699FF;
}

/* visited links */
a:visited, #mw-panel .portal .body li a:visited, .mw-parser-output a.extiw:visited {
	color: #709BBD;
}

/* red links */
a.new, .vectorTabs li.new a {
	color: #FF6E6E;
}

/* ==== SPECIAL FIXES ==== */

/* image thumbnais */
html .thumbimage {
	border: none;
}

/* svgs */
img[src*="svg"] {
  background: #FFFFFF;
}

/* page previews */
.mwe-popups {
	-webkit-box-shadow: 0 30px 90px -20px rgba(0, 0, 0, 0.3), 0 0 1px #000000;
    box-shadow: 0 30px 90px -20px rgba(0, 0, 0, 0.3), 0 0 1px #000000;
}

.mwe-popups .mwe-popups-extract[dir='ltr']:after {
	-webkit-linear-gradient(to right,rgba(221,221,221,0),#DDDDDD 50%);
	background-image: linear-gradient(to right,rgba(221,221,221,0),#DDDDDD 50%);
}

.mwe-popups.flipped-y:after, .mwe-popups.flipped-x-y:after {
	border-top: 11px solid #DDDDDD;
}

.mwe-popups.mwe-popups-no-image-pointer:after {
	border-bottom: 11px solid #DDDDDD;;
}

/* contributions menu */
.cx-callout-1:after {
	border-bottom-color: #DDDDDD;
}