MediaWiki:Common.css

From Holocron - Star Wars Combine
Revision as of 23:54, 8 February 2025 by Clarr (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.
/*
Makes the wiki have colours similar to the SWC Blue Scheme
Make sure $wgUseSiteCss = true; is set in LocalSettings so this can take effect.
*/


body, #mw-page-base {
    background-color: #001F33;
    background-image: none;
}
#content {
    background-color: #0C3248;
    border-color: #aaa;
}
.mw-body {
    margin-top: 0px;
    color: #cccccc;
}
.mw-editinginterface, .mw-editform {
    color: #222222;
}
.mw-content-ltr, .mw-editinginterface {
    color: #cccccc !important;
}

#left-navigation {
    margin-left: 11.5em;
}

h1, h2, h3, h4, h5 {
    color: #cccccc;
}

.vector-menu-tabs-legacy div.vector-menu-content .vector-menu-content-list li {
    border-top: 1px solid #aaa;
    border-left: 1px solid #aaa;
    border-right: 1px solid #aaa;
    border-bottom: none;
    background-color: #001F33;
    box-sizing: border-box;
}
#mw-head div.vector-menu-content .vector-menu-content-list li {
    background-color: #001F33;
    color: #cccccc;
    background-image: none;
}
#mw-head div.vector-menu content .vector-menu-content-list li a {
    color: !important #cccccc;
}
#mw-head div.vector-menu-content .vector-menu-content-list li.selected {
    background-color: #0C3248;
    color: #cccccc;
    background-image: none;
}

.vector-legacy-sidebar .vector-menu-content {
    background-color: #00132C;
    color: black;
    border: 1px solid #cccccc;
    padding: 0 .8em .3em .5em;
    background-image: none;
}

div#mw-panel div.portal h3 {
    background: transparent;
    padding: 0 1em 0 .5em;
    display: inline;
    height: 1em;
    text-transform: lowercase;
    font-size: 75%;
    font-weight: normal;
    white-space: nowrap;
    color: #cccccc;
    margin: none;
}

div#simpleSearch {
    background-image: none;
    background-color: unset;
}
div#simpleSearch input {
    background-color: #00132C;
    color: #cccccc;
}

a, a:visited, div#mw-panel div.portal div.body ul li a, div#mw-panel div.portal div.body ul li a:visited, .tocnumber,
.vector-legacy-sidebar .vector-menu-portal .vector-menu-content li a,
.vector-legacy-sidebar .vector-menu-portal .vector-menu-content li a:visited {
    text-decoration: none;
    color: #55798B;
    background: none;
}
 .vector-legacy-sidebar .vector-menu-portal .vector-menu-heading {
    color: #cccccc;
}
.vector-menu-tabs-legacy a, .vector-menu-tabs-legacy a:visited,
.vector-menu-tabs-legacy .selected a, .vector-menu-tabs-legacy .selected a:visited {
    color: #cccccc !important;
}
#bodyContent a.external {
    color: #55798B;
}

#toc, .toc, .mw-warning {
    border: 1px solid #cccccc;
    background-color: #0C3248;
    padding: 5px;
    font-size: 95%;
}

table {
    background-color: #001F33;
}

pre {
    padding: 1em;
    border: 1px dashed #cccccc;
    color: #cccccc;
    background-color: #0C3248;
    line-height: 1.1em;
}

.catlinks {
    border: 1px solid #cccccc;
    background-color: #0C3248;
    padding: 5px;
    margin-top: 1em;
    clear: both;
}

div#footer ul li {
    color: #cccccc;
}

#pagehistory li.selected {
    background-color: unset;
}

table, table.wikitable, div.thumbinner, img.thumbimage {
    background-color: #001F33;
    color: #cccccc;
}

#pagehistory li.selected {
    color: inherit;
}

.mw-editinginterface, .mw-editform {
    color: inherit;
}

#filetoc {
    background-color: inherit;
}

table.wikitable > tr > th, table.wikitable > * > tr > th {
    background-color: inherit;
}

.mw-parser-output a.extiw, .mw-parser-output a.extiw:active {
    color: #55798B !important;
}