User:Kylmä Moth/common.css

From TNOpediA
Revision as of 14:57, 10 January 2024 by Kylmä Moth (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)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
:root {
  --bg-color: #061016;
  --text-color: white;
}

/* Overrides default mediawiki colors and applies the dark bg and white text */
body,
h1, h2, h3, h4, h5, h6,
.vector-pinnable-header-label,
.vector-feature-page-tools-enabled .vector-pinnable-element .vector-menu-heading,
.vector-dropdown-content .vector-menu-heading,
.footer,
.footer-navigation,
.footer-info,
.mw-page-container,
.vector-feature-page-tools-enabled #vector-main-menu-pinned-container .vector-main-menu {
  background-color: var(--bg-color);
  color: var(--text-color);
}

/* Removes the fade effect on the tools container */
#vector-page-tools-pinned-container .vector-page-tools::after {
  display: none;
}

/* Make all the links white */
a {
  color: var(--text-color) !important;
}