MediaWiki

MediaWiki:Foreground.css

From Redrock Wiki

Revision as of 22:43, 15 April 2026 by Redrock (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.
hr {
  clear: left;
}

.mw-ui-button {
  color: grey;
}

#content { background-color: #eeeeee; }
#bodyContent { background-color: #eeeeee; }
#catlinks { background-color: #eeeeee; }
body { background-color: #eeeeee; }

@media (prefers-color-scheme: dark) {
  body { background-color: #2d3034; }
  #content:not(pre), #mw-content-subtitle { 
    background-color: #2d3034; 
    color: darkgrey;
  }
  #bodyContent { background-color: #2d3034; }
  #catlinks { background-color: #2d3034; }
  #catlinks, #footer-privacy, #footer-about, #footer-disclaimers, #poweredby, .tcAnnouncement, #content, #mw-content-subtitle { 
    a {color: #66b1fa;}
    a:hover {color: #4894e0 !important}
    .label {color: white;}
  }
  .blue { /* not yet updated */
    background-color: #D9EDF7;
    border: 1px solid #BCE8F1;
    color:#31708F;
  }
  .green {
    background-color: #293c17;
    border: 1px solid #8bc48c;
    color:#8bc48c;
  }
  .red {
    background-color: #A93636;;
    border: 1px solid #EBCCD1;
    color:#F4BEBD;;
  }
  .guideTabs {
    color: white;
    background: #181a1b;
    a {color: #66b1fa !important}
    a:hover {color: #4894e0 !important}
  }
  .tcWidgetPage {
    background: #181a1b;
    .pageTitle, p, dd, ul, li, h2, h3, td, th, .collapsible { color: white; } 
    td {background: #2d3034;}
    th {
      background-color: #181a1b !important;
      background: #181a1b;
    }
    a {color: #66b1fa !important}
    a:hover {color: #4894e0 !important}
    .mw-collapsible-toggle:hover {
      background-color: unset;
    }
    .mw-collapsible-text {color: #66b1fa !important}
  }
  .categoryBox {
    h2 { color: #C73149 !important; }
    h2:hover { color: #A41D33 !important; }
  }
}

/* Link Color */
a {color: #0645ad}

/* Hover Color */
a:hover, a:focus {color: #032356;}

/* Hide titles */ 
.title { display: none; }
#tagline { display: none; }

#searchInput {
    width: 500px;
}

nav.top-bar,
.top-bar.expanded .title-area {
    background: #8D182B;
}

.mw-collapsible-toggle:hover {
    background-color:white;
}

.mw-collapsible-toggle:focus {
    background-color:white;
}

#navwrapper {
    background: #8D182B;
}

ul#top-bar-left li,
ul#top-bar-left li a
 {
    background: #8D182B;
}

ul#top-bar-right li,
ul#top-bar-right li a {
    background: #8D182B;
}

ul#top-bar-left li:hover,
ul#top-bar-left li a:hover,
ul#top-bar-right li:hover:not(.has-form),
ul#top-bar-right li a:hover {
    background: #E5E5E5;
    color: #8D182B;
}