|
|
| 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-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;
| |
| border-radius: 0 !important;
| |
| text-transform: uppercase;
| |
| letter-spacing: 0.1em;
| |
| font-size: 11px;
| |
| }
| |
|
| |
| .vector-pinnable-header-toggle-button:hover {
| |
| border-color: var(--zx-gold) !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 {
| |
| font-family: var(--zx-font-display) !important;
| |
| color: var(--zx-gold) !important;
| |
| text-transform: uppercase;
| |
| letter-spacing: 0.2em;
| |
| font-size: 11px !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 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;
| |
| }
| |
|
| |
|
| |
| /* ===== ZenithXI Batch 5: Community guide item-upgrade tables (~7-17 pages each) =====
| |
| "Community_X_Guide" pages (e.g. Community_Ninja_Guide) embed per-relic-set item-upgrade
| |
| tables: a colored header bar (varies per set within the SAME page) + a thin 1px colored
| |
| divider strip below it, over otherwise-plain body cells already themed by the existing
| |
| #efeeee pale-background rule. Only two new header colors seen (#4b4d4f already themed
| |
| elsewhere); divider strips are decorative-only (no text), so background-only is enough. */
| |
|
| |
| .mw-body-content [style*="0966a7" i],
| |
| .mw-body-content [style*="5e3c43" i] {
| |
| background: linear-gradient(180deg, rgba(217,189,124,.14), rgba(217,189,124,.03)) !important;
| |
| color: #d9bd7c !important;
| |
| }
| |
| .mw-body-content [bgcolor*="ff8000" i],
| |
| .mw-body-content [bgcolor*="b12fb1" i],
| |
| .mw-body-content [bgcolor*="860111" i] {
| |
| background: rgba(217,189,124,.20) !important;
| |
| }
| |
|
| |
|
| |
| /* ===== ZenithXI Batch 5: CatsEyeXI content tables (~7-17 pages) =====
| |
| CatsEyeXI_Content/NPCs/Systems tables: teal title header (#59C1A9), a pale sub-header
| |
| column-name row (#BDDECE), alternating zebra body rows (#E8FCF8/#EDF7F2), over an outer
| |
| table background that varies by table (#726FB3 purple or #D5D0E8 lavender). */
| |
|
| |
| .mw-body-content [style*="59c1a9" i] {
| |
| background: linear-gradient(180deg, rgba(217,189,124,.14), rgba(217,189,124,.03)) !important;
| |
| color: #d9bd7c !important;
| |
| }
| |
| .mw-body-content [style*="bddece" i] {
| |
| background: linear-gradient(180deg, rgba(217,189,124,.10), rgba(217,189,124,.02)) !important;
| |
| color: #d9bd7c !important;
| |
| }
| |
| .mw-body-content [style*="726fb3" i],
| |
| .mw-body-content [style*="d5d0e8" 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 [style*="e8fcf8" i],
| |
| .mw-body-content [style*="edf7f2" i] {
| |
| background: rgba(217,189,124,.035) !important;
| |
| color: #c8d0e0 !important;
| |
| }
| |
|
| |
|
| |
| /* ===== ZenithXI Batch 5: History of FFXI year-timeline pages (14 sub-pages) =====
| |
| The_History_of_Final_Fantasy_XI/2001..2014 share a recurring event-log layout: a date
| |
| label cell (#d2cac0), a colored "category" gradient bar per event via
| |
| {{linear-gradient|right|#FFFFFF, HEX}} (blue #405fb6 = JP-only announcement, red #ac1717
| |
| = generic news, purple #9b70ea = beta-test event -- note these render as
| |
| background-image:linear-gradient(...) so the hex substring is inside a function value,
| |
| not a plain background: declaration, but the attribute-substring hook still matches it),
| |
| and an inset quote-callout box (#feba71/#FF911A dashed border/#fdd1a1) with inline
| |
| color:#000000 that needs overriding alongside the background. */
| |
|
| |
| .mw-body-content [bgcolor*="d2cac0" i] {
| |
| background: linear-gradient(180deg, rgba(217,189,124,.14), rgba(217,189,124,.03)) !important;
| |
| color: #d9bd7c !important;
| |
| }
| |
|
| |
| .mw-body-content [style*="405fb6" i],
| |
| .mw-body-content [style*="ac1717" i],
| |
| .mw-body-content [style*="9b70ea" i] {
| |
| background: linear-gradient(180deg, rgba(217,189,124,.14), rgba(217,189,124,.03)) !important;
| |
| }
| |
|
| |
| .mw-body-content [style*="feba71" i] {
| |
| background: linear-gradient(180deg, rgba(30,40,62,.55), rgba(11,15,24,.92)) !important;
| |
| border-color: rgba(217,189,124,.30) !important;
| |
| color: #c8d0e0 !important;
| |
| }
| |
| .mw-body-content [style*="ff911a" i] {
| |
| border-color: rgba(217,189,124,.30) !important;
| |
| }
| |
| .mw-body-content [style*="fdd1a1" i] {
| |
| background: linear-gradient(180deg, rgba(217,189,124,.14), rgba(217,189,124,.03)) !important;
| |
| color: #d9bd7c !important;
| |
| }
| |
|
| |
| /* This page's "World of the FFXI Beta Test" box uses class="Standardwide" (not "Standard"),
| |
| which the Batch 3 scoped rule doesn't match -- extend the same 4b4d4f header treatment. */
| |
| .Standardwide [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;
| |
| }
| |
|
| |
|
| |
| /* ===== ZenithXI Batch 5 follow-up: remaining History-of-FFXI event categories =====
| |
| Template:History_Nav's "Header Key" legend (transcluded on all 14 year pages) revealed
| |
| 3 more category gradient-bar colors beyond the ones found directly on the 2001 page:
| |
| version-update cyan, in-game-event orange (a 3-digit #f90 shorthand hex), and
| |
| merchandise-released gold/tan. Same treatment as the other category bars. */
| |
|
| |
| .mw-body-content [style*="1ca4bc" i],
| |
| .mw-body-content [style*="#f90" i],
| |
| .mw-body-content [style*="b68540" i] {
| |
| background: linear-gradient(180deg, rgba(217,189,124,.14), rgba(217,189,124,.03)) !important;
| |
| }
| |
|
| |
|
| |
| /* ===== ZenithXI Batch 5 follow-up: History-of-FFXI outer white wrapper table =====
| |
| The whole event-log table on each year page sets its OWN bgcolor="#FFFFFF" (too common
| |
| to hook globally on its own), so most of the page's body content was still rendering on
| |
| a plain white panel despite the inner cell fixes above. Anchor off the same distinctive
| |
| #d2cac0 date-label marker used inside it (:has() targets the ANCESTOR table, unlike the
| |
| plain descendant selector used for the Atmacite tables) -- safe because no unrelated
| |
| table on the wiki carries a d2cac0-colored cell. */
| |
|
| |
| .mw-body-content table[bgcolor*="FFFFFF" i]:has([bgcolor*="d2cac0" i]) {
| |
| background: linear-gradient(180deg, rgba(30,40,62,.55), rgba(11,15,24,.92)) !important;
| |
| }
| |
|
| |
|
| |
| /* The Matsui-quote callout's inner text cell uses plain background:#FFFFFF (never hooked
| |
| globally -- too common/risky). Safe to theme here since it's scoped to descendants of the
| |
| already-anchored #feba71 callout box specifically, not FFFFFF site-wide. */
| |
| .mw-body-content [style*="feba71" i] [style*="FFFFFF" i] {
| |
| background: transparent !important;
| |
| color: #c8d0e0 !important;
| |
| }
| |
|
| |
|
| |
| /* ===== ZenithXI Batch 5: Equipment-modifications tan box (~11-12 weapon-skill category pages) =====
| |
| A DIFFERENT box than the pink Job Ratings table on the same pages (e.g. Category:Archery,
| |
| Category:Club) -- same structural pattern though: table bg #fbf1d4, header bg #e8d39a +
| |
| border-color #bda86e, body cells with border-color #bda86e only. Same ordering rule: the
| |
| plain border-color pass goes first so the header rule's border-color wins on header cells. */
| |
|
| |
| .mw-body-content [style*="bda86e" i] {
| |
| border-color: rgba(180,160,110,.28) !important;
| |
| }
| |
| .mw-body-content [style*="e8d39a" 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*="fbf1d4" 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 5: Food-category legend tables (10 Category:*_Food pages) =====
| |
| Category:Attack_Food/Accuracy_Food/etc: table bg #ffffd6, header bg #a6dbfd (already
| |
| globally hooked in Batch 2) + border-color #0000ff, body cells with border-color #ffa500
| |
| only. Header border set to the SAME gold value as the existing a6dbfd rule so declaration
| |
| order between the two doesn't matter (header cells carry both substrings). Inline
| |
| color:#FF0000 negative-stat spans are left alone -- pure red already reads fine on dark,
| |
| matching the precedent set for the weapon-skill property-color remap. */
| |
|
| |
| .mw-body-content [style*="0000ff" i] {
| |
| border-color: rgba(217,189,124,.30) !important;
| |
| }
| |
| .mw-body-content [style*="ffa500" i] {
| |
| border-color: rgba(180,160,110,.28) !important;
| |
| }
| |
| .mw-body-content [style*="ffffd6" 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 5: New Year event moogle-stall tables (~8-9 pages) =====
| |
| New_Year_2018..2024/Guide "Left/Right Moogle" tables: header bg #990e0e + border #616ff3 +
| |
| inline color:#57c669 (green, overridden to gold for header consistency), body rows use
| |
| plain bgcolor="#f5f5f5" (common grey, not hooked globally) -- anchor-scope those to tables
| |
| that also carry the distinctive #990e0e header marker, same :has() trick used for the
| |
| History-of-FFXI outer wrapper. */
| |
|
| |
| .mw-body-content [style*="616ff3" i] {
| |
| border-color: rgba(180,160,110,.28) !important;
| |
| }
| |
| .mw-body-content [style*="990e0e" 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 table:has([style*="990e0e" i]) [bgcolor*="f5f5f5" i] {
| |
| background: transparent !important;
| |
| color: #c8d0e0 !important;
| |
| }
| |
|
| |
|
| |
| /* ===== ZenithXI Batch 5: Myriad Arms of Balrahn relic-lore panels (~20 pages) =====
| |
| Parchment-tan prose panels (not data tables, no header row) on the index page and each
| |
| of the 20 individual relic weapon lore pages. Just needs dark-panel + readable text. */
| |
|
| |
| .mw-body-content [style*="d8d6c3" i],
| |
| .mw-body-content [style*="d2cdc2" i] {
| |
| background: linear-gradient(180deg, rgba(30,40,62,.55), rgba(11,15,24,.92)) !important;
| |
| color: #c8d0e0 !important;
| |
| border-color: rgba(180,160,110,.28) !important;
| |
| }
| |
|
| |
|
| |
| /* ===== ZenithXI Batch 5: mechanic-page equipment-modifier table headers =====
| |
| e.g. Avatar_perpetuation_cost: distinctive header hexes #ccaaff and #C3C6DD. These pages
| |
| also use plain #f5f5f5/#eeeeff/#ffffff row backgrounds like several other legacy tables --
| |
| left alone here (too generic/common to hook without per-page anchoring, and this group's
| |
| page-sets don't fully overlap per the frequency scan, suggesting more than one source
| |
| template). Revisit with per-page anchors if this becomes a priority. */
| |
|
| |
| .mw-body-content [style*="c3c6dd" i],
| |
| .mw-body-content [bgcolor*="ccaaff" i] {
| |
| background: linear-gradient(180deg, rgba(217,189,124,.14), rgba(217,189,124,.03)) !important;
| |
| color: #d9bd7c !important;
| |
| }
| |
|
| |
|
| |
| /* ===== ZenithXI Batch 6: generic "skill cap / spell list" data tables (~100+ pages) =====
| |
| A very widely-reused hand-copied table convention spanning Skill_Caps/* subpages,
| |
| Evasion_Skill/Guard_Skill/Parrying_Skill/Shield_Skill, spell-type Category pages
| |
| (Elemental_Magic, Ninjutsu, Dark_Magic, Divine_Magic, Enfeebling_Magic, Geomancy,
| |
| Healing_Magic, Song, Summoning_Magic), and dozens of Version_Update/gear-set/guide pages:
| |
| an outer table background-color:#000878 (dark navy), header row bgcolor #ADBDCC or the
| |
| already-hooked #C3C6DD, and zebra body rows bgcolor #FFFFFF/#dfe4ff (Skill_Caps family) or
| |
| no-bgcolor/#EAF0FF (Category spell-list family, which wraps in a thin border:#6ea9e5 box
| |
| instead of the navy fill). These hexes were invisible to earlier frequency scans because the
| |
| wiki DB's text column is binary-collated (case-sensitive LIKE, LOWER() is a no-op) and the
| |
| scans searched a different case than what these pages actually use. */
| |
|
| |
| .mw-body-content [style*="000878" 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*="000878" i] [bgcolor*="ffffff" i] {
| |
| background: transparent !important;
| |
| color: #c8d0e0 !important;
| |
| }
| |
| .mw-body-content [bgcolor*="adbdcc" i],
| |
| .mw-body-content [style*="adbdcc" i] {
| |
| background: linear-gradient(180deg, rgba(217,189,124,.14), rgba(217,189,124,.03)) !important;
| |
| color: #d9bd7c !important;
| |
| }
| |
| .mw-body-content [bgcolor*="eaf0ff" i],
| |
| .mw-body-content [style*="eaf0ff" i],
| |
| .mw-body-content [bgcolor*="dfe4ff" i],
| |
| .mw-body-content [style*="dfe4ff" i] {
| |
| background: rgba(217,189,124,.04) !important;
| |
| color: #c8d0e0 !important;
| |
| }
| |
| .mw-body-content [style*="6ea9e5" i] {
| |
| border-color: rgba(180,160,110,.28) !important;
| |
| }
| |
|
| |
|
| |
| /* ===== ZenithXI Batch 6: Abyssea Navigation nav-box + Flowchart Map headers (~40 pages) =====
| |
| Template:Abyssea_Navigation's title bar and its 3 quadrant headers (Vision/Scars/Heroes),
| |
| plus the identical #3a1d23 "Linked Zone Map" header hand-copied on every Abyssea zone page. */
| |
|
| |
| .mw-body-content [style*="3a1d23" i],
| |
| .mw-body-content [style*="01155c" i],
| |
| .mw-body-content [style*="510e3a" i],
| |
| .mw-body-content [style*="410e0a" i] {
| |
| background: linear-gradient(180deg, rgba(217,189,124,.14), rgba(217,189,124,.03)) !important;
| |
| color: #d9bd7c !important;
| |
| }
| |
| /* Template:Abyssea Navigation's plain #e8e8e8 rows -- scoped via a "zx-abyssea-nav" class
| |
| added to the template itself (too common a grey to hook globally). */
| |
| .zx-abyssea-nav [style*="e8e8e8" i] {
| |
| background: transparent !important;
| |
| color: #c8d0e0 !important;
| |
| }
| |
|
| |
|
| |
| /* ===== ZenithXI Batch 6: checklist-template family (~10 pages) =====
| |
| Abyssea_Quests_Checklist / All_Missions_Checklist / All_Home_Points_Checklist /
| |
| All_Survival_Guides_Checklist share a purple title bar + item-box border (#8C6395) and pale
| |
| item-box backgrounds (#EEEEFF/#FFEEEE/#EEFFEE). Each mission-line's own one-off saturated
| |
| title color (e.g. #01155C above, #085801, #19437F, ...) is left alone -- already white-text-
| |
| on-dark-color, readable regardless of site theme, not worth per-hex hooking for ~1-2 pages each. */
| |
|
| |
| .mw-body-content [style*="8c6395" 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*="eeeeff" i],
| |
| .mw-body-content [style*="ffeeee" i],
| |
| .mw-body-content [style*="eeffee" i] {
| |
| background: rgba(217,189,124,.035) !important;
| |
| color: #c8d0e0 !important;
| |
| }
| |
|
| |
| /* ===== ZenithXI Batch 6: #dddddd border companion (~65 pages) =====
| |
| Border-only companion color paired with the already-hooked #efeeee/#f5f5f5 pale cells
| |
| across Community guide item-upgrade tables, Dynamis pages, Mission pages, etc. Safe to hook
| |
| globally since it only ever sets border-color, never background or text color on its own. */
| |
|
| |
| .mw-body-content [style*="dddddd" i] {
| |
| border-color: rgba(180,160,110,.28) !important;
| |
| }
| |
|
| |
| /* ===== ZenithXI Batch 6: Template:Imgpop / Template:Zone Quick Travel Row hover-popup boxes =====
| |
| .has-image-popup / .image-popup is the hover-to-reveal item icon tooltip used via {{imgpop}}
| |
| on an enormous fraction of the wiki's pages (every NM loot list, equipment table, etc.), plus
| |
| the zone travel-map popup. Its border is plain #DDDDDD and its background defaults to
| |
| #FFFFFF (or an arbitrary per-call custom color) -- override both directly via the class so
| |
| every popup is theme-consistent regardless of what color a page author originally chose. */
| |
|
| |
| .mw-body-content .image-popup {
| |
| background: linear-gradient(180deg, rgba(30,40,62,.94), rgba(11,15,24,.97)) !important;
| |
| border-color: rgba(180,160,110,.35) !important;
| |
| color: #c8d0e0 !important;
| |
| }
| |
|
| |
| /* ===== ZenithXI Batch 7: universal "Userbox Templates" family (~130+ templates) =====
| |
| Every template in Category:Userbox Templates (Aegis, Abyssea_Complete, Laptop_Player,
| |
| Alchemist, Bastok_Fame, ...) shares one identical boilerplate shell, just with a different
| |
| inner/outer color pair per badge:
| |
| <div style="float:left; border:solid #808080 2px; margin:1px;">
| |
| {| style="...background:#<OUTER>;"
| |
| | style="...background:#<INNER>;...color:black;" | icon
| |
| | style="...color:black;" | text
| |
| |}</div>
| |
| Rather than hooking each badge's own color pair individually (dozens of them, e.g.
| |
| #8b6969/#cdcdb4, #e3c59d/#f5deb3, #e9e9e9, #e0e0e0, #333399/#7777ee, ...), target the shell
| |
| structurally via its universal #808080 border -- this covers every current AND future badge
| |
| in the family regardless of which specific colors it uses. Some badges use color:ivory for
| |
| contrast instead of black (already legible on a dark panel, left alone); color:black is
| |
| scoped-overridden since it would otherwise be unreadable on the new dark background,
| |
| including when nested inside a {{Color|black|...}}-generated inner span. */
| |
|
| |
| div[style*="808080" i] {
| |
| border-color: rgba(180,160,110,.35) !important;
| |
| }
| |
| div[style*="808080" i] table,
| |
| div[style*="808080" i] td,
| |
| div[style*="808080" i] th {
| |
| background: linear-gradient(180deg, rgba(30,40,62,.55), rgba(11,15,24,.92)) !important;
| |
| color: #c8d0e0 !important;
| |
| }
| |
| div[style*="808080" i] [style*="color: black" i],
| |
| div[style*="808080" i] [style*="color:black" i] {
| |
| color: #c8d0e0 !important;
| |
| }
| |
|
| |
|
| |
| /* ===== ZenithXI Batch 7: Relic/AF/Empyrean armor category-nav + Bestiary table palettes =====
| |
| Gaps left by earlier hooks of sibling colors in the same small template families. */
| |
|
| |
| .Standard [style*="686c6e" i],
| |
| .bestiary [style*="686c6e" i] {
| |
| background: linear-gradient(180deg, rgba(217,189,124,.14), rgba(217,189,124,.03)) !important;
| |
| color: #d9bd7c !important;
| |
| }
| |
| .mw-body-content [style*="113843" i],
| |
| .mw-body-content [bgcolor*="113843" i],
| |
| .mw-body-content [style*="214c58" i],
| |
| .mw-body-content [bgcolor*="214c58" i] {
| |
| background: linear-gradient(180deg, rgba(217,189,124,.14), rgba(217,189,124,.03)) !important;
| |
| color: #d9bd7c !important;
| |
| }
| |
| .mw-body-content [style*="ac7e4f" i],
| |
| .mw-body-content [bgcolor*="ac7e4f" i] {
| |
| border-color: rgba(217,189,124,.30) !important;
| |
| }
| |
| .mw-body-content [style*="709bcc" i],
| |
| .mw-body-content [bgcolor*="709bcc" i],
| |
| .mw-body-content [style*="734bb5" i],
| |
| .mw-body-content [bgcolor*="734bb5" i],
| |
| .mw-body-content [style*="c1b288" i],
| |
| .mw-body-content [bgcolor*="c1b288" i] {
| |
| background: linear-gradient(180deg, rgba(217,189,124,.14), rgba(217,189,124,.03)) !important;
| |
| color: #d9bd7c !important;
| |
| }
| |
|
| |
|
| |
| /* ===== ZenithXI Batch 7: AF_+1 slot-label + zone-info two-column headers =====*/
| |
|
| |
| .mw-body-content [style*="c9e8fd" i],
| |
| .mw-body-content [bgcolor*="c9e8fd" i],
| |
| .mw-body-content [style*="d4dded" i],
| |
| .mw-body-content [bgcolor*="d4dded" i],
| |
| .mw-body-content [style*="f5faff" i],
| |
| .mw-body-content [bgcolor*="f5faff" i] {
| |
| background: rgba(217,189,124,.04) !important;
| |
| color: #c8d0e0 !important;
| |
| }
| |
| .mw-body-content [style*="6e96d5" i],
| |
| .mw-body-content [bgcolor*="6e96d5" i] {
| |
| background: linear-gradient(180deg, rgba(217,189,124,.14), rgba(217,189,124,.03)) !important;
| |
| color: #d9bd7c !important;
| |
| }
| |
| .mw-body-content [style*="565657" i] {
| |
| color: #c8d0e0 !important;
| |
| }
| |
|
| |
|
| |
| /* ===== ZenithXI Batch 7: checklist-family (Abyssite/Adoulin/Aeonic/... _Checklist) body cells =====
| |
| These "*_Checklist" templates use the same .bdrdarkblue wrapper class as other already-themed
| |
| collapsible tables, but their own body cells set plain #F5F5F5/#EFEFEF backgrounds directly
| |
| (overriding the table-level dark panel) and a #DEDEDE tier-callout div border-paired with the
| |
| already-hooked #4696CF. Scoped to .bdrdarkblue rather than hooked globally since F5F5F5/EFEFEF
| |
| are too common elsewhere on the wiki. */
| |
|
| |
| .bdrdarkblue [style*="f5f5f5" i],
| |
| .bdrdarkblue [style*="efefef" i] {
| |
| background: transparent !important;
| |
| color: #c8d0e0 !important;
| |
| }
| |
| .bdrdarkblue [style*="dedede" i] {
| |
| background: linear-gradient(180deg, rgba(217,189,124,.14), rgba(217,189,124,.03)) !important;
| |
| color: #d9bd7c !important;
| |
| }
| |
|
| |
| /* ===== ZenithXI Batch 8: job-page mini-infobox (all 22 Job pages, e.g. Bard) ===== */
| |
|
| |
| .mw-body-content [style*="cacaca" i],
| |
| .mw-body-content [bgcolor*="cacaca" i] {
| |
| background: linear-gradient(180deg, rgba(217,189,124,.14), rgba(217,189,124,.03)) !important;
| |
| color: #d9bd7c !important;
| |
| }
| |
| .mw-body-content [style*="ebebeb" i],
| |
| .mw-body-content [bgcolor*="ebebeb" i] {
| |
| background: rgba(217,189,124,.04) !important;
| |
| color: #c8d0e0 !important;
| |
| }
| |
|
| |
|
| |
| /* ===== ZenithXI Batch 8: Guide Equipment Set border (All_Jobs_Gear_Sets/*, ~24 pages) =====
| |
| Set Name Text Shadow (#000080) is a decorative text-shadow, left alone (same precedent as
| |
| the Abyssea Flowchart Map header's shadow) -- only the border-color companion needs a hook. */
| |
|
| |
| .mw-body-content [style*="51414f" i] {
| |
| border-color: rgba(217,189,124,.30) !important;
| |
| }
| |
|
| |
|
| |
| /* ===== ZenithXI Batch 8: "Time Gated Content" warning banner (~22 pages) ===== */
| |
|
| |
| .mw-body-content [style*="ffeeec" i] {
| |
| background: linear-gradient(180deg, rgba(30,40,62,.55), rgba(11,15,24,.92)) !important;
| |
| color: #c8d0e0 !important;
| |
| }
| |
| .mw-body-content [style*="ffa99f" i] {
| |
| border-color: rgba(217,189,124,.30) !important;
| |
| }
| |
|
| |
|
| |
| /* ===== ZenithXI Batch 8: Gobbie Mystery Box reward-table body rows ===== */
| |
|
| |
| .mw-body-content [bgcolor*="e9f1f9" i],
| |
| .mw-body-content [style*="e9f1f9" i] {
| |
| background: rgba(217,189,124,.04) !important;
| |
| color: #c8d0e0 !important;
| |
| }
| |
|
| |
|
| |
| /* ===== ZenithXI Batch 8: mission-walkthrough header (Promathia/CoP missions, ~18 pages) =====
| |
| Table itself already carries class="missions" (dark-paneled), but this header row's own
| |
| background overrides that -- same gap pattern as several earlier batches. */
| |
|
| |
| .mw-body-content [style*="9d5353" i] {
| |
| background: linear-gradient(180deg, rgba(217,189,124,.14), rgba(217,189,124,.03)) !important;
| |
| color: #d9bd7c !important;
| |
| }
| |
|
| |
|
| |
| /* ===== ZenithXI Batch 8: Mog Bonanza event pages (~15-17 yearly pages) =====
| |
| No shared template/class -- anchor off the distinctive #ABABAB border rather than hooking
| |
| the more common #E4E4E4/#EDEDED backgrounds bare. */
| |
|
| |
| .mw-body-content table[style*="ababab" 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*="ababab" i] [style*="ededed" i] {
| |
| background: transparent !important;
| |
| color: #c8d0e0 !important;
| |
| }
| |
|
| |
|
| |
| /* ===== ZenithXI Batch 8: misc small completions ===== */
| |
|
| |
| /* Lore/spoilers collapsible box -- exact-phrase matched (not a bare "ccf" substring) since a
| |
| 3-digit shorthand hex is short enough to coincidentally appear inside unrelated 6-digit
| |
| hexes (e.g. #AACCFF), which a bare substring selector would wrongly catch. */
| |
| .mw-body-content [style*="background-color: #ccf" i],
| |
| .mw-body-content [style*="background-color:#ccf" i] {
| |
| background: linear-gradient(180deg, rgba(30,40,62,.55), rgba(11,15,24,.92)) !important;
| |
| color: #c8d0e0 !important;
| |
| }
| |
|
| |
| /* Moon Phase gate-timing row shade (dungeon zone pages) */
| |
| .mw-body-content [bgcolor*="e3e6ff" i],
| |
| .mw-body-content [style*="e3e6ff" i] {
| |
| background: rgba(217,189,124,.04) !important;
| |
| color: #c8d0e0 !important;
| |
| }
| |
|
| |
| /* Oboro-style reforge table header -- completes existing 4696cf/cee0f2/dfe4ff coverage */
| |
| .mw-body-content [bgcolor*="4499ff" i],
| |
| .mw-body-content [style*="4499ff" i] {
| |
| background: linear-gradient(180deg, rgba(217,189,124,.14), rgba(217,189,124,.03)) !important;
| |
| color: #d9bd7c !important;
| |
| }
| |
|
| |
| /* ===== ZenithXI Batch 9: mission-list category pages (Bastok/Windurst/San d'Oria/Zilart/
| |
| Promathia/Aht Urhgan/Wings of the Goddess/Seekers of Adoulin/Rhapsodies/Crystalline/
| |
| A Moogle Kupo d'Etat/A Shantotto Ascension/Abyssea/Voidwatch/Voracious Resurgence Missions) =====
| |
| Each of these hand-copies an identical table structure (outer table with color:black, header
| |
| row + rank/divider cells via BGCOLOR=, body rows via BGCOLOR=) but with its OWN distinct
| |
| 4-color palette per nation/expansion (e.g. Bastok navy #1A1C80/#5B6693/#C5C6DF, San d'Oria
| |
| maroon #36070F/#6E3941/#F5A4B1, Zilart rust #8C3D0C/#F2D09D). Rather than enumerating every
| |
| page's own palette, add a shared "zx-mission-list" class to each page's outer table and
| |
| neutralize every BGCOLOR fill to transparent -- each page's own <span style="color:..."> on
| |
| its header/rank-number text (e.g. Bastok's gold #E9DC76) is left untouched, so once the
| |
| background goes transparent that accent color naturally reads as a themed header color
| |
| against the dark page background, still distinct per nation, with zero per-page color
| |
| enumeration needed. */
| |
|
| |
| .zx-mission-list {
| |
| color: #c8d0e0 !important;
| |
| }
| |
| .zx-mission-list [bgcolor] {
| |
| background: transparent !important;
| |
| }
| |
|
| |
| /* Batch 9 follow-up: some mission-list pages (e.g. Rhapsodies of Vanadiel Missions) shade rows
| |
| via style="background: #hex" rather than the bgcolor= HTML attribute -- catch both forms. */
| |
| .zx-mission-list [style*="background" i] {
| |
| background: transparent !important;
| |
| }
| |
|
| |
| /* ===== ZenithXI Batch 9 refinement: give zx-mission-list the same polished "card" look as the
| |
| Job Ratings table (Category:Sword) -- dark panel background, gold-wash header/label cells,
| |
| a visible cell grid, and zebra striping -- instead of the flatter transparent-only treatment
| |
| from the first pass. Higher specificity (th/td type selectors) than the earlier blanket
| |
| [bgcolor]/[style*="background"] rule guarantees these win regardless of source order. */
| |
|
| |
| .zx-mission-list {
| |
| 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 !important;
| |
| }
| |
| .zx-mission-list th,
| |
| .zx-mission-list td {
| |
| border: 1px solid rgba(127,138,163,.14) !important;
| |
| padding: 6px 10px !important;
| |
| }
| |
| .zx-mission-list th[bgcolor],
| |
| .zx-mission-list th[style*="background" i] {
| |
| background: linear-gradient(180deg, rgba(217,189,124,.14), rgba(217,189,124,.03)) !important;
| |
| border-color: rgba(217,189,124,.30) !important;
| |
| }
| |
| .zx-mission-list td[bgcolor],
| |
| .zx-mission-list td[style*="background" i] {
| |
| background: transparent !important;
| |
| }
| |
| .zx-mission-list > * > tr:nth-child(even) > td {
| |
| background: rgba(217,189,124,.035) !important;
| |
| }
| |
| .zx-mission-list > * > tr:hover > td {
| |
| background: rgba(217,189,124,.09) !important;
| |
| }
| |
|
| |
| /* ===== ZenithXI Batch 10: Job Specific Armor Set boxes (Category:Armor + ~39 sibling
| |
| job/weapon-category overview pages sharing the "Standard C-Highlight..." table family) =====
| |
| Same bgcolor-vs-style gotcha as earlier batches: these tables paint their title bar, thin
| |
| divider row, and pale body fully via the bgcolor= HTML attribute rather than style=, so the
| |
| existing style*= hooks for these exact hex values (added for other templates that happened
| |
| to use style=) never matched here. New rules below close the attribute-form gap for each --
| |
| no new colors, no template edits, same treatment as the sibling style*= rule in each case. */
| |
|
| |
| .mw-body-content [bgcolor*="0966a7" i],
| |
| .mw-body-content [bgcolor*="5e3c43" i] {
| |
| background: linear-gradient(180deg, rgba(217,189,124,.14), rgba(217,189,124,.03)) !important;
| |
| color: #d9bd7c !important;
| |
| }
| |
| .Standard [bgcolor*="4b4d4f" i],
| |
| .bestiary [bgcolor*="4b4d4f" i],
| |
| .Standard [bgcolor*="686c6e" i],
| |
| .bestiary [bgcolor*="686c6e" i] {
| |
| background: linear-gradient(180deg, rgba(217,189,124,.14), rgba(217,189,124,.03)) !important;
| |
| color: #d9bd7c !important;
| |
| }
| |
| .mw-body-content [bgcolor*="3a1d23" i] {
| |
| background: linear-gradient(180deg, rgba(217,189,124,.14), rgba(217,189,124,.03)) !important;
| |
| color: #d9bd7c !important;
| |
| }
| |
| .mw-body-content [bgcolor*="efeeee" i] {
| |
| background: rgba(217,189,124,.04) !important;
| |
| color: #c8d0e0 !important;
| |
| }
| |