|
|
| (26 intermediate revisions by the same user not shown) |
| Line 1: |
Line 1: |
| /* ==========================================================================
| | .vector-menu-content a { |
| 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-accent: #17c3b2;
| |
| --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/fonts/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-workspace-container wraps the sidebar + content + footer column and
| |
| carries its own max-width in core Vector 2022 — without this override,
| |
| widening .mw-page-container/.mw-content-container alone has no visible
| |
| effect because this ancestor is still capping the available space. */
| |
| .mw-workspace-container,
| |
| .mw-article-toolbar-container {
| |
| max-width: none !important;
| |
| width: 100% !important;
| |
| }
| |
| | |
| /* THE key fix: .mw-body (the direct wrapper around the article) is its own
| |
| CSS grid with `grid-template-columns: minmax(0, <reading-width-em>) min-content`
| |
| baked into core Vector 2022 — this caps the actual article column to a
| |
| fixed em-based reading width (~76em) *independently* of how wide its
| |
| ancestors are, which is why the content still looked narrow even with
| |
| every other max-width override in this file. This replicates exactly what
| |
| MediaWiki's own "Enable limited width mode" preference toggle does when
| |
| turned off — first column now flexes to fill all available space, second
| |
| column stays min-content for the pinned page-tools rail. */
| |
| .mw-body {
| |
| grid-template-columns: minmax(0, 1fr) min-content !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;
| |
| }
| |
| | |
| /* ---- Header logo wordmark: override inline span colors ---- */
| |
| .mw-logo-wordmark span:first-child {
| |
| color: var(--zx-accent) !important;
| |
| }
| |
| .mw-logo-wordmark span:last-child {
| |
| color: var(--zx-gold) !important;
| |
| }
| |
| | |
| /* ---- Header icons (search, bell, tray, watchlist, user, settings) ---- */
| |
| .vector-header-end .vector-icon,
| |
| .vector-user-links .vector-icon,
| |
| #p-personal .vector-icon {
| |
| background-color: var(--zx-text-muted) !important;
| |
| }
| |
| | |
| .vector-header-end a:hover .vector-icon,
| |
| .vector-user-links a:hover .vector-icon,
| |
| #p-personal a:hover .vector-icon {
| |
| background-color: var(--zx-gold-bright) !important;
| |
| }
| |
| | |
| /* ---- Header search submit button ---- */
| |
| .cdx-search-input__end-button {
| |
| background: var(--zx-gold-btn) !important;
| |
| border: 1px solid var(--zx-gold-btn-border) !important;
| |
| color: var(--zx-on-gold) !important;
| |
| text-transform: uppercase;
| |
| letter-spacing: 0.14em;
| |
| font-size: 11px;
| |
| }
| |
| | |
| .cdx-search-input__end-button:hover {
| |
| filter: brightness(1.08);
| |
| }
| |
| | |
| #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;
| |
| }
| |
| | |
| /* NOTE: core Vector 2022 doesn't actually read --width-layout/--width-content/
| |
| --width-workspace-* as runtime CSS custom properties — its widths are
| |
| compile-time LESS variables baked into literal max-width values on
| |
| .mw-workspace-container / .mw-content-container / .mw-body. This block is
| |
| left in place (harmless) but the real fix lives in the "Wide layout"
| |
| section above and the .mw-body grid override there. */
| |
| :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;
| |
| }
| |
| | |
| | |
| .vector-sticky-header {
| |
| background: var(--zx-header-grad) !important;
| |
| border-bottom: 1px solid rgba(180, 160, 110, 0.32) !important;
| |
| box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
| |
| }
| |
| | |
| .vector-sticky-header .vector-icon {
| |
| background-color: var(--zx-text-muted) !important;
| |
| }
| |
| | |
| .vector-sticky-header a:hover .vector-icon {
| |
| background-color: var(--zx-gold-bright) !important;
| |
| }
| |
| | |
| .vector-pinnable-header-toggle-button {
| |
| background: transparent !important;
| |
| border: 1px solid var(--zx-panel-border) !important;
| |
| color: var(--zx-text-muted) !important; | | color: var(--zx-text-muted) !important; |
| border-radius: 0 !important;
| |
| text-transform: uppercase;
| |
| letter-spacing: 0.1em;
| |
| font-size: 11px;
| |
| } | | } |
| | | .vector-main-menu a:hover, |
| .vector-pinnable-header-toggle-button:hover { | | .vector-menu-content a:hover { |
| border-color: var(--zx-gold) !important;
| |
| color: var(--zx-gold-bright) !important; | | color: var(--zx-gold-bright) !important; |
| } | | } |
|
| |
|
| |
| .vector-toc-list-item-active > .vector-toc-link,
| |
| .vector-toc-list-item-active .vector-toc-link {
| |
| color: var(--zx-gold-bright) !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 a:hover,
| |
| #p-personal a:hover,
| |
| .vector-menu-dropdown .vector-menu-content-list a:hover,
| |
| html .vector-menu-tabs .mw-list-item.selected a {
| |
| 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;
| |
| }
| |
|
| |
| .vector-menu-heading { | | .vector-menu-heading { |
| font-family: var(--zx-font-display) !important; | | font-family: var(--zx-font-display) !important; |
| Line 481: |
Line 13: |
| font-size: 11px !important; | | font-size: 11px !important; |
| } | | } |
| | | .mw-logo { display: none !important; } |
| .vector-main-menu a,
| |
| .vector-menu-content a {
| |
| color: var(--zx-text-muted) !important;
| |
| }
| |
| .vector-main-menu a:hover,
| |
| .vector-menu-content a:hover {
| |
| color: var(--zx-gold-bright) !important;
| |
| }
| |
| | |
| /* ==========================================================================
| |
| 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) !important;
| |
| }
| |
| #footer-info,
| |
| #footer-places,
| |
| #footer-icons,
| |
| .mw-footer li {
| |
| color: var(--zx-text-faint) !important;
| |
| }
| |
| #footer a {
| |
| color: var(--zx-text-muted) !important;
| |
| }
| |
| #footer a:hover {
| |
| color: var(--zx-gold-bright) !important;
| |
| }
| |
| | |
| /* ==========================================================================
| |
| 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;
| |
| }
| |
| }
| |
| | |
| /* NOTE: .vector-layout-config isn't a real Vector 2022 class and these
| |
| --max-width-* properties aren't read anywhere in core, so this block is
| |
| very likely a no-op. Left in place as harmless dead weight rather than
| |
| removed, in case a theme/extension on this wiki does target it. */
| |
| .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;
| |
| }
| |
| | |
| /* ===== ZenithXI dark-fantasy table theme =====
| |
| Palette: web-react/apps/web/src/styles/theme.css (gold #d9bd7c on #05070d).
| |
| Apply by adding class="zx-table" to a table's class list. */
| |
| | |
| .zx-table {
| |
| background: linear-gradient(180deg, rgba(30,40,62,.55), rgba(11,15,24,.92));
| |
| border: 1px solid rgba(180,160,110,.28);
| |
| border-collapse: collapse;
| |
| color: #c8d0e0;
| |
| box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 10px 28px rgba(0,0,0,.45);
| |
| font-family: Verdana, "Segoe UI", sans-serif;
| |
| }
| |
| | |
| /* Header cells (incl. the collapsible title bar and column heads) */
| |
| .zx-table > * > tr > th {
| |
| background: linear-gradient(180deg, rgba(217,189,124,.14), rgba(217,189,124,.03));
| |
| color: #d9bd7c;
| |
| border: 1px solid rgba(217,189,124,.30);
| |
| font-size: 11px;
| |
| font-weight: 600;
| |
| letter-spacing: .14em;
| |
| text-transform: uppercase;
| |
| padding: 9px 12px;
| |
| }
| |
| | |
| /* Body cells — transparent so the panel gradient shows through
| |
| (overrides Vector's default light .wikitable td background). */
| |
| .zx-table > * > tr > td {
| |
| background: transparent;
| |
| color: #c8d0e0;
| |
| border: 1px solid rgba(127,138,163,.14);
| |
| padding: 8px 12px;
| |
| }
| |
| | |
| /* Zebra striping + hover */
| |
| .zx-table > * > tr:nth-child(even) > td { background: rgba(217,189,124,.035); }
| |
| .zx-table > * > tr:hover > td { background: rgba(217,189,124,.09); }
| |
| | |
| /* Links: gold, red-links -> danger token */
| |
| .zx-table a { color: #e8dcb2; }
| |
| .zx-table a:hover { color: #ffedc2; }
| |
| .zx-table a.new { color: #e88a8a; }
| |
| | |
| /* Sort-arrow header legibility on the gold wash */
| |
| .zx-table.sortable th { background-clip: padding-box; }
| |
| | |
| | |
| /* ===== ZenithXI infobox theme (item / armor / weapon / usable-item detail boxes) =====
| |
| Companion to .zx-table for the vertical label/value "infobox" tables produced by
| |
| Template:Item, Template:Armor, Template:Weapon, Template:Usable_item, etc.
| |
| Apply by adding class="zx-infobox" to the infobox's OUTER table. Uses !important so
| |
| it themes cleanly over the templates' residual inline #3c6a95 / #4696cf / #FFFFFF
| |
| colors — no inline-color stripping required to make it work. Hooks the existing
| |
| .item-info-header / .item-info-body cell classes (Item/Armor); plain cells
| |
| (Weapon/Usable_item) fall back to the generic td rule. */
| |
| | |
| .zx-infobox {
| |
| background: linear-gradient(180deg, rgba(30,40,62,.55), rgba(11,15,24,.92)) !important;
| |
| border: 1px solid rgba(180,160,110,.28) !important;
| |
| border-collapse: collapse;
| |
| color: #c8d0e0;
| |
| box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 10px 28px rgba(0,0,0,.45);
| |
| font-family: Verdana, "Segoe UI", sans-serif;
| |
| }
| |
| | |
| /* Title bar (top colspan header cell) — replaces the bright #4696cf blue */
| |
| .zx-infobox > * > tr > th {
| |
| background: linear-gradient(180deg, rgba(217,189,124,.16), rgba(217,189,124,.03)) !important;
| |
| color: #d9bd7c !important;
| |
| border: 1px solid rgba(217,189,124,.30) !important;
| |
| font-weight: 600;
| |
| letter-spacing: .08em;
| |
| padding: 8px 12px;
| |
| }
| |
| | |
| /* Label column (.item-info-header on Item/Armor) */
| |
| .zx-infobox .item-info-header {
| |
| background: rgba(217,189,124,.06) !important;
| |
| color: #d9bd7c !important;
| |
| border: 1px solid rgba(217,189,124,.20) !important;
| |
| font-weight: 600;
| |
| padding: 7px 12px;
| |
| }
| |
| | |
| /* Value column (.item-info-body on Item/Armor) + generic cells (Weapon/Usable_item) */
| |
| .zx-infobox .item-info-body,
| |
| .zx-infobox > * > tr > td {
| |
| background: transparent !important;
| |
| color: #c8d0e0 !important;
| |
| border: 1px solid rgba(127,138,163,.16) !important;
| |
| padding: 7px 12px;
| |
| }
| |
| | |
| /* Links: gold, red-links -> danger */
| |
| .zx-infobox a { color: #e8dcb2 !important; }
| |
| .zx-infobox a:hover { color: #ffedc2 !important; }
| |
| .zx-infobox a.new { color: #e88a8a !important; }
| |
| | |
| | |
| /* ===== ZenithXI item-ecosystem theme (CSS-driven, no per-template edits) =====
| |
| Themes every item infobox AND item sub-table (Template:Item / Armor / Weapon /
| |
| Usable_item and the item *_Table / *_Header family) by hooking their shared
| |
| .item-info-header / .item-info-body cell classes plus their inline #4696cf
| |
| title-bar and #3c6a95 border colors via attribute selectors. !important so it
| |
| wins over the templates' inline styles; no template edits required. */
| |
| | |
| /* Outer item tables (inline border-color:#3c6a95) -> dark panel + gold border */
| |
| .mw-body-content table[style*="3c6a95" i] {
| |
| background: linear-gradient(180deg, rgba(30,40,62,.55), rgba(11,15,24,.92)) !important;
| |
| border: 1px solid rgba(180,160,110,.28) !important;
| |
| box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 10px 28px rgba(0,0,0,.45);
| |
| }
| |
| | |
| /* Blue title bars (inline #4696cf) -> gold header wash */
| |
| .mw-body-content [style*="4696cf" i] {
| |
| background: linear-gradient(180deg, rgba(217,189,124,.14), rgba(217,189,124,.03)) !important;
| |
| color: #d9bd7c !important;
| |
| border-color: rgba(217,189,124,.30) !important;
| |
| }
| |
| | |
| /* Any cell carrying the #3c6a95 steel-blue border -> subtle border + light text
| |
| (covers Weapon/Usable_item cells that lack the item-info-* classes) */
| |
| .mw-body-content td[style*="3c6a95" i],
| |
| .mw-body-content th[style*="3c6a95" i] {
| |
| border-color: rgba(127,138,163,.16) !important;
| |
| color: #c8d0e0;
| |
| }
| |
| | |
| /* Label / header column cells */
| |
| .mw-body-content .item-info-header {
| |
| background: rgba(217,189,124,.06) !important;
| |
| color: #d9bd7c !important;
| |
| font-weight: 600;
| |
| }
| |
| | |
| /* Value / body cells */
| |
| .mw-body-content .item-info-body {
| |
| background: transparent !important;
| |
| color: #c8d0e0 !important;
| |
| }
| |
| | |
| /* Links inside item tables / infoboxes */
| |
| .mw-body-content .item-info-header a,
| |
| .mw-body-content .item-info-body a { color: #e8dcb2 !important; }
| |
| .mw-body-content .item-info-header a:hover,
| |
| .mw-body-content .item-info-body a:hover { color: #ffedc2 !important; }
| |
| .mw-body-content .item-info-header a.new,
| |
| .mw-body-content .item-info-body a.new { color: #e88a8a !important; }
| |
| | |
| | |
| /* ===== ZenithXI Batch 2: quest / mission / key-item / magic / job-ability headers =====
| |
| These legacy header templates use DISTINCTIVE colored header bars + pale section
| |
| backgrounds, often with dark (black/#565657) text. Recolor the distinctive header/section
| |
| colors to the dark-gold theme and force readable text. Only distinctive hexes are matched
| |
| globally; common greys (#f5f5f5/#e8e8e8/#d4d4d4) are intentionally left for per-template
| |
| follow-up to avoid site-wide collisions. Case-insensitive match handles #A6DBFD vs #a6dbfd. */
| |
| | |
| /* Colored header / title / label bars -> gold wash + gold text */
| |
| .mw-body-content [style*="57879d" i], /* Quest_Header bars */
| |
| .mw-body-content [style*="9d5757" i], /* Mission_Header bars */
| |
| .mw-body-content [style*="9e9dff" i], /* Key_Item accent */
| |
| .mw-body-content [style*="3e718a" i], /* Campaign_Header */
| |
| .mw-body-content [style*="a6dbfd" i], /* Magic / WS / JA headers */
| |
| .mw-body-content [style*="d8effe" i], /* JA column headers */
| |
| .mw-body-content [style*="e2edf7" i] { /* Quest label cells */
| |
| background: linear-gradient(180deg, rgba(217,189,124,.14), rgba(217,189,124,.03)) !important;
| |
| color: #d9bd7c !important;
| |
| border-color: rgba(217,189,124,.30) !important;
| |
| }
| |
| | |
| /* Pale table / section backgrounds -> subtle dark + light text */
| |
| .mw-body-content [style*="eef4f9" i],
| |
| .mw-body-content [style*="efeeee" i],
| |
| .mw-body-content [style*="cee0f2" i] {
| |
| background: rgba(217,189,124,.04) !important;
| |
| color: #c8d0e0 !important;
| |
| }
| |
| | |
| /* Legacy table wrappers -> dark panel + subtle gold border */
| |
| .mw-body-content table.bdrwhite,
| |
| .mw-body-content table.bdrdarkblue,
| |
| .mw-body-content table.Standard,
| |
| .mw-body-content table.keyitem,
| |
| .mw-body-content table.missions,
| |
| .mw-body-content table.bestiary {
| |
| background: linear-gradient(180deg, rgba(30,40,62,.55), rgba(11,15,24,.92)) !important;
| |
| border: 1px solid rgba(180,160,110,.28) !important;
| |
| }
| |
| | |
| /* Lighten dark legacy row/text colors so they read on the darkened cells */
| |
| .mw-body-content [style*="color: #565657" i],
| |
| .mw-body-content [style*="color:#565657" i] {
| |
| color: #c8d0e0 !important;
| |
| }
| |
| | |
| /* Batch 2 supplement: catch header colors set via the bgcolor= HTML attribute
| |
| (e.g. Job_Ability's "Job Ability Information" title uses bgcolor="#a6dbfd") */
| |
| .mw-body-content [bgcolor*="a6dbfd" i],
| |
| .mw-body-content [bgcolor*="d8effe" i],
| |
| .mw-body-content [bgcolor*="9d5757" i],
| |
| .mw-body-content [bgcolor*="57879d" i],
| |
| .mw-body-content [bgcolor*="9e9dff" i],
| |
| .mw-body-content [bgcolor*="4696cf" i] {
| |
| background: linear-gradient(180deg, rgba(217,189,124,.14), rgba(217,189,124,.03)) !important;
| |
| color: #d9bd7c !important;
| |
| border-color: rgba(217,189,124,.30) !important;
| |
| }
| |
| | |
| | |
| /* ===== ZenithXI Batch 3: bestiary / Trial of the Magians grey scoping =====
| |
| Scoped to .Standard / .bestiary wrapper classes (NOT global) -- the shared
| |
| greys below (#4b4d4f, #e8e8e8) are common enough elsewhere on the wiki that
| |
| matching them site-wide risks collisions, so they're deliberately confined
| |
| to templates carrying these class names (Trial of the Magians, Adversary
| |
| Description / Adversary Description 2). Order matters: the pale-cell rule
| |
| is declared AFTER the header-bar rule so cells that contain BOTH substrings
| |
| (e.g. "background:#e8e8e8; color:#4b4d4f") resolve to the pale treatment,
| |
| not the gold header treatment. */
| |
| | |
| .Standard [style*="4b4d4f" i],
| |
| .bestiary [style*="4b4d4f" i] {
| |
| background: linear-gradient(180deg, rgba(217,189,124,.14), rgba(217,189,124,.03)) !important;
| |
| color: #d9bd7c !important;
| |
| border-color: rgba(217,189,124,.30) !important;
| |
| }
| |
| | |
| .Standard [style*="e8e8e8" i],
| |
| .bestiary [style*="e8e8e8" i] {
| |
| background: rgba(217,189,124,.06) !important;
| |
| color: #c8d0e0 !important;
| |
| }
| |
| | |
| /* ===== ZenithXI Batch 3: NPC infobox greys (Template:NPC) =====
| |
| Template:NPC had no wrapper class of its own, so a "zx-npc" class was added
| |
| to its two output tables (title/image table + main info table) to give
| |
| its plain #f5f5f5 / #d4d4d4 cells a CSS hook without matching those very
| |
| common greys globally. The #4696cf/#3c6a95 title bar + border are already
| |
| themed by the global item-ecosystem rules above (NPC reuses those hexes). */
| |
| | |
| .zx-npc [style*="f5f5f5" i] {
| |
| background: transparent !important;
| |
| color: #c8d0e0 !important;
| |
| }
| |
| .zx-npc [style*="d4d4d4" i] {
| |
| background: rgba(217,189,124,.06) !important;
| |
| color: #d9bd7c !important;
| |
| font-weight: 600;
| |
| }
| |
| | |
| /* ===== ZenithXI Batch 3: Campaign_Header (Template:Campaign Header) =====
| |
| Uses bgcolor= (not style=) for its title bar + label/value cells, so it
| |
| wasn't caught by the Batch 2 style= hooks. Title teal (#3E718A) is
| |
| distinctive enough to hook globally (mirrors the existing style= hook for
| |
| the same hex); the label/value greys are common, so a "zx-campaign" class
| |
| was added to the template's outer table to scope them. */
| |
| | |
| .mw-body-content [bgcolor*="3e718a" i] {
| |
| background: linear-gradient(180deg, rgba(217,189,124,.14), rgba(217,189,124,.03)) !important;
| |
| color: #d9bd7c !important;
| |
| }
| |
| .zx-campaign [bgcolor*="c6c6c6" i] {
| |
| background: rgba(217,189,124,.06) !important;
| |
| color: #d9bd7c !important;
| |
| }
| |
| .zx-campaign [bgcolor*="f5f5f5" i] {
| |
| background: transparent !important;
| |
| color: #c8d0e0 !important;
| |
| }
| |
| | |
| | |
| /* ===== ZenithXI Batch 3: skillchain property color legibility =====
| |
| Template:Weapon Skill Page Row renders property names as inline
| |
| <span style="color:X;">, using CSS keyword colors. Several are low/zero
| |
| contrast against the dark .zx-table panel (black is invisible; blue/
| |
| purple/green/grey are muddy) -- remap just those, scoped to .zx-table so
| |
| it can't affect anything outside the Weapon Skills tables. red/orange/
| |
| #00cece are already legible on dark and are left untouched. */
| |
| | |
| .zx-table [style*="color:black" i] { color: #cfd6e2 !important; }
| |
| .zx-table [style*="color:blue" i] { color: #6ea8ff !important; }
| |
| .zx-table [style*="color:purple" i] { color: #c58af0 !important; }
| |
| .zx-table [style*="color:green" i] { color: #5ac85a !important; }
| |
| .zx-table [style*="color:grey" i] { color: #b9c2d4 !important; }
| |
| | |
| | |
| /* ===== ZenithXI Batch 3: Job Ratings pink table (~126 weapon/skill category pages) =====
| |
| Every weapon/skill Category page (Axe, Dagger, Club, ... all but Sword, which was hand-
| |
| edited earlier) embeds an identical inline-styled pink table: table bg #fed4dd, header
| |
| bg #fea5b8 + border-color #fd5b7e, body cells with border-color #fd5b7e only (no bg of
| |
| their own -- they inherit the table's background). Hooking all three distinctive hexes
| |
| themes every one of these pages at once with no per-page/per-template edits.
| |
| Order matters: the plain border-color rule (#fd5b7e) is declared BEFORE the header rule
| |
| (#fea5b8) so header cells -- which carry both substrings in one style attribute -- end up
| |
| with the header rule's gold border (declared later wins), while body cells (which only
| |
| ever carry #fd5b7e alone) get the subtle border from the first rule. */
| |
| | |
| .mw-body-content [style*="fd5b7e" i] {
| |
| border-color: rgba(180,160,110,.28) !important;
| |
| }
| |
| .mw-body-content [style*="fea5b8" i] {
| |
| background: linear-gradient(180deg, rgba(217,189,124,.14), rgba(217,189,124,.03)) !important;
| |
| color: #d9bd7c !important;
| |
| border-color: rgba(217,189,124,.30) !important;
| |
| }
| |
| .mw-body-content [style*="fed4dd" i] {
| |
| background: linear-gradient(180deg, rgba(30,40,62,.55), rgba(11,15,24,.92)) !important;
| |
| border-color: rgba(180,160,110,.28) !important;
| |
| }
| |
| | |
| | |
| /* ===== ZenithXI Batch 4: Atmacite reward-gradient tables (~40-45 pages, no template) =====
| |
| Every Atmacite_of_* page hand-copies an identical reward table: border/header bg #CEDFF2,
| |
| then 15 rows shaded FFFFFF -> A0A0A0 (a light-mode "progress" gradient) via bgcolor set on
| |
| each ROW (not the cells -- MediaWiki emits `<tr bgcolor="#...">`), entirely inline with no
| |
| wrapper class or template. Scope every rule to descendants of a table that ALSO carries the
| |
| distinctive #CEDFF2 marker in its own style attribute, so this can never touch unrelated
| |
| bgcolor usage elsewhere (e.g. the already-scoped bestiary greys) -- no per-page edits needed
| |
| despite there being no shared template. */
| |
| | |
| .mw-body-content table[style*="CEDFF2" i] {
| |
| background: linear-gradient(180deg, rgba(30,40,62,.55), rgba(11,15,24,.92)) !important;
| |
| border-color: rgba(180,160,110,.28) !important;
| |
| }
| |
| .mw-body-content table[style*="CEDFF2" i] > * > tr[style*="CEDFF2" i] > th {
| |
| background: linear-gradient(180deg, rgba(217,189,124,.14), rgba(217,189,124,.03)) !important;
| |
| color: #d9bd7c !important;
| |
| border-color: rgba(217,189,124,.30) !important;
| |
| }
| |
| .mw-body-content table[style*="CEDFF2" i] tr[bgcolor] {
| |
| background: transparent !important;
| |
| color: #c8d0e0 !important;
| |
| }
| |
| .mw-body-content table[style*="CEDFF2" i] tr[bgcolor]:nth-child(even) {
| |
| background: rgba(217,189,124,.035) !important;
| |
| }
| |
| | |
| /* ===== ZenithXI Batch 4: Job page color-coded boxes (all 22 Job pages) =====
| |
| Every job page (Warrior, Black Mage, Beastmaster, ...) repeats the same colored-box
| |
| pattern already used for the Job Ratings pink table (table bg + header bg&border, body
| |
| cells with border-color only) for several MORE boxes: Job Traits (blue), Job Ability
| |
| (red), Magic/Pet Command (purple -- two variants, one for caster spell lists, a second
| |
| only on the ~3 pet jobs), and Merits (orange, whose body cells also carry their own bg).
| |
| Same ordering rule as the pink table: the plain border-color pass goes first so it doesn't
| |
| clobber the header rule's border-color on cells that carry both substrings. */
| |
| | |
| /* Job Traits -- blue */
| |
| .mw-body-content [style*="59c1ff" i] { border-color: rgba(180,160,110,.28) !important; }
| |
| .mw-body-content [style*="ccebfe" i] {
| |
| background: linear-gradient(180deg, rgba(217,189,124,.14), rgba(217,189,124,.03)) !important;
| |
| color: #d9bd7c !important;
| |
| border-color: rgba(217,189,124,.30) !important;
| |
| }
| |
| .mw-body-content [style*="eef8fe" i] {
| |
| background: linear-gradient(180deg, rgba(30,40,62,.55), rgba(11,15,24,.92)) !important;
| |
| border-color: rgba(180,160,110,.28) !important;
| |
| }
| |
| | |
| /* Job Ability -- red */
| |
| .mw-body-content [style*="ee6a6a" i] { border-color: rgba(180,160,110,.28) !important; }
| |
| .mw-body-content [style*="fbadad" i] {
| |
| background: linear-gradient(180deg, rgba(217,189,124,.14), rgba(217,189,124,.03)) !important;
| |
| color: #d9bd7c !important;
| |
| border-color: rgba(217,189,124,.30) !important;
| |
| }
| |
| .mw-body-content [style*="ffdede" i] {
| |
| background: linear-gradient(180deg, rgba(30,40,62,.55), rgba(11,15,24,.92)) !important;
| |
| border-color: rgba(180,160,110,.28) !important;
| |
| }
| |
| | |
| /* Magic (caster spell lists) -- purple */
| |
| .mw-body-content [style*="bd72fd" i] { border-color: rgba(180,160,110,.28) !important; }
| |
| .mw-body-content [style*="daaffe" i] {
| |
| background: linear-gradient(180deg, rgba(217,189,124,.14), rgba(217,189,124,.03)) !important;
| |
| color: #d9bd7c !important;
| |
| border-color: rgba(217,189,124,.30) !important;
| |
| }
| |
| .mw-body-content [style*="f2e5fd" i] {
| |
| background: linear-gradient(180deg, rgba(30,40,62,.55), rgba(11,15,24,.92)) !important;
| |
| border-color: rgba(180,160,110,.28) !important;
| |
| }
| |
| | |
| /* Pet Command (BST/SMN/PUP only) -- purple variant */
| |
| .mw-body-content [style*="9f7fde" i] { border-color: rgba(180,160,110,.28) !important; }
| |
| .mw-body-content [style*="d5c4fa" i] {
| |
| background: linear-gradient(180deg, rgba(217,189,124,.14), rgba(217,189,124,.03)) !important;
| |
| color: #d9bd7c !important;
| |
| border-color: rgba(217,189,124,.30) !important;
| |
| }
| |
| .mw-body-content [style*="f0eafe" i] {
| |
| background: linear-gradient(180deg, rgba(30,40,62,.55), rgba(11,15,24,.92)) !important;
| |
| border-color: rgba(180,160,110,.28) !important;
| |
| }
| |
| | |
| /* Merits -- orange (body cells carry their own bg here, unlike the boxes above) */
| |
| .mw-body-content [style*="fc8b4d" i] { border-color: rgba(180,160,110,.28) !important; }
| |
| .mw-body-content [style*="fdc7a9" i] {
| |
| background: linear-gradient(180deg, rgba(217,189,124,.14), rgba(217,189,124,.03)) !important;
| |
| color: #d9bd7c !important;
| |
| border-color: rgba(217,189,124,.30) !important;
| |
| }
| |
| .mw-body-content [style*="fde1d2" i] {
| |
| background: transparent !important;
| |
| color: #c8d0e0 !important;
| |
| border-color: rgba(180,160,110,.28) !important;
| |
| }
| |
| | |
| /* ===== ZenithXI Batch 4: eaf5f5 spotlight highlight + cee0f2 bgcolor gap (~45 pages) =====
| |
| #eaf5f5 marks a "notable" drop/reward inside otherwise-plain Assault/Battlefield reward
| |
| tables (e.g. Apkallu_Breeding) -- give it a gold-highlight treatment instead of dropping it.
| |
| #cee0f2 (Batch 2's pale-background rule) is also set via the bgcolor= HTML attribute on
| |
| these same pages, which the original style=-only hook didn't catch -- add that hook here. */
| |
| | |
| .mw-body-content [style*="eaf5f5" i],
| |
| .mw-body-content [bgcolor*="eaf5f5" i] {
| |
| background: rgba(217,189,124,.14) !important;
| |
| color: #f2e3b8 !important;
| |
| }
| |
| .mw-body-content [bgcolor*="cee0f2" i] {
| |
| background: rgba(217,189,124,.04) !important;
| |
| color: #c8d0e0 !important;
| |
| } | |