Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

MediaWiki:Common.css: Difference between revisions

MediaWiki interface page
No edit summary
No edit summary
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
:root { color-scheme: dark; }
:root {
  color-scheme: dark;
}


html, body {
html, body {
   background: #0b0d10;
   background-color: #0b0d10 !important;
   color: #e6e6e6;
   color: #e6e6e6 !important;
}
}


/* Make links not look dead */
.mw-page-container,
a {
.mw-body,
   color: #7aa2ff;
#content,
}
#mw-content-text {
a:visited {
   background-color: #0b0d10 !important;
   color: #b48cff;
   color: #e6e6e6 !important;
}
}


/* Optional: keep tables from flashbanging */
a { color: #7aa2ff !important; }
a:visited { color: #b48cff !important; }
 
table, .wikitable {
table, .wikitable {
   background: #0f1217;
   background-color: #0f1217 !important;
   color: #e6e6e6;
   color: #e6e6e6 !important;
}
 
/* This media query is redundant if you're forcing dark anyway,
  but it's harmless. */
@media (prefers-color-scheme: dark) {
  :root { color-scheme: dark; }
}
}

Revision as of 05:06, 30 January 2026

:root { color-scheme: dark; }

html, body {
  background-color: #0b0d10 !important;
  color: #e6e6e6 !important;
}

.mw-page-container,
.mw-body,
#content,
#mw-content-text {
  background-color: #0b0d10 !important;
  color: #e6e6e6 !important;
}

a { color: #7aa2ff !important; }
a:visited { color: #b48cff !important; }

table, .wikitable {
  background-color: #0f1217 !important;
  color: #e6e6e6 !important;
}