MediaWiki

MediaWiki:Foreground.css

From Redrock Wiki

Revision as of 21:59, 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 { background-color: #2d3034; }
  #bodyContent { background-color: #2d3034; }
  #catlinks { background-color: #2d3034; }
  .tcAnnouncement {
    a {color: #66b1fa}
  }
  .blue { 
    background-color: #D9EDF7;
    border: 1px solid #BCE8F1;
    color:#31708F;
  }
  .green {
    background-color: #293c17;
    border: 1px solid #8bc48c;
    color:#8bc48c;
  }
  .red {
    background-color: #F2DEDE;
    border: 1px solid #EBCCD1;
    color:#A94442;
  }
  .guideTabs {
    color: white;
    background: #181a1b;
    a {color: #66b1fa}
  }
  .tcWidgetPage2 {
    border-radius: 5px;
    margin-bottom: 16px;
    border: 1px solid #e5e5e5;
    background: #181a1b;
    padding: 15px;
    box-shadow: 0 2px 2px 0 rgba(0,0,0,.16),0 0 2px 0 rgba(0,0,0,.12);
    overflow: auto;
    .pageTitle, p, dd, ul, li, h2, h3, td, th {
      color: white;
    }
    a {color: #66b1fa}
    td {
      background: #2d3034;
    }
    th {
      background-color: #181a1b !important;
      background: #181a1b;
    }
    .categoryBox {
      color: #C73149 !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;
}