User:Hamster/vector.css

From RimWorld Wiki
Revision as of 00:58, 1 April 2025 by Hamster (talk | contribs) (Created page with "→‎Disable dark mode overrides: html { filter: none !important; background-color: #fff !important; color: #000 !important; } →‎Reset background colors: html...")
(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 / Edge: 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.
/* Disable dark mode overrides */
html {
    filter: none !important;
    background-color: #fff !important;
    color: #000 !important;
}

/* Reset background colors */
html table,
html .mw-notification,
html .infobox,
html .toc,
html .thumbinner,
html .wikitable {
    background-color: inherit !important;
}

/* Reset text colors */
html a,
html .vector-menu-tabs li a,
html .mw-parser-output a.external,
html .mw-parser-output a.extiw {
    color: #0000EE !important; /* Default blue link color */
}

html a:visited {
    color: #551A8B !important; /* Default visited link color */
}

html a.new {
    color: #CC0000 !important; /* Default red color for broken links */
}

/* Reset images */
html img {
    filter: none !important;
}