MediaWiki:Common.css

From SLDF Archive
Revision as of 08:36, 11 July 2026 by Admin (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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.
/* CSS placed here will be applied to all skins */

body { background: #002366; }

#content { background: #F0F8FF; }

body.skin-vector #p-navigation { background-color: #002366; }

/* Change toolbar text color */ 
#p-tb .vector-menu-content li a { 
color: #ffffff !important; }

/* Change navigation text color */ 
#p-navigation .vector-menu-content li a { 
color: #ffffff !important; }

/* Removes prefix numbers from TopTenPages extension outputs */
.popular-box ol, .popular-box ul, .popular-box li {
    list-style: none !important;
    list-style-type: none !important;
}

/* Enables horizontal scroll on tiny screens for the equipment table */
@media screen and (max-width: 768px) {
    .responsive-equipment-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}

/* 1. Register the font location on your server */
@font-face {
    font-family: 'USSDALLAS';
    src: url('/skins/fonts/USSDALLAS.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

/* 2. Create the class you can use on your wiki pages */
.dallas-text {
    font-family: 'USSDALLAS', monospace !important;
}