MediaWiki:Common.css: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
/* | /* ========================================================================== | ||
/* | ZenithXI Wiki — Dark Fantasy Theme (Vector 2022 overrides) | ||
Ported by hand from web-react/apps/web/src/styles/theme.css + chrome.css | |||
========================================================================== */ | |||
/* ---- Design tokens (mirrors the website's --zx-* values) ---- */ | |||
:root { | |||
--zx-bg: #05070d; | |||
--zx-bg-deep: #04060b; | |||
--zx-panel: linear-gradient(180deg, rgba(30,40,62,0.75), rgba(13,17,28,0.9)); | |||
--zx-panel-solid: rgba(6,9,16,0.9); | |||
--zx-panel-border: rgba(180,160,110,0.28); | |||
--zx-panel-border-strong: rgba(217,189,124,0.4); | |||
--zx-panel-shadow: inset 0 1px 0 rgba(255,255,255,0.05), 0 10px 28px rgba(0,0,0,0.45); | |||
--zx-header-grad: linear-gradient(180deg, rgba(19,26,42,0.97), rgba(8,12,21,0.97)); | |||
--zx-dropdown-grad: linear-gradient(180deg, rgba(24,32,54,0.99), rgba(9,12,22,0.99)); | |||
--zx-text: #c8d0e0; | |||
--zx-text-strong: #eef1f7; | |||
--zx-text-body: #c2cadb; | |||
--zx-text-muted: #9aa6bd; | |||
--zx-text-dim: #8d97ad; | |||
--zx-text-faint: #7f8aa3; | |||
--zx-text-disabled: #5c6478; | |||
--zx-gold: #d9bd7c; | |||
--zx-gold-bright: #e8dcb2; | |||
--zx-gold-brightest: #f2e3b8; | |||
--zx-gold-hover: #ffedc2; | |||
--zx-gold-deep: #c9a75c; | |||
--zx-gold-btn: linear-gradient(180deg, #ecd9a3, #c9a75c); | |||
--zx-gold-btn-border: #f2e3b8; | |||
--zx-on-gold: #100d06; | |||
--zx-danger: #e88a8a; | |||
--zx-info: #9fb8e8; | |||
--zx-success-dot: #63c76f; | |||
--zx-font-display: 'Ferrum', Georgia, 'Times New Roman', serif; | |||
--zx-font-prose: 'Palatino Linotype', 'Book Antiqua', Georgia, serif; | |||
--zx-font-ui: Verdana, 'Segoe UI', sans-serif; | |||
--zx-font-mono: 'Lucida Console', Monaco, monospace; | |||
} | |||
/* ---- Self-hosted display font ---- | |||
Upload Ferrum-wy99.otf (from web-react/apps/web/public/fonts/Ferrum-wy99.otf | |||
in the ZenithXI-Unified repo) to your wiki server and point the url() below | |||
at it — e.g. alongside your existing /images/ uploads. Until uploaded, this | |||
simply 404s silently and headings fall back to Georgia/serif. */ | |||
@font-face { | |||
font-family: 'Ferrum'; | |||
src: url('https://wiki.zenithxi.com/images/Ferrum-wy99.otf') format('opentype'); | |||
font-display: swap; | |||
} | |||
/* ========================================================================== | |||
Wide layout (unchanged — functional, not visual) | |||
========================================================================== */ | |||
.mw-page-container { | .mw-page-container { | ||
max-width: none !important; | max-width: none !important; | ||
| Line 8: | Line 63: | ||
} | } | ||
.mw-content-container { | .mw-content-container { | ||
max-width: none !important; | max-width: none !important; | ||
| Line 14: | Line 68: | ||
} | } | ||
.mw-body-content { | .mw-body-content { | ||
max-width: 100% !important; | max-width: 100% !important; | ||
| Line 23: | Line 76: | ||
} | } | ||
.vector-header-container { | .vector-header-container { | ||
max-width: none !important; | max-width: none !important; | ||
| Line 29: | Line 81: | ||
} | } | ||
.mw-footer-container { | .mw-footer-container { | ||
max-width: none !important; | max-width: none !important; | ||
| Line 35: | Line 86: | ||
} | } | ||
.mw-logo-icon { | .mw-logo-icon { | ||
height: 150px !important; | height: 150px !important; | ||
width: 150px !important; | width: 150px !important; | ||
object-fit: contain !important; | object-fit: contain !important; | ||
filter: drop-shadow(0 0 8px rgba(217, 189, 124, 0.25)); | |||
} | } | ||
.mw-logo { | .mw-logo { | ||
display: flex !important; | display: flex !important; | ||
| Line 48: | Line 98: | ||
} | } | ||
#p-search { | #p-search { | ||
margin-left: auto !important; | margin-left: auto !important; | ||
padding-left: 100px !important; | padding-left: 100px !important; | ||
} | } | ||
.vector-header-end { | .vector-header-end { | ||
display: flex !important; | display: flex !important; | ||
| Line 60: | Line 108: | ||
justify-content: flex-end !important; | justify-content: flex-end !important; | ||
width: auto !important; | width: auto !important; | ||
min-width: 25% !important; | min-width: 25% !important; | ||
} | } | ||
.vector-sidebar { | .vector-sidebar { | ||
width: 14em !important; | width: 14em !important; | ||
} | } | ||
:root { | :root { | ||
--width-layout: 100% !important; | --width-layout: 100% !important; | ||
| Line 81: | Line 127: | ||
} | } | ||
.mw-body-content table, | .mw-body-content table, | ||
.mw-body-content pre, | .mw-body-content pre, | ||
| Line 90: | Line 135: | ||
} | } | ||
.mw-body { | .mw-body { | ||
padding: 0.75em !important; | padding: 0.75em !important; | ||
margin: 0.5em !important; | margin: 0.5em !important; | ||
padding-right: 1em !important; | padding-right: 1em !important; | ||
} | } | ||
.mw-body h1, | |||
.mw-body h1, | .mw-body h2, | ||
.mw-body h2, | .mw-body h3, | ||
.mw-body h3, | .mw-body h4, | ||
.mw-body h4, | .mw-body h5, | ||
.mw-body h5, | |||
.mw-body h6, | .mw-body h6, | ||
.mw-body p, | .mw-body p, | ||
| Line 115: | Line 157: | ||
} | } | ||
.mw-headline, | .mw-headline, | ||
.mw-heading { | .mw-heading { | ||
| Line 121: | Line 162: | ||
} | } | ||
.mw-body ul, | .mw-body ul, | ||
.mw-body ol { | .mw-body ol { | ||
| Line 127: | Line 167: | ||
} | } | ||
.mw-heading + p, | .mw-heading + p, | ||
h1 + p, h2 + p, h3 + p, h4 + p, h5 + p, h6 + p { | h1 + p, h2 + p, h3 + p, h4 + p, h5 + p, h6 + p { | ||
| Line 134: | Line 173: | ||
} | } | ||
/* | /* ========================================================================== | ||
Page canvas & background art | |||
========================================================================== */ | |||
html, body { | |||
background-color: var(--zx-bg) !important; | |||
} | |||
.vector-column-start, | |||
.vector-column-end, | |||
.mw-page-container { | |||
position: relative !important; | |||
background-color: transparent !important; | |||
} | |||
/* ACTIVE: subtle dark image overlay. | |||
Requires uploading dark-bg2.jpg (from web-react/apps/web/public/images/dark-bg2.jpg | |||
in the repo) to your wiki server at the path referenced below. */ | |||
.mw-page-container:before { | |||
content: "" !important; | |||
position: fixed !important; | |||
top: 0 !important; | |||
left: 0 !important; | |||
width: 100% !important; | |||
height: 100% !important; | |||
background-image: url('https://wiki.zenithxi.com/images/dark-bg2.jpg') !important; | |||
background-size: cover !important; | |||
background-position: center !important; | |||
background-attachment: fixed !important; | |||
opacity: 0.18 !important; | |||
z-index: -1 !important; | |||
} | |||
/* FLAT CANVAS ALTERNATIVE — comment out the block above and uncomment this | |||
one to use a clean solid-color canvas instead (no image upload needed; | |||
this is what the live website itself does on every page but its Home hero). | |||
.mw-page-container:before { | |||
content: none !important; | |||
} | |||
*/ | |||
/* ========================================================================== | |||
Typography | |||
========================================================================== */ | |||
body, #content, #bodyContent, p, li, td, th, div, input, textarea, select, button { | |||
font-family: var(--zx-font-ui) !important; | |||
color: var(--zx-text-body); | |||
} | |||
h1, h2, h3, h4, h5, h6, | |||
.mw-heading, | |||
.mw-headline, | |||
.mw-logo-wordmark { | |||
font-family: var(--zx-font-display) !important; | |||
color: var(--zx-text-strong) !important; | |||
font-weight: 500; | |||
letter-spacing: 0.02em; | |||
} | |||
.mw-logo-wordmark { | |||
font-size: 28px !important; | |||
text-transform: uppercase !important; | |||
color: var(--zx-gold) !important; | |||
} | |||
#firstHeading, | |||
.mw-first-heading { | |||
border-bottom: 1px solid var(--zx-panel-border-strong); | |||
padding-bottom: 0.35em; | |||
} | |||
.mw-heading2 { | |||
position: relative; | |||
padding-bottom: 0.3em; | |||
} | |||
.mw-heading2::after { | |||
content: ""; | |||
display: block; | |||
height: 1px; | |||
margin-top: 0.3em; | |||
background: linear-gradient(90deg, rgba(217, 189, 124, 0.75), transparent); | |||
} | |||
blockquote { | |||
font-family: var(--zx-font-prose); | |||
font-style: italic; | |||
border-left: 2px solid var(--zx-gold-deep); | |||
padding-left: 1em; | |||
color: var(--zx-text-dim); | |||
} | |||
a { | |||
color: var(--zx-gold); | |||
text-decoration: none; | |||
} | |||
a:hover { | |||
color: var(--zx-gold-hover); | |||
text-decoration: underline; | |||
} | |||
a:visited { | |||
color: var(--zx-gold-deep); | |||
} | |||
a.new, | |||
a.new:visited { | |||
color: var(--zx-danger); | |||
} | |||
::selection { | |||
background: rgba(217, 189, 124, 0.35); | |||
color: var(--zx-text-strong); | |||
} | |||
/* ========================================================================== | |||
Main content panel | |||
========================================================================== */ | |||
.vector-body { | .vector-body { | ||
border-radius: | border-radius: 0 !important; | ||
overflow: hidden !important; | overflow: hidden !important; | ||
background- | background: var(--zx-panel) !important; | ||
border: 1px solid var(--zx-panel-border); | |||
box-shadow: var(--zx-panel-shadow); | |||
} | |||
.vector-body-before-content, | |||
.vector-body-content, | |||
.vector-body-after-content { | |||
background-color: transparent !important; | |||
} | } | ||
/* | /* ========================================================================== | ||
Header & navigation | |||
========================================================================== */ | |||
.vector-header { | .vector-header { | ||
background- | background: var(--zx-header-grad) !important; | ||
border-bottom: 1px solid rgba(180, 160, 110, 0.32); | |||
box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45); | |||
} | } | ||
.vector-header-container, | .vector-header-container, | ||
.vector-search-box, | .vector-search-box, | ||
| Line 156: | Line 323: | ||
} | } | ||
.vector-menu-dropdown .vector-menu-content-list { | .vector-menu-dropdown .vector-menu-content-list { | ||
background- | background: var(--zx-dropdown-grad) !important; | ||
border: 1px solid var(--zx-panel-border-strong) !important; | |||
box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.07); | |||
} | } | ||
.vector-menu-tabs a, | |||
#p-personal a, | |||
.vector-user-links a, | |||
.vector-menu-dropdown .vector-menu-content-list a { | |||
text-transform: uppercase; | |||
font-size: 12px; | |||
letter-spacing: 0.14em; | |||
color: var(--zx-text-muted) !important; | |||
} | |||
.vector-menu-tabs li.selected a, | |||
.vector-menu-tabs a:hover, | |||
#p-personal a:hover, | |||
.vector-menu-dropdown .vector-menu-content-list a:hover { | |||
color: var(--zx-gold-bright) !important; | |||
} | } | ||
/* | /* ========================================================================== | ||
Sidebar | |||
========================================================================== */ | |||
.vector-main-menu-container, | .vector-main-menu-container, | ||
.vector-sidebar-container, | .vector-sidebar-container, | ||
| Line 184: | Line 356: | ||
.mw-sidebar, | .mw-sidebar, | ||
#mw-panel { | #mw-panel { | ||
border-radius: | border-radius: 0 !important; | ||
overflow: hidden !important; | overflow: hidden !important; | ||
background: var(--zx-panel-solid); | |||
border: 1px solid var(--zx-panel-border); | |||
} | } | ||
.vector-main-menu .vector-menu-content, | .vector-main-menu .vector-menu-content, | ||
.vector-sidebar-container .vector-menu-content, | .vector-sidebar-container .vector-menu-content, | ||
#mw-panel .vector-menu-content { | #mw-panel .vector-menu-content { | ||
border-radius: | border-radius: 0 !important; | ||
} | } | ||
.vector-sidebar-container *, | .vector-sidebar-container *, | ||
.vector-main-menu-container * { | .vector-main-menu-container * { | ||
| Line 201: | Line 373: | ||
} | } | ||
#mw-panel .vector-menu-heading { | |||
font-family: var(--zx-font-display); | |||
color: var(--zx-gold); | |||
text-transform: uppercase; | |||
letter-spacing: 0.2em; | |||
font-size: 11px; | |||
} | |||
#mw-panel a { | |||
color: var(--zx-text-muted); | |||
} | |||
#mw-panel a:hover { | |||
color: var(--zx-gold-bright); | |||
} | |||
/* ========================================================================== | |||
Inputs & buttons | |||
========================================================================== */ | |||
.cdx-text-input__input, | |||
.cdx-search-input__input, | |||
input[type="text"], | |||
input[type="search"], | |||
input[type="password"], | |||
textarea, | |||
select { | |||
background: var(--zx-panel-solid) !important; | |||
border: 1px solid var(--zx-panel-border) !important; | |||
color: var(--zx-text-strong) !important; | |||
border-radius: 0 !important; | |||
} | |||
.cdx-text-input__input:focus, | |||
.cdx-search-input__input:focus, | |||
input[type="text"]:focus, | |||
input[type="search"]:focus, | |||
input[type="password"]:focus, | |||
textarea:focus { | |||
outline: none !important; | |||
box-shadow: 0 0 0 1px rgba(217, 189, 124, 0.35) !important; | |||
border-color: var(--zx-gold) !important; | |||
} | } | ||
.mw- | .cdx-button, | ||
font-size: | .mw-ui-button, | ||
input[type="submit"], | |||
button { | |||
font-family: var(--zx-font-ui); | |||
text-transform: uppercase; | |||
letter-spacing: 0.14em; | |||
font-size: 11px; | |||
border-radius: 0 !important; | |||
background: transparent; | |||
border: 1px solid var(--zx-panel-border); | |||
color: var(--zx-text-muted); | |||
transition: all 0.15s ease; | |||
} | |||
.cdx-button:hover, | |||
.mw-ui-button:hover, | |||
button:hover { | |||
border-color: var(--zx-gold); | |||
color: var(--zx-gold-bright); | |||
} | |||
.cdx-button--action-progressive, | |||
.mw-ui-button.mw-ui-progressive, | |||
input[type="submit"].mw-ui-progressive { | |||
background: var(--zx-gold-btn) !important; | |||
border-color: var(--zx-gold-btn-border) !important; | |||
color: var(--zx-on-gold) !important; | |||
} | |||
.cdx-button--action-progressive:hover, | |||
.mw-ui-button.mw-ui-progressive:hover { | |||
filter: brightness(1.08); | |||
} | } | ||
/* | /* ========================================================================== | ||
. | Tables & code | ||
. | ========================================================================== */ | ||
background | .mw-body-content table.wikitable, | ||
.mw-body-content table.infobox { | |||
background: var(--zx-panel); | |||
border: 1px solid var(--zx-panel-border); | |||
color: var(--zx-text-body); | |||
} | |||
.wikitable > tr > th, | |||
.wikitable > * > tr > th { | |||
background: rgba(217, 189, 124, 0.1); | |||
color: var(--zx-gold); | |||
text-transform: uppercase; | |||
letter-spacing: 0.08em; | |||
font-size: 11px; | |||
border-color: var(--zx-panel-border); | |||
} | |||
.wikitable > tr > td, | |||
.wikitable > * > tr > td { | |||
border-color: var(--zx-panel-border); | |||
} | } | ||
.mw-body-content pre, | |||
. | .mw-body-content code, | ||
. | .mw-highlight { | ||
.mw- | font-family: var(--zx-font-mono) !important; | ||
background: var(--zx-panel-solid) !important; | |||
background-color: | border: 1px solid var(--zx-panel-border) !important; | ||
color: var(--zx-text) !important; | |||
border-radius: 0 !important; | |||
} | } | ||
/* | /* ========================================================================== | ||
.mw- | Footer | ||
========================================================================== */ | |||
top: 0 | .mw-footer-container { | ||
background: var(--zx-bg-deep) !important; | |||
border-top: 1px solid rgba(180, 160, 110, 0.3); | |||
color: var(--zx-text-disabled); | |||
} | |||
#footer-info, | |||
#footer-places, | |||
#footer-icons { | |||
color: var(--zx-text-faint); | |||
} | |||
#footer a { | |||
color: var(--zx-text-muted); | |||
} | |||
#footer a:hover { | |||
color: var(--zx-gold-bright); | |||
} | } | ||
/* | /* ========================================================================== | ||
Optional: themed scrollbar (WebKit/Blink browsers) | |||
========================================================================== */ | |||
::-webkit-scrollbar { width: 10px; height: 10px; } | |||
::-webkit-scrollbar-track { background: var(--zx-bg-deep); } | |||
::-webkit-scrollbar-thumb { background: var(--zx-panel-border-strong); border: 2px solid var(--zx-bg-deep); } | |||
::-webkit-scrollbar-thumb:hover { background: var(--zx-gold-deep); } | |||
/* ========================================================================== | |||
Responsive handling (unchanged — functional) | |||
========================================================================== */ | |||
@media screen and (max-width: 1600px) { | @media screen and (max-width: 1600px) { | ||
.mw-body-content table, | .mw-body-content table, | ||
.mw-body-content pre, | .mw-body-content pre, | ||
| Line 255: | Line 523: | ||
overflow-x: auto !important; | overflow-x: auto !important; | ||
} | } | ||
.mw-body-content p, | .mw-body-content p, | ||
.mw-body-content li, | .mw-body-content li, | ||
| Line 262: | Line 529: | ||
overflow-wrap: anywhere !important; | overflow-wrap: anywhere !important; | ||
} | } | ||
.mw-body-content img { | .mw-body-content img { | ||
max-width: 100% !important; | max-width: 100% !important; | ||
| Line 270: | Line 536: | ||
} | } | ||
.vector-layout-config { | .vector-layout-config { | ||
--max-width-page-container: none !important; | --max-width-page-container: none !important; | ||
| Line 276: | Line 541: | ||
} | } | ||
.vector-sticky-pinned-container::after { | .vector-sticky-pinned-container::after { | ||
display: none !important; | display: none !important; | ||
Revision as of 14:33, 3 July 2026
/* ==========================================================================
ZenithXI Wiki — Dark Fantasy Theme (Vector 2022 overrides)
Ported by hand from web-react/apps/web/src/styles/theme.css + chrome.css
========================================================================== */
/* ---- Design tokens (mirrors the website's --zx-* values) ---- */
:root {
--zx-bg: #05070d;
--zx-bg-deep: #04060b;
--zx-panel: linear-gradient(180deg, rgba(30,40,62,0.75), rgba(13,17,28,0.9));
--zx-panel-solid: rgba(6,9,16,0.9);
--zx-panel-border: rgba(180,160,110,0.28);
--zx-panel-border-strong: rgba(217,189,124,0.4);
--zx-panel-shadow: inset 0 1px 0 rgba(255,255,255,0.05), 0 10px 28px rgba(0,0,0,0.45);
--zx-header-grad: linear-gradient(180deg, rgba(19,26,42,0.97), rgba(8,12,21,0.97));
--zx-dropdown-grad: linear-gradient(180deg, rgba(24,32,54,0.99), rgba(9,12,22,0.99));
--zx-text: #c8d0e0;
--zx-text-strong: #eef1f7;
--zx-text-body: #c2cadb;
--zx-text-muted: #9aa6bd;
--zx-text-dim: #8d97ad;
--zx-text-faint: #7f8aa3;
--zx-text-disabled: #5c6478;
--zx-gold: #d9bd7c;
--zx-gold-bright: #e8dcb2;
--zx-gold-brightest: #f2e3b8;
--zx-gold-hover: #ffedc2;
--zx-gold-deep: #c9a75c;
--zx-gold-btn: linear-gradient(180deg, #ecd9a3, #c9a75c);
--zx-gold-btn-border: #f2e3b8;
--zx-on-gold: #100d06;
--zx-danger: #e88a8a;
--zx-info: #9fb8e8;
--zx-success-dot: #63c76f;
--zx-font-display: 'Ferrum', Georgia, 'Times New Roman', serif;
--zx-font-prose: 'Palatino Linotype', 'Book Antiqua', Georgia, serif;
--zx-font-ui: Verdana, 'Segoe UI', sans-serif;
--zx-font-mono: 'Lucida Console', Monaco, monospace;
}
/* ---- Self-hosted display font ----
Upload Ferrum-wy99.otf (from web-react/apps/web/public/fonts/Ferrum-wy99.otf
in the ZenithXI-Unified repo) to your wiki server and point the url() below
at it — e.g. alongside your existing /images/ uploads. Until uploaded, this
simply 404s silently and headings fall back to Georgia/serif. */
@font-face {
font-family: 'Ferrum';
src: url('https://wiki.zenithxi.com/images/Ferrum-wy99.otf') format('opentype');
font-display: swap;
}
/* ==========================================================================
Wide layout (unchanged — functional, not visual)
========================================================================== */
.mw-page-container {
max-width: none !important;
width: 100% !important;
}
.mw-content-container {
max-width: none !important;
width: 100% !important;
}
.mw-body-content {
max-width: 100% !important;
margin: 0 auto !important;
overflow-wrap: break-word !important;
word-wrap: break-word !important;
hyphens: auto !important;
}
.vector-header-container {
max-width: none !important;
width: 100% !important;
}
.mw-footer-container {
max-width: none !important;
width: 100% !important;
}
.mw-logo-icon {
height: 150px !important;
width: 150px !important;
object-fit: contain !important;
filter: drop-shadow(0 0 8px rgba(217, 189, 124, 0.25));
}
.mw-logo {
display: flex !important;
align-items: center !important;
}
#p-search {
margin-left: auto !important;
padding-left: 100px !important;
}
.vector-header-end {
display: flex !important;
align-items: center !important;
justify-content: flex-end !important;
width: auto !important;
min-width: 25% !important;
}
.vector-sidebar {
width: 14em !important;
}
:root {
--width-layout: 100% !important;
--width-content: 100% !important;
--width-workspace-min: 100% !important;
--width-workspace-max: none !important;
}
body {
--width-layout: 100% !important;
overflow-x: hidden !important;
}
.mw-body-content table,
.mw-body-content pre,
.mw-body-content div.mw-geshi {
max-width: 100% !important;
overflow-x: auto !important;
display: block !important;
}
.mw-body {
padding: 0.75em !important;
margin: 0.5em !important;
padding-right: 1em !important;
}
.mw-body h1,
.mw-body h2,
.mw-body h3,
.mw-body h4,
.mw-body h5,
.mw-body h6,
.mw-body p,
.mw-body ul,
.mw-body ol,
.mw-body div {
margin-left: 0.25em !important;
margin-right: 0.25em !important;
padding-left: 0.25em !important;
padding-right: 0.25em !important;
}
.mw-headline,
.mw-heading {
margin-left: 0.25em !important;
}
.mw-body ul,
.mw-body ol {
margin-left: 1em !important;
}
.mw-heading + p,
h1 + p, h2 + p, h3 + p, h4 + p, h5 + p, h6 + p {
margin-top: 0.25em !important;
margin-left: 0.5em !important;
}
/* ==========================================================================
Page canvas & background art
========================================================================== */
html, body {
background-color: var(--zx-bg) !important;
}
.vector-column-start,
.vector-column-end,
.mw-page-container {
position: relative !important;
background-color: transparent !important;
}
/* ACTIVE: subtle dark image overlay.
Requires uploading dark-bg2.jpg (from web-react/apps/web/public/images/dark-bg2.jpg
in the repo) to your wiki server at the path referenced below. */
.mw-page-container:before {
content: "" !important;
position: fixed !important;
top: 0 !important;
left: 0 !important;
width: 100% !important;
height: 100% !important;
background-image: url('https://wiki.zenithxi.com/images/dark-bg2.jpg') !important;
background-size: cover !important;
background-position: center !important;
background-attachment: fixed !important;
opacity: 0.18 !important;
z-index: -1 !important;
}
/* FLAT CANVAS ALTERNATIVE — comment out the block above and uncomment this
one to use a clean solid-color canvas instead (no image upload needed;
this is what the live website itself does on every page but its Home hero).
.mw-page-container:before {
content: none !important;
}
*/
/* ==========================================================================
Typography
========================================================================== */
body, #content, #bodyContent, p, li, td, th, div, input, textarea, select, button {
font-family: var(--zx-font-ui) !important;
color: var(--zx-text-body);
}
h1, h2, h3, h4, h5, h6,
.mw-heading,
.mw-headline,
.mw-logo-wordmark {
font-family: var(--zx-font-display) !important;
color: var(--zx-text-strong) !important;
font-weight: 500;
letter-spacing: 0.02em;
}
.mw-logo-wordmark {
font-size: 28px !important;
text-transform: uppercase !important;
color: var(--zx-gold) !important;
}
#firstHeading,
.mw-first-heading {
border-bottom: 1px solid var(--zx-panel-border-strong);
padding-bottom: 0.35em;
}
.mw-heading2 {
position: relative;
padding-bottom: 0.3em;
}
.mw-heading2::after {
content: "";
display: block;
height: 1px;
margin-top: 0.3em;
background: linear-gradient(90deg, rgba(217, 189, 124, 0.75), transparent);
}
blockquote {
font-family: var(--zx-font-prose);
font-style: italic;
border-left: 2px solid var(--zx-gold-deep);
padding-left: 1em;
color: var(--zx-text-dim);
}
a {
color: var(--zx-gold);
text-decoration: none;
}
a:hover {
color: var(--zx-gold-hover);
text-decoration: underline;
}
a:visited {
color: var(--zx-gold-deep);
}
a.new,
a.new:visited {
color: var(--zx-danger);
}
::selection {
background: rgba(217, 189, 124, 0.35);
color: var(--zx-text-strong);
}
/* ==========================================================================
Main content panel
========================================================================== */
.vector-body {
border-radius: 0 !important;
overflow: hidden !important;
background: var(--zx-panel) !important;
border: 1px solid var(--zx-panel-border);
box-shadow: var(--zx-panel-shadow);
}
.vector-body-before-content,
.vector-body-content,
.vector-body-after-content {
background-color: transparent !important;
}
/* ==========================================================================
Header & navigation
========================================================================== */
.vector-header {
background: var(--zx-header-grad) !important;
border-bottom: 1px solid rgba(180, 160, 110, 0.32);
box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
}
.vector-header-container,
.vector-search-box,
.vector-user-links,
.vector-menu-tabs,
.vector-menu-tabs .vector-menu-content,
.vector-menu-dropdown .vector-menu-content {
background-color: transparent !important;
}
.vector-menu-dropdown .vector-menu-content-list {
background: var(--zx-dropdown-grad) !important;
border: 1px solid var(--zx-panel-border-strong) !important;
box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.07);
}
.vector-menu-tabs a,
#p-personal a,
.vector-user-links a,
.vector-menu-dropdown .vector-menu-content-list a {
text-transform: uppercase;
font-size: 12px;
letter-spacing: 0.14em;
color: var(--zx-text-muted) !important;
}
.vector-menu-tabs li.selected a,
.vector-menu-tabs a:hover,
#p-personal a:hover,
.vector-menu-dropdown .vector-menu-content-list a:hover {
color: var(--zx-gold-bright) !important;
}
/* ==========================================================================
Sidebar
========================================================================== */
.vector-main-menu-container,
.vector-sidebar-container,
.vector-pinnable-header,
.vector-pinnable-element-pinned,
.vector-pinned-container,
.mw-sidebar,
#mw-panel {
border-radius: 0 !important;
overflow: hidden !important;
background: var(--zx-panel-solid);
border: 1px solid var(--zx-panel-border);
}
.vector-main-menu .vector-menu-content,
.vector-sidebar-container .vector-menu-content,
#mw-panel .vector-menu-content {
border-radius: 0 !important;
}
.vector-sidebar-container *,
.vector-main-menu-container * {
border-radius: inherit !important;
}
#mw-panel .vector-menu-heading {
font-family: var(--zx-font-display);
color: var(--zx-gold);
text-transform: uppercase;
letter-spacing: 0.2em;
font-size: 11px;
}
#mw-panel a {
color: var(--zx-text-muted);
}
#mw-panel a:hover {
color: var(--zx-gold-bright);
}
/* ==========================================================================
Inputs & buttons
========================================================================== */
.cdx-text-input__input,
.cdx-search-input__input,
input[type="text"],
input[type="search"],
input[type="password"],
textarea,
select {
background: var(--zx-panel-solid) !important;
border: 1px solid var(--zx-panel-border) !important;
color: var(--zx-text-strong) !important;
border-radius: 0 !important;
}
.cdx-text-input__input:focus,
.cdx-search-input__input:focus,
input[type="text"]:focus,
input[type="search"]:focus,
input[type="password"]:focus,
textarea:focus {
outline: none !important;
box-shadow: 0 0 0 1px rgba(217, 189, 124, 0.35) !important;
border-color: var(--zx-gold) !important;
}
.cdx-button,
.mw-ui-button,
input[type="submit"],
button {
font-family: var(--zx-font-ui);
text-transform: uppercase;
letter-spacing: 0.14em;
font-size: 11px;
border-radius: 0 !important;
background: transparent;
border: 1px solid var(--zx-panel-border);
color: var(--zx-text-muted);
transition: all 0.15s ease;
}
.cdx-button:hover,
.mw-ui-button:hover,
button:hover {
border-color: var(--zx-gold);
color: var(--zx-gold-bright);
}
.cdx-button--action-progressive,
.mw-ui-button.mw-ui-progressive,
input[type="submit"].mw-ui-progressive {
background: var(--zx-gold-btn) !important;
border-color: var(--zx-gold-btn-border) !important;
color: var(--zx-on-gold) !important;
}
.cdx-button--action-progressive:hover,
.mw-ui-button.mw-ui-progressive:hover {
filter: brightness(1.08);
}
/* ==========================================================================
Tables & code
========================================================================== */
.mw-body-content table.wikitable,
.mw-body-content table.infobox {
background: var(--zx-panel);
border: 1px solid var(--zx-panel-border);
color: var(--zx-text-body);
}
.wikitable > tr > th,
.wikitable > * > tr > th {
background: rgba(217, 189, 124, 0.1);
color: var(--zx-gold);
text-transform: uppercase;
letter-spacing: 0.08em;
font-size: 11px;
border-color: var(--zx-panel-border);
}
.wikitable > tr > td,
.wikitable > * > tr > td {
border-color: var(--zx-panel-border);
}
.mw-body-content pre,
.mw-body-content code,
.mw-highlight {
font-family: var(--zx-font-mono) !important;
background: var(--zx-panel-solid) !important;
border: 1px solid var(--zx-panel-border) !important;
color: var(--zx-text) !important;
border-radius: 0 !important;
}
/* ==========================================================================
Footer
========================================================================== */
.mw-footer-container {
background: var(--zx-bg-deep) !important;
border-top: 1px solid rgba(180, 160, 110, 0.3);
color: var(--zx-text-disabled);
}
#footer-info,
#footer-places,
#footer-icons {
color: var(--zx-text-faint);
}
#footer a {
color: var(--zx-text-muted);
}
#footer a:hover {
color: var(--zx-gold-bright);
}
/* ==========================================================================
Optional: themed scrollbar (WebKit/Blink browsers)
========================================================================== */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--zx-bg-deep); }
::-webkit-scrollbar-thumb { background: var(--zx-panel-border-strong); border: 2px solid var(--zx-bg-deep); }
::-webkit-scrollbar-thumb:hover { background: var(--zx-gold-deep); }
/* ==========================================================================
Responsive handling (unchanged — functional)
========================================================================== */
@media screen and (max-width: 1600px) {
.mw-body-content table,
.mw-body-content pre,
.mw-body-content .mw-highlight {
max-width: 100% !important;
overflow-x: auto !important;
}
.mw-body-content p,
.mw-body-content li,
.mw-body-content div {
overflow-wrap: anywhere !important;
}
.mw-body-content img {
max-width: 100% !important;
height: auto !important;
}
}
.vector-layout-config {
--max-width-page-container: none !important;
--max-width-content-container: none !important;
}
.vector-sticky-pinned-container::after {
display: none !important;
content: none !important;
height: 0 !important;
background: none !important;
}