MediaWiki:Common.css
Appearance
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.
/* =========================================================
GLOBAL THEME – MediaWiki 1.45 / Vector 2022
Paste into MediaWiki:Common.css
========================================================= */
/* ---------- Background ---------- */
html,
body,
.vector-feature-page-tools-disabled .mw-page-container,
.vector-feature-page-tools-enabled .mw-page-container {
background: linear-gradient(0deg, #001D3D 0%, #000814 40%) !important;
background-attachment: fixed !important;
}
/* Make core content containers transparent */
.mw-page-container,
.mw-body,
#content,
.vector-body {
background: transparent !important;
}
/* ---------- Base text ---------- */
body,
.mw-body,
.mw-body-content,
#mw-content-text,
.vector-body {
color: #FFFFFF !important;
}
/* ---------- Headings ---------- */
h1, h2, h3, h4, h5, h6,
.mw-headline,
#firstHeading,
.mw-page-title-main,
.page-Main_Page h1 {
color: #FFC300 !important;
}
/* ---------- Logo ---------- */
.mw-logo-icon,
.mw-logo-icon img,
.mw-logo img,
.mw-logo a.mw-logo-container img {
height: 100px !important;
width: auto !important;
max-height: 100px !important;
}
/* If the logo is applied as a background image */
.mw-logo-icon {
background-size: auto 100px !important;
}
@media (max-width: 720px) {
.mw-logo-icon,
.mw-logo-icon img,
.mw-logo img,
.mw-logo a.mw-logo-container img {
height: 32px !important;
max-height: 32px !important;
}
.mw-logo-icon {
background-size: auto 32px !important;
}
}
/* ---------- Header ---------- */
.vector-header-container,
.vector-header,
#mw-header-container,
.mw-header {
background: #000814 !important;
border-bottom: 2px solid #FFC300 !important;
}
/* Site name */
.mw-logo-wordmark,
.mw-logo-wordmark a {
color: #FFC300 !important;
font-size: 1.8em !important;
font-weight: bold !important;
text-decoration: none !important;
}
.mw-logo-wordmark a:hover {
color: #FFD60A !important;
}
/* Sidebar headings */
.vector-pinnable-header-label,
.vector-main-menu-heading,
.mw-portlet h3 {
color: #001D3D !important;
}
/* =========================================================
PAGE CONTENT LINK COLORS (BLUE / PURPLE / RED)
Applies ONLY to article content (not nav/header/footer)
========================================================= */
.mw-parser-output a,
.mw-parser-output a:link {
color: #4DA3FF !important;
text-decoration: none;
}
/* Visited links: light purple */
.mw-parser-output a:visited {
color: #9B7CFF !important;
}
.mw-parser-output a:hover {
color: #6BB6FF !important;
text-decoration: underline;
}
.mw-parser-output a:active {
color: #1F4FA3 !important;
}
/* Missing pages (redlinks) */
.mw-parser-output a.new,
.mw-parser-output a.new:visited {
color: #CC2200 !important;
}
/* =========================================================
FORCE ARTICLE TEXT TO WHITE (fixes black captions/th/dt/dd)
========================================================= */
.mw-parser-output,
.mw-parser-output p,
.mw-parser-output li,
.mw-parser-output dt,
.mw-parser-output dd,
.mw-parser-output td,
.mw-parser-output th,
.mw-parser-output caption,
.mw-parser-output .mw-headline,
.mw-parser-output .mw-parser-output {
color: #FFFFFF !important;
}
/* Code blocks / preformatted */
.mw-parser-output pre,
.mw-parser-output code,
.mw-parser-output tt {
color: #FFFFFF !important;
background: rgba(0, 8, 20, 0.6) !important;
border: 1px solid rgba(255, 195, 0, 0.35) !important;
border-radius: 8px;
}
/* Blockquotes */
.mw-parser-output blockquote {
color: #FFFFFF !important;
background: rgba(0, 8, 20, 0.35) !important;
border-left: 4px solid #FFC300 !important;
padding: 0.6em 1em;
border-radius: 8px;
}
/* =========================================================
TABLE STYLING (dark theme + gold headers + striping)
========================================================= */
/* General tables in content */
.mw-parser-output table {
color: #FFFFFF !important;
}
/* Wikitable style (most common) */
.mw-parser-output table.wikitable,
.mw-parser-output .wikitable {
background: rgba(0, 8, 20, 0.35) !important;
border: 1px solid rgba(255, 195, 0, 0.65) !important;
border-collapse: collapse !important;
}
/* Table captions */
.mw-parser-output table.wikitable caption,
.mw-parser-output .wikitable caption {
color: #FFC300 !important;
font-weight: bold;
padding: 0.4em 0.6em;
}
/* Table header cells */
.mw-parser-output table.wikitable th,
.mw-parser-output .wikitable th {
background: rgba(0, 29, 61, 0.75) !important;
color: #FFC300 !important;
border: 1px solid rgba(255, 195, 0, 0.65) !important;
padding: 0.5em 0.6em;
}
/* Table data cells */
.mw-parser-output table.wikitable td,
.mw-parser-output .wikitable td {
background: rgba(0, 8, 20, 0.20) !important;
color: #FFFFFF !important;
border: 1px solid rgba(255, 195, 0, 0.35) !important;
padding: 0.45em 0.6em;
}
/* Row striping */
.mw-parser-output table.wikitable tr:nth-child(even) td,
.mw-parser-output .wikitable tr:nth-child(even) td {
background: rgba(0, 8, 20, 0.35) !important;
}
/* =========================================================
TOC (Table of Contents) – classic + Vector 2022
========================================================= */
/* Classic TOC box */
.mw-parser-output .toc {
background: rgba(0, 8, 20, 0.45) !important;
border: 1px solid rgba(255, 195, 0, 0.65) !important;
border-radius: 10px;
padding: 0.75em 0.9em;
}
.mw-parser-output .toc .toctitle,
.mw-parser-output .toc #toctitle,
.mw-parser-output .toc .toctitle h2 {
color: #FFC300 !important;
}
.mw-parser-output .toc a,
.mw-parser-output .toc a:link {
color: #4DA3FF !important;
}
.mw-parser-output .toc a:visited {
color: #9B7CFF !important;
}
/* Vector 2022 TOC (right-side / collapsible) */
.vector-toc,
.vector-toc .vector-toc-contents {
background: rgba(0, 8, 20, 0.45) !important;
border: 1px solid rgba(255, 195, 0, 0.65) !important;
border-radius: 10px;
}
.vector-toc .vector-toc-text {
color: #FFFFFF !important;
}
.vector-toc .vector-toc-level-1 > a,
.vector-toc .vector-toc-level-2 > a,
.vector-toc .vector-toc-level-3 > a {
color: #4DA3FF !important;
}
.vector-toc a:visited {
color: #9B7CFF !important;
}
.vector-toc a:hover {
color: #6BB6FF !important;
}
/* =========================================================
INFOBOX + TEMPLATE BOXES (prevents black text)
========================================================= */
/* Standard infoboxes */
.mw-parser-output .infobox,
.mw-parser-output table.infobox {
background: rgba(0, 8, 20, 0.45) !important;
border: 1px solid rgba(255, 195, 0, 0.65) !important;
border-radius: 10px;
color: #FFFFFF !important;
}
.mw-parser-output .infobox caption {
color: #FFC300 !important;
font-weight: bold;
}
.mw-parser-output .infobox th {
background: rgba(0, 29, 61, 0.75) !important;
color: #FFC300 !important;
border: 1px solid rgba(255, 195, 0, 0.35) !important;
}
.mw-parser-output .infobox td {
color: #FFFFFF !important;
border: 1px solid rgba(255, 195, 0, 0.20) !important;
}
/* PortableInfobox (some templates use this) */
.mw-parser-output .portable-infobox,
.mw-parser-output .pi-border-color {
background: rgba(0, 8, 20, 0.45) !important;
color: #FFFFFF !important;
border-color: rgba(255, 195, 0, 0.65) !important;
}
/* Message boxes (ambox/tmbox/ombox/fmbox) */
.mw-parser-output .ambox,
.mw-parser-output .tmbox,
.mw-parser-output .ombox,
.mw-parser-output .fmbox {
background: rgba(0, 8, 20, 0.35) !important;
color: #FFFFFF !important;
border: 1px solid rgba(255, 195, 0, 0.55) !important;
border-left: 6px solid #FFC300 !important;
border-radius: 10px;
}
/* =========================================================
NAV / HEADER / FOOTER LINKS (GOLD)
========================================================= */
.vector-menu-content a,
#mw-panel a,
.vector-header a,
#footer a,
.mw-footer a {
color: #FFC300 !important;
}
.vector-menu-content a:hover,
#mw-panel a:hover,
.vector-header a:hover,
#footer a:hover,
.mw-footer a:hover {
color: #FFD60A !important;
}
/* Footer text color */
#footer,
#footer li,
.mw-footer,
.mw-footer li {
color: #FFC300 !important;
}
/* =========================================================
VECTOR ICONS (GOLD)
========================================================= */
.vector-icon,
.mw-ui-icon {
filter: brightness(0) saturate(100%) invert(85%) sepia(67%) saturate(1000%)
hue-rotate(0deg) brightness(103%) contrast(101%) !important;
}