MediaWiki:Common.css

From Ghost Theory Wiki
Revision as of 20:51, 15 December 2025 by PerilM (talk | contribs)

Note: After publishing, 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)
  • Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* === GLOBAL OVERRIDE: FORCE DARK EVERYTHING === */
html, body, * {
    background-color: #000 !important;
    color: #fff !important;
    border-color: #333 !important;
}

/* === LINKS === */
a {
    color: #ff0 !important;
}
a:visited {
    color: #ccc !important;
}

/* === TABLES, INFOBOXES, THUMBS, TOC === */
table,
.infobox,
.toc,
.thumb,
.thumbinner,
.mw-parser-output table,
.mw-parser-output .thumb,
.mw-parser-output .thumbinner {
    background-color: #111 !important;
    color: #fff !important;
    border-color: #333 !important;
}

/* === FORMS, INPUTS, BUTTONS === */
input,
textarea,
select,
button {
    background-color: #111 !important;
    color: #fff !important;
    border: 1px solid #444 !important;
}

/* === SPECIAL PAGES (Preferences, Upload, RecentChanges, etc.) === */
.mw-specialpage,
.mw-htmlform,
.mw-htmlform-field,
.mw-htmlform-submit,
.mw-htmlform-field-HTMLTextField,
.mw-htmlform-field-HTMLSelectField,
.mw-htmlform-field-HTMLCheckField {
    background-color: #000 !important;
    color: #fff !important;
}

/* === EDITOR === */
.wikiEditor-ui,
.wikiEditor-ui textarea,
#wpTextbox1 {
    background-color: #000 !important;
    color: #fff !important;
}

/* === FIX RANDOM WHITE GAPS === */
div,
section,
article,
header,
footer,
nav {
    background-color: transparent !important;
}