MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
/* | |||
/* | Makes the wiki have colours similar to the SWC Blue Scheme | ||
Makes the wiki have colours similar to the SWC Blue Scheme | |||
Make sure $wgUseSiteCss = true; is set in LocalSettings so this can take effect. | Make sure $wgUseSiteCss = true; is set in LocalSettings so this can take effect. | ||
*/ | */ | ||
Line 33: | Line 32: | ||
} | } | ||
.vector-menu-tabs-legacy div.vector-menu-content .vector-menu-content-list li { | |||
div. | |||
border-top: 1px solid #aaa; | border-top: 1px solid #aaa; | ||
border-left: 1px solid #aaa; | border-left: 1px solid #aaa; | ||
Line 60: | Line 40: | ||
box-sizing: border-box; | box-sizing: border-box; | ||
} | } | ||
div. | #mw-head div.vector-menu-content .vector-menu-content-list li { | ||
background-color: #001F33; | |||
color: #cccccc; | |||
background-image: none; | background-image: none; | ||
} | } | ||
div. | #mw-head div.vector-menu content .vector-menu-content-list li a { | ||
color: #cccccc; | color: !important #cccccc; | ||
} | } | ||
div. | #mw-head div.vector-menu-content .vector-menu-content-list li.selected { | ||
background-color: #0C3248; | background-color: #0C3248; | ||
color: #cccccc; | |||
background-image: none; | |||
} | } | ||
.vector-legacy-sidebar .vector-menu-content { | |||
background-color: #00132C; | background-color: #00132C; | ||
color: black; | color: black; | ||
Line 87: | Line 61: | ||
background-image: none; | background-image: none; | ||
} | } | ||
div#mw-panel div.portal h3 { | div#mw-panel div.portal h3 { | ||
background: transparent; | background: transparent; | ||
Line 109: | Line 84: | ||
} | } | ||
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 { | 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; | text-decoration: none; | ||
color: #55798B; | color: #55798B; | ||
background: none; | 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 { | #bodyContent a.external { | ||
color: #55798B; | color: #55798B; | ||
Line 154: | Line 137: | ||
} | } | ||
table, table.wikitable, div.thumbinner, img.thumbimage { | table, table.wikitable, div.thumbinner, img.thumbimage { | ||
background-color: #001F33; | background-color: #001F33; | ||
color: #cccccc; | color: #cccccc; | ||
} | } | ||
#pagehistory li.selected { | #pagehistory li.selected { | ||
color: inherit; | |||
} | } | ||
.mw-editinginterface, .mw-editform { | .mw-editinginterface, .mw-editform { | ||
color: inherit; | |||
} | } | ||
#filetoc { | #filetoc { | ||
background-color: inherit; | |||
} | } | ||
table.wikitable > tr > th, table.wikitable > * > tr > th { | table.wikitable > tr > th, table.wikitable > * > tr > th { | ||
background-color: inherit; | |||
} | } | ||
.mw-parser-output a.extiw, .mw-parser-output a.extiw:active { | .mw-parser-output a.extiw, .mw-parser-output a.extiw:active { | ||
color: #55798B !important; | |||
} | } |
Latest revision as of 23:51, 8 February 2025
/* 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; }