Site Notice
  • We have a limited coverage policy. Please check our coverage page to see which articles are allowed.
  • Please no leaked content less than one year old, or videos of leaks.
  • Content copied verbatim from other websites or wikis will be removed.

User:PanchamBro/common.css

From NintendoWiki, your source on Nintendo information. By fans, for fans.
< User:PanchamBro
Revision as of 09:18, 10 June 2021 by PanchamBro (talk | contribs) (Created page with "Apply a quick color-inverted night theme: @-moz-document url-prefix() { html { background: #000; } html, body { height: auto; } } html, img:not(.invert), video, .vjs-p...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Note: After saving, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files.
/* Apply a quick color-inverted night theme */

@-moz-document url-prefix() {
	html { background: #000; }
	html, body { height: auto; }
}
html, img:not(.invert), video, .vjs-poster, iframe, #wpTextbox1, #p-logo,
.mw-mmv-overlay, .mw-mmv-pre-image, .media-viewer, .image-details,
.results .list-thumb, .ext-related-articles-card-thumb,
.mwe-popups-container, .mwe-popups-extract {
	filter: invert(1) hue-rotate(180deg);
}
.toc, pre, .catlinks, #content-bottom-stuff,
body:not(.skin-minerva) div.thumbinner,
li.gallerybox div.thumb {
	background: #ccc !important;
	border-color: #aaa !important;
}
.mw-highlight .nc, .mw-highlight .nf, .mw-highlight .nn { color: #66f !important; }
.mw-changeslist-legend { border-color: #ccc !important; }
.toctitle, fieldset { border-color: #aaa !important; }
textarea { background: #ccc !important; }
#wpTextbox1 { color: #000 !important; }

/* Fixes */
#mf-sa, #mf-sa a.image, .messagebox.invert td:first-of-type,
.infobox tr:nth-of-type(2) br + a.image, .infobox tr:nth-of-type(2) br + div.center {
	filter: invert(1) hue-rotate(180deg);
}
body.page-Main_Page #bodyContent td[style*="background:#f7f7fb"] {
	background: #eee !important;
}
.special-moves .wikitable caption {
	background: #bbb !important;
}
body.mediawiki table.wikitable th {
	background: #bbb;
}
body.mediawiki table.wikitable td {
	background: #ccc;
}
div.noarticletext {
	background: #ddd;
}

/* Diffs */
.diff-addedline {
	background: #eee !important;
	border-color: lightskyblue !important;
}
.diff-addedline .diffchange {
	background: lightskyblue !important;
}
.diff-deletedline {
	background: #eee !important;
	border-color: pink !important;
}
.diff-deletedline .diffchange {
	background: pink !important;
}
.diff-context {
	background: none !important;
	border-color: #ccc !important;
}
.mw-plusminus-pos {
	color: #0d0 !important;
}
.mw-plusminus-neg {
	color: #f77 !important;
}

/* Links */
a.new, .new a { color: #f66 !important; }
body a, body .content a, body .vector-menu-tabs li a,
body .portal .body li a, body #p-cactions li a, body a:hover,
body a:visited, body .content a:visited, body .portal .body li a:visited,
body a:active, body .content a:active {
	color: #009CFF !important;
}

/* Desktop skins */
#content, #content h1, #content h2, #content h3,
#content h4, #content h5, #content h6 {
	color: #333 !important;
}
body.mediawiki #content, #mw-content, .skin-monobook #footer,
.skin-monobook #p-cactions li a, #sidebar .pBody, .mw-prefs-buttons,
.oo-ui-tabSelectWidget-framed .oo-ui-tabOptionWidget.oo-ui-optionWidget-selected {
	background: #ddd !important;
}
.vector-menu-tabs .selected {
	background: linear-gradient(to bottom,transparent 0,#ddd 100%) !important;
}
html .thumbimage {
	border-color: #2F3237 !important;
}