MediaWiki:Common.css: Difference between revisions
Appearance
Content deleted Content added
No edit summary |
No edit summary |
||
| (76 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
@import url("https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700&family=Crimson+Text:ital,wght@0,400;0,600;0,700;1,400&display=swap"); |
|||
/* ======================================================================== |
/* ======================================================================== |
||
ERINDAL WIKI - |
ERINDAL WIKI - VECTOR-2022.CSS v1.1 |
||
Target: MediaWiki 1.43.x, |
Target: MediaWiki 1.43.x, Vector 2022 |
||
The skin shell, Erindal navigation, responsive layout and colour modes |
|||
are defined here. Designed article systems remain skin-independent below. |
|||
======================================================================== */ |
======================================================================== */ |
||
:root { |
:root { |
||
--ew-sidebar: 276px; |
--ew-sidebar-open: 276px; |
||
--ew-sidebar: var(--ew-sidebar-open); |
|||
--ew-topbar: 56px; |
--ew-topbar: 56px; |
||
--ew-content-max: calc(100vw - var(--ew-sidebar)); |
|||
--ew-dark-0: #02070a; |
--ew-dark-0: #02070a; |
||
--ew-dark-1: #061119; |
--ew-dark-1: #061119; |
||
| Line 20: | Line 21: | ||
--ew-border: rgba(111, 86, 54, .34); |
--ew-border: rgba(111, 86, 54, .34); |
||
--ew-link: #0c4771; |
--ew-link: #0c4771; |
||
--ew-canvas: var(--ew-paper); |
|||
--ew-canvas-soft: var(--ew-paper-light); |
|||
--ew-text: var(--ew-ink); |
|||
--ew-heading: #181512; |
|||
--ew-rule: rgba(91, 70, 44, .32); |
|||
--ew-message: rgba(255, 255, 255, .44); |
|||
--ew-shadow: rgba(35, 25, 16, .17); |
|||
color-scheme: light; |
|||
} |
} |
||
html |
html.ew-sidebar-collapsed { |
||
--ew-sidebar: 0px; |
|||
} |
|||
html[data-ew-theme="dark"] { |
|||
--ew-canvas: #11191d; |
|||
--ew-canvas-soft: #182329; |
|||
--ew-text: #e9e1d6; |
|||
--ew-heading: #f1ddb1; |
|||
--ew-border: rgba(210, 172, 101, .28); |
|||
--ew-link: #8fc8ec; |
|||
--ew-rule: rgba(210, 172, 101, .25); |
|||
--ew-message: rgba(31, 45, 52, .92); |
|||
--ew-shadow: rgba(0, 0, 0, .34); |
|||
/* Shared component tokens used by TemplateStyles. These are deliberately |
|||
undefined in light mode, where every article keeps its own palette. */ |
|||
--ew-component-canvas: #11191d; |
|||
--ew-component-surface: #182329; |
|||
--ew-component-surface-alt: #202d33; |
|||
--ew-component-hover: #263941; |
|||
--ew-component-text: #eee5d8; |
|||
--ew-component-heading: #f0d79c; |
|||
--ew-component-muted: #c6bcae; |
|||
--ew-component-link: #8fc8ec; |
|||
--ew-component-accent: #dfb66f; |
|||
--ew-component-border: rgba(210, 172, 101, .24); |
|||
--ew-component-shadow: rgba(0, 0, 0, .30); |
|||
--ew-component-sheen: rgba(255, 255, 255, .035); |
|||
--ew-component-card: rgba(32, 45, 51, .92); |
|||
--ew-component-card-hover: rgba(41, 58, 65, .96); |
|||
--ew-component-image-blend: normal; |
|||
--ew-component-image-filter: none; |
|||
color-scheme: dark; |
|||
} |
|||
@media (prefers-color-scheme: dark) { |
|||
html[data-ew-theme="system"] { |
|||
--ew-canvas: #11191d; |
|||
--ew-canvas-soft: #182329; |
|||
--ew-text: #e9e1d6; |
|||
--ew-heading: #f1ddb1; |
|||
--ew-border: rgba(210, 172, 101, .28); |
|||
--ew-link: #8fc8ec; |
|||
--ew-rule: rgba(210, 172, 101, .25); |
|||
--ew-message: rgba(31, 45, 52, .92); |
|||
--ew-shadow: rgba(0, 0, 0, .34); |
|||
--ew-component-canvas: #11191d; |
|||
--ew-component-surface: #182329; |
|||
--ew-component-surface-alt: #202d33; |
|||
--ew-component-hover: #263941; |
|||
--ew-component-text: #eee5d8; |
|||
--ew-component-heading: #f0d79c; |
|||
--ew-component-muted: #c6bcae; |
|||
--ew-component-link: #8fc8ec; |
|||
--ew-component-accent: #dfb66f; |
|||
--ew-component-border: rgba(210, 172, 101, .24); |
|||
--ew-component-shadow: rgba(0, 0, 0, .30); |
|||
--ew-component-sheen: rgba(255, 255, 255, .035); |
|||
--ew-component-card: rgba(32, 45, 51, .92); |
|||
--ew-component-card-hover: rgba(41, 58, 65, .96); |
|||
--ew-component-image-blend: normal; |
|||
--ew-component-image-filter: none; |
|||
color-scheme: dark; |
|||
} |
|||
} |
|||
/* ======================================================================== |
|||
PAGE THEME POLICY |
|||
Common.css owns shared layout, typography and component behaviour. |
|||
Individual designed pages continue to set their own palette variables. |
|||
======================================================================== */ |
|||
html, |
|||
body { |
|||
min-width: 0 !important; |
|||
background: var(--ew-dark-0) !important; |
background: var(--ew-dark-0) !important; |
||
} |
} |
||
body { |
body { |
||
margin: 0 !important; |
|||
color: var(--ew-text); |
|||
font-family: "Crimson Text", Georgia, serif; |
|||
font-family: "Alegreya", Georgia, serif; |
|||
} |
} |
||
/* ---------- |
/* ---------- VECTOR 2022 SHELL RESET ---------- */ |
||
#mw-panel { |
|||
body.skin-vector-2022 .vector-header-container, |
|||
body.skin-vector-2022 .vector-sticky-header, |
|||
body.skin-vector-2022 .vector-column-start, |
|||
body.skin-vector-2022 .vector-column-end, |
|||
body.skin-vector-2022 .vector-sitenotice-container, |
|||
body.skin-vector-2022 .vector-toc-landmark, |
|||
body.skin-vector-2022 #vector-main-menu-pinned-container, |
|||
body.skin-vector-2022 #vector-page-tools-pinned-container, |
|||
body.skin-vector-2022 #p-search { |
|||
display: none !important; |
|||
} |
|||
body.skin-vector-2022 .mw-page-container, |
|||
body.skin-vector-2022 .mw-page-container-inner, |
|||
body.skin-vector-2022 .mw-content-container, |
|||
body.skin-vector-2022 .vector-body, |
|||
body.skin-vector-2022 .vector-body-before-content, |
|||
body.skin-vector-2022 .vector-page-titlebar, |
|||
body.skin-vector-2022 .vector-page-toolbar-container, |
|||
body.skin-vector-2022 .vector-page-toolbar, |
|||
body.skin-vector-2022 .vector-page-tools-landmark { |
|||
box-sizing: border-box !important; |
|||
width: 100% !important; |
|||
max-width: none !important; |
|||
} |
|||
body.skin-vector-2022 .mw-page-container { |
|||
min-height: 100vh !important; |
|||
margin: 0 !important; |
|||
padding: 0 !important; |
|||
background: var(--ew-dark-0) !important; |
|||
border: 0 !important; |
|||
box-shadow: none !important; |
|||
} |
|||
body.skin-vector-2022 .mw-page-container-inner { |
|||
display: block !important; |
|||
margin: 0 !important; |
|||
padding: 0 !important; |
|||
} |
|||
body.skin-vector-2022 .mw-content-container { |
|||
margin: 0 !important; |
|||
} |
|||
/* ---------- ERINDAL SIDEBAR ---------- */ |
|||
#ew-sidebar { |
|||
position: fixed !important; |
position: fixed !important; |
||
z-index: |
z-index: 160 !important; |
||
inset: 0 auto 0 0 !important; |
|||
width: var(--ew-sidebar-open) !important; |
|||
bottom: 0; |
|||
width: var(--ew-sidebar) !important; |
|||
overflow-y: auto; |
|||
padding: 0 16px 24px !important; |
padding: 0 16px 24px !important; |
||
overflow-x: hidden !important; |
|||
box-sizing: border-box; |
|||
overflow-y: auto !important; |
|||
box-sizing: border-box !important; |
|||
color: #f4eee3 !important; |
|||
background: |
background: |
||
radial-gradient(circle at 45% 0%, rgba(58, 83, 98, .25), transparent 300px), |
radial-gradient(circle at 45% 0%, rgba(58, 83, 98, .25), transparent 300px), |
||
linear-gradient(180deg, #0b1a23 0%, #041019 58%, #020a0f 100%) !important; |
linear-gradient(180deg, #0b1a23 0%, #041019 58%, #020a0f 100%) !important; |
||
border-right: 2px solid rgba(125, 102, 69, .52); |
border-right: 2px solid rgba(125, 102, 69, .52) !important; |
||
box-shadow: inset -12px 0 24px rgba(0,0,0,.38), 4px 0 18px rgba(0,0,0,.18); |
box-shadow: inset -12px 0 24px rgba(0, 0, 0, .38), 4px 0 18px rgba(0, 0, 0, .18) !important; |
||
transform: translateX(0); |
|||
color: #f4eee3; |
|||
transition: transform .18s ease !important; |
|||
} |
} |
||
html.ew-sidebar-collapsed #ew-sidebar { |
|||
/* Decorative corners */ |
|||
transform: translateX(-100%); |
|||
#mw-panel::before, |
|||
} |
|||
#mw-panel::after { |
|||
#ew-sidebar::before, |
|||
#ew-sidebar::after { |
|||
content: ""; |
content: ""; |
||
position: |
position: absolute; |
||
z-index: |
z-index: 1; |
||
top: 4px; |
top: 4px; |
||
width: 18px; |
width: 18px; |
||
height: 18px; |
height: 18px; |
||
border-color: rgba(207,163,80,.62); |
border-color: rgba(207, 163, 80, .62); |
||
border-style: solid; |
border-style: solid; |
||
pointer-events: none; |
pointer-events: none; |
||
} |
} |
||
#mw-panel::before { left: 4px; border-width: 1px 0 0 1px; } |
|||
#mw-panel::after { left: calc(var(--ew-sidebar) - 23px); border-width: 1px 1px 0 0; } |
|||
#ew-sidebar::before { |
|||
/* Replace default Vector logo area with Erindal wordmark */ |
|||
left: 4px; |
|||
#p-logo { |
|||
border-width: 1px 0 0 1px; |
|||
position: relative !important; |
|||
top: auto !important; |
|||
left: auto !important; |
|||
width: calc(var(--ew-sidebar) - 32px) !important; |
|||
height: 126px !important; |
|||
margin: 0 0 12px !important; |
|||
border-bottom: 1px solid rgba(139,116,79,.45); |
|||
} |
} |
||
#p-logo a { |
|||
#ew-sidebar::after { |
|||
position: absolute !important; |
|||
right: 4px; |
|||
width: |
border-width: 1px 1px 0 0; |
||
height: 100% !important; |
|||
background: none !important; |
|||
z-index: 5; |
|||
} |
} |
||
#p-logo::before { |
|||
.ew-sidebar-brand, |
|||
.ew-sidebar-brand:visited { |
|||
position: relative; |
|||
display: block; |
|||
height: 126px; |
|||
margin: 0 0 12px; |
|||
color: var(--ew-gold-soft) !important; |
|||
border-bottom: 1px solid rgba(139, 116, 79, .45); |
|||
text-decoration: none !important; |
|||
} |
|||
.ew-sidebar-brand::before { |
|||
content: ""; |
content: ""; |
||
position: absolute; |
position: absolute; |
||
| Line 91: | Line 229: | ||
width: 72px; |
width: 72px; |
||
height: 72px; |
height: 72px; |
||
background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cg fill='none' stroke='%23d6a74d' stroke-width='3'%3E%3Ccircle cx='50' cy='50' r='30'/%3E%3Cpath d='M50 6L58 41L94 50L58 59L50 94L42 59L6 50L42 41Z'/%3E%3Cpath d='M50 17L53 44L83 50L53 56L50 83L47 56L17 50L47 44Z'/%3E%3C/g%3E%3Ccircle cx='50' cy='50' r='5' fill='%23d6a74d'/%3E%3C/svg%3E"); |
|||
background-repeat: no-repeat; |
|||
filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .5)); |
|||
background-size: contain; |
|||
background-position: center; |
|||
filter: drop-shadow(0 2px 2px rgba(0,0,0,.5)); |
|||
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cg fill='none' stroke='%23d6a74d' stroke-width='3'%3E%3Ccircle cx='50' cy='50' r='30'/%3E%3Cpath d='M50 6L58 41L94 50L58 59L50 94L42 59L6 50L42 41Z'/%3E%3Cpath d='M50 17L53 44L83 50L53 56L50 83L47 56L17 50L47 44Z'/%3E%3C/g%3E%3Ccircle cx='50' cy='50' r='5' fill='%23d6a74d'/%3E%3C/svg%3E"); |
|||
} |
} |
||
#p-logo::after { |
|||
.ew-sidebar-brand::after { |
|||
content: "ERINDAL\A WIKI"; |
content: "ERINDAL\A WIKI"; |
||
white-space: pre; |
|||
position: absolute; |
position: absolute; |
||
left: 101px; |
left: 101px; |
||
top: 28px; |
top: 28px; |
||
white-space: pre; |
|||
color: var(--ew-gold-soft); |
color: var(--ew-gold-soft); |
||
font: 700 27px/1.05 "Cinzel", Georgia, serif; |
font: 700 27px/1.05 "Cinzel Decorative", "Cinzel", Georgia, serif; |
||
letter-spacing: . |
letter-spacing: .055em; |
||
text-shadow: 0 2px 2px rgba(0,0,0,.65); |
text-shadow: 0 2px 2px rgba(0, 0, 0, .65); |
||
} |
} |
||
.ew-sidebar-section { |
|||
/* Sidebar sections */ |
|||
#mw-panel .portal { |
|||
background: none !important; |
|||
margin: 0 !important; |
margin: 0 !important; |
||
padding: 0 0 18px !important; |
padding: 0 0 18px !important; |
||
border-bottom: 1px solid rgba(139,116,79,.46); |
border-bottom: 1px solid rgba(139, 116, 79, .46) !important; |
||
} |
} |
||
#mw-panel .portal + .portal { margin-top: 18px !important; } |
|||
.ew-sidebar-section + .ew-sidebar-section { |
|||
#mw-panel .portal h3 { |
|||
margin-top: 18px !important; |
|||
} |
|||
.ew-sidebar-section h2 { |
|||
margin: 0 0 9px 12px !important; |
margin: 0 0 9px 12px !important; |
||
padding: 0 !important; |
padding: 0 !important; |
||
color: #b9ad9a !important; |
color: #b9ad9a !important; |
||
background: none !important; |
background: none !important; |
||
border: 0 !important; |
|||
font: 400 13px/1.2 "Almendra SC", "Cinzel", Georgia, serif !important; |
|||
text-transform: uppercase; |
|||
letter-spacing: . |
letter-spacing: .07em !important; |
||
text-transform: uppercase !important; |
|||
} |
} |
||
#mw-panel .portal .body { |
|||
.ew-sidebar-section ul { |
|||
margin: 0 !important; |
margin: 0 !important; |
||
padding: 0 !important; |
padding: 0 !important; |
||
list-style: none !important; |
|||
} |
} |
||
#mw-panel .portal .body ul { margin: 0 !important; list-style: none !important; } |
|||
.ew-sidebar-section li { |
|||
#mw-panel .portal .body li { |
|||
margin: 2px 0 !important; |
margin: 2px 0 !important; |
||
padding: 0 !important; |
padding: 0 !important; |
||
font-size: 15px !important; |
|||
line-height: 1.2 !important; |
|||
} |
} |
||
#mw-panel .portal .body li a, |
|||
.ew-sidebar-section a, |
|||
#mw-panel .portal .body li a:visited { |
|||
.ew-sidebar-section a:visited { |
|||
position: relative; |
position: relative; |
||
display: block; |
display: block; |
||
padding: 7px 8px 7px 39px !important; |
padding: 7px 8px 7px 39px !important; |
||
color: #f1ede6 !important; |
color: #f1ede6 !important; |
||
text-decoration: none !important; |
|||
border-radius: 2px; |
border-radius: 2px; |
||
font: 400 16px/1.2 "Almendra SC", "Cinzel", Georgia, serif !important; |
|||
letter-spacing: .012em; |
|||
text-decoration: none !important; |
|||
} |
} |
||
#mw-panel .portal .body li a:hover { |
|||
.ew-sidebar-section a::before { |
|||
color: var(--ew-gold-soft) !important; |
|||
background: linear-gradient(90deg, rgba(35,67,93,.72), rgba(22,43,57,.20)); |
|||
} |
|||
#mw-panel .portal .body li a::before { |
|||
content: "◆"; |
content: "◆"; |
||
position: absolute; |
position: absolute; |
||
| Line 159: | Line 296: | ||
width: 16px; |
width: 16px; |
||
color: #98a09e; |
color: #98a09e; |
||
text-align: center; |
|||
font-size: 11px; |
font-size: 11px; |
||
text-align: center; |
|||
} |
} |
||
#mw-panel .portal:first-of-type .body li:first-child a { |
|||
.ew-sidebar-section a:hover, |
|||
.ew-sidebar-section a:focus { |
|||
color: var(--ew-gold-soft) !important; |
color: var(--ew-gold-soft) !important; |
||
background: linear-gradient(90deg, rgba(35,67,93,. |
background: linear-gradient(90deg, rgba(35, 67, 93, .72), rgba(22, 43, 57, .20)); |
||
} |
} |
||
#mw-panel .portal:first-of-type .body li:first-child a::before { content: "⌂"; color: var(--ew-gold-soft); font-size: 18px; top: 4px; } |
|||
.ew-sidebar-section:first-of-type li:first-child a { |
|||
/* Hide default sidebar toolbox/footer links we don't need in the fantasy navigation */ |
|||
color: var(--ew-gold-soft) !important; |
|||
background: linear-gradient(90deg, rgba(35, 67, 93, .95), rgba(22, 43, 57, .42)); |
|||
} |
|||
.ew-sidebar-section:first-of-type li:first-child a::before { |
|||
content: "⌂"; |
|||
top: 4px; |
|||
color: var(--ew-gold-soft); |
|||
font-size: 18px; |
|||
} |
|||
/* --- |
/* ---------- CONTENT CANVAS ---------- */ |
||
#mw-page-base { |
|||
body.skin-vector-2022 #content { |
|||
margin-left: var(--ew-sidebar) !important; |
|||
min-height: calc(100vh - var(--ew-topbar)); |
|||
margin: 0 0 0 var(--ew-sidebar) !important; |
|||
padding: calc(var(--ew-topbar) + 28px) 42px 44px !important; |
|||
color: var(--ew-text) !important; |
|||
background: |
|||
linear-gradient(180deg, rgba(255, 255, 255, .12), transparent 230px), |
|||
repeating-linear-gradient(45deg, rgba(119, 91, 49, .012), rgba(119, 91, 49, .012) 2px, transparent 2px, transparent 7px), |
|||
var(--ew-canvas) !important; |
|||
border: 0 !important; |
|||
transition: margin-left .18s ease !important; |
|||
} |
} |
||
body.skin-vector-2022 #content a, |
|||
body.skin-vector-2022 #content a:visited { |
|||
#mw-panel .mw-portlet { |
|||
color: var(--ew-link); |
|||
background: none !important; |
|||
margin: 0 !important; |
|||
padding: 0 0 18px !important; |
|||
border-bottom: 1px solid rgba(139,116,79,.46) !important; |
|||
} |
} |
||
#mw-panel .vector-menu-portal + .vector-menu-portal, |
|||
#mw-panel .mw-portlet + .mw-portlet { margin-top: 18px !important; } |
|||
body.skin-vector-2022 #content a:hover, |
|||
#mw-panel .vector-menu-heading, |
|||
body.skin-vector-2022 #content a:focus { |
|||
#mw-panel .vector-menu-heading-label, |
|||
color: color-mix(in srgb, var(--ew-link) 70%, var(--ew-gold)); |
|||
#mw-panel .mw-portlet h3 { |
|||
} |
|||
height: auto !important; |
|||
margin: 0 0 9px 12px !important; |
|||
#firstHeading, |
|||
#content h1, |
|||
#content h2, |
|||
#content h3, |
|||
#content h4, |
|||
#content h5, |
|||
#content h6 { |
|||
color: var(--ew-heading); |
|||
} |
|||
#firstHeading { |
|||
border-bottom-color: var(--ew-rule) !important; |
|||
} |
|||
body.skin-vector-2022 .vector-page-toolbar { |
|||
margin: 0 0 1.25rem !important; |
|||
border-bottom-color: var(--ew-rule) !important; |
|||
} |
|||
body.skin-vector-2022 .vector-page-toolbar a, |
|||
body.skin-vector-2022 .vector-page-toolbar button, |
|||
body.skin-vector-2022 .vector-page-toolbar .vector-menu-heading { |
|||
color: var(--ew-text) !important; |
|||
} |
|||
body.skin-vector-2022 .vector-dropdown-content, |
|||
body.skin-vector-2022 .vector-menu-content { |
|||
color: var(--ew-text); |
|||
background-color: var(--ew-canvas-soft); |
|||
border-color: var(--ew-border); |
|||
} |
|||
.mw-parser-output .wikitable { |
|||
color: var(--ew-text) !important; |
|||
background: var(--ew-canvas-soft) !important; |
|||
border-color: var(--ew-border) !important; |
|||
} |
|||
.mw-parser-output .wikitable > * > tr > th { |
|||
color: var(--ew-heading) !important; |
|||
background: color-mix(in srgb, var(--ew-canvas-soft) 82%, var(--ew-gold) 18%) !important; |
|||
} |
|||
.mw-parser-output .wikitable > * > tr > th, |
|||
.mw-parser-output .wikitable > * > tr > td, |
|||
.mw-parser-output pre, |
|||
.mw-parser-output code { |
|||
border-color: var(--ew-border) !important; |
|||
} |
|||
.mw-parser-output pre { |
|||
color: var(--ew-text) !important; |
|||
background: var(--ew-canvas-soft) !important; |
|||
} |
|||
.toc, |
|||
.vector-toc, |
|||
.catlinks, |
|||
.mw-warning, |
|||
.mw-message-box { |
|||
color: var(--ew-text) !important; |
|||
background: var(--ew-message) !important; |
|||
border-color: var(--ew-border) !important; |
|||
} |
|||
body.skin-vector-2022 #footer { |
|||
box-sizing: border-box; |
|||
width: auto !important; |
|||
max-width: none !important; |
|||
margin: 0 0 0 var(--ew-sidebar) !important; |
|||
padding: 17px 28px 19px !important; |
|||
color: #c8c2b7 !important; |
|||
background: linear-gradient(180deg, rgba(18, 39, 51, .22), rgba(6, 17, 25, 0) 55%), #061119 !important; |
|||
border-top: 1px solid rgba(197, 157, 79, .36); |
|||
transition: margin-left .18s ease !important; |
|||
} |
|||
#footer #footer-info, |
|||
#footer #footer-info li, |
|||
#footer #footer-info-lastmod, |
|||
#footer #footer-info-copyright { |
|||
color: #bdb7ac !important; |
|||
} |
|||
#footer #footer-info { |
|||
margin: 0 0 .55rem !important; |
|||
padding: 0 !important; |
padding: 0 !important; |
||
font-size: .84rem !important; |
|||
line-height: 1.45 !important; |
|||
font: 600 12px/1.2 "Cinzel", Georgia, serif !important; |
|||
text-transform: uppercase !important; |
|||
letter-spacing: .055em !important; |
|||
} |
} |
||
#mw-panel .vector-menu-content, |
|||
#footer #footer-places { |
|||
#mw-panel .vector-menu-content-list { margin:0 !important; padding:0 !important; background:none !important; } |
|||
display: flex !important; |
|||
flex-wrap: wrap; |
|||
#mw-panel .vector-menu-content-list li { |
|||
gap: .35rem 1rem; |
|||
margin: 2px 0 !important; |
|||
margin: 0 !important; |
|||
padding: 0 !important; |
padding: 0 !important; |
||
font-size: 15px !important; |
|||
line-height: 1.2 !important; |
|||
} |
} |
||
#mw-panel .vector-menu-content-list li a, |
|||
#footer #footer-places li { |
|||
#mw-panel .vector-menu-content-list li a:visited { |
|||
float: none !important; |
|||
margin: 0 !important; |
|||
padding: |
padding: 0 !important; |
||
} |
|||
color: #f1ede6 !important; |
|||
#footer a, |
|||
#footer a:visited { |
|||
color: #d1b66d !important; |
|||
text-decoration: none !important; |
text-decoration: none !important; |
||
border-radius: 2px !important; |
|||
} |
} |
||
#mw-panel .vector-menu-content-list li a:hover { |
|||
#footer a:hover, |
|||
color: var(--ew-gold-soft) !important; |
|||
#footer a:focus { |
|||
background: linear-gradient(90deg,rgba(35,67,93,.72),rgba(22,43,57,.20)) !important; |
|||
color: #fff0bd !important; |
|||
text-decoration: underline !important; |
|||
} |
} |
||
#mw-panel .vector-menu-content-list li a::before { |
|||
#footer #footer-icons { |
|||
content: "◆"; |
|||
display: none !important; |
|||
position:absolute; left:14px; top:7px; width:16px; |
|||
color:#98a09e; text-align:center; font-size:11px; |
|||
} |
} |
||
#p-navigation .vector-menu-content-list li:first-child a { |
|||
/* ---------- MAIN PAGE ---------- */ |
|||
color: var(--ew-gold-soft) !important; |
|||
background: linear-gradient(90deg,rgba(35,67,93,.95),rgba(22,43,57,.42)) !important; |
|||
body.page-Main_Page #content { |
|||
padding: var(--ew-topbar) 0 0 !important; |
|||
background: var(--ew-dark-0) !important; |
|||
} |
} |
||
#p-navigation .vector-menu-content-list li:first-child a::before { content:"⌂"; color:var(--ew-gold-soft); font-size:18px; top:4px; } |
|||
body.page-Main_Page #firstHeading, |
|||
body.page-Main_Page #siteSub, |
|||
body.page-Main_Page #contentSub, |
|||
body.page-Main_Page .mw-indicators, |
|||
body.page-Main_Page .catlinks, |
|||
body.page-Main_Page .vector-page-titlebar, |
|||
body.page-Main_Page .vector-page-toolbar-container, |
|||
body.page-Main_Page #jump-to-nav, |
|||
body.page-Main_Page .toc, |
|||
body.page-Main_Page #toc { |
|||
display: none !important; |
|||
} |
|||
body.page-Main_Page #bodyContent, |
|||
/* Vector 1.43 link text lives inside spans; style those explicitly. */ |
|||
body.page-Main_Page #mw-content-text, |
|||
#mw-panel .mw-list-item > a, |
|||
body.page-Main_Page .mw-parser-output { |
|||
#mw-panel .mw-list-item > a:visited { |
|||
margin: 0 !important; |
|||
padding: 0 !important; |
|||
padding: 7px 8px 7px 39px !important; |
|||
color: #f1ede6 !important; |
|||
text-decoration: none !important; |
|||
border-radius: 2px !important; |
|||
font: 15px/1.2 "Crimson Text", Georgia, serif !important; |
|||
} |
} |
||
#mw-panel .mw-list-item > a > span, |
|||
body.page-Main_Page .mw-parser-output > p:empty { |
|||
display: none; |
|||
color: inherit !important; |
|||
font: inherit !important; |
|||
} |
} |
||
#mw-panel .mw-list-item > a:hover { |
|||
body.page-Main_Page .ew-home { |
|||
color: var(--ew-gold-soft) !important; |
|||
width: 100% !important; |
|||
background: linear-gradient(90deg, rgba(35,67,93,.72), rgba(22,43,57,.20)) !important; |
|||
max-width: none !important; |
|||
} |
} |
||
#mw-panel .mw-list-item > a::before { |
|||
/* ---------- GENERAL ARTICLE WIDTH ---------- */ |
|||
content: "◆"; |
|||
position: absolute; |
|||
body:not(.page-Main_Page) .mw-parser-output { |
|||
left: 14px; |
|||
max-width: 1180px; |
|||
width: 16px; |
|||
color: #98a09e; |
|||
text-align: center; |
|||
font-size: 11px; |
|||
} |
} |
||
#p-navigation .mw-list-item:first-child > a { |
|||
body:not(.page-Main_Page) .mw-parser-output p { |
|||
color: var(--ew-gold-soft) !important; |
|||
font-size: 16px; |
|||
background: linear-gradient(90deg, rgba(35,67,93,.95), rgba(22,43,57,.42)) !important; |
|||
line-height: 1.58; |
|||
} |
} |
||
#p-navigation .mw-list-item:first-child > a::before { content: "⌂"; color: var(--ew-gold-soft); font-size: 18px; top: 4px; } |
|||
body:not(.page-Main_Page) .mw-parser-output h2 { |
|||
/* Never show an auto-generated TOC on the front page. */ |
|||
margin-top: 1.5em; |
|||
body.page-Main_Page .toc, |
|||
padding-bottom: 5px; |
|||
body.page-Main_Page #toc { display: none !important; } |
|||
border-bottom: 1px solid var(--ew-rule); |
|||
} |
|||
.mw-editsection { |
|||
font-family: Arial, sans-serif; |
|||
font-size: 11px; |
|||
} |
|||
/* MediaWiki file markup wrappers */ |
/* MediaWiki file markup wrappers */ |
||
.ew-hero-image > span |
.ew-hero-image > span, |
||
.ew- |
.ew-hero-image > a, |
||
.ew- |
.ew-map-image > span, |
||
.ew-map-image > a, |
|||
.ew-strip > span, .ew-strip > a { display:block !important; width:100% !important; height:100% !important; } |
|||
.ew-feature-image > span, |
|||
.ew-feature-image > a, |
|||
.ew-strip > span, |
|||
.ew-strip > a, |
|||
.ew-hero-image .mw-file-description, |
.ew-hero-image .mw-file-description, |
||
.ew-map-image .mw-file-description, |
.ew-map-image .mw-file-description, |
||
.ew-feature-image .mw-file-description, |
.ew-feature-image .mw-file-description, |
||
.ew-strip .mw-file-description { |
.ew-strip .mw-file-description { |
||
display: block !important; |
|||
width: 100% !important; |
|||
height: 100% !important; |
|||
} |
|||
/* ---------- GLOBAL TOPBAR (inserted by MediaWiki:Common.js) ---------- */ |
|||
/* ======================================================================== |
|||
#ew-global-topbar { |
|||
TYPOGRAPHY - CONSOLIDATED CURRENT STATE |
|||
position: fixed; |
|||
z-index: 100; |
|||
Final values from the former v4.4-v4.8 typography passes. Older font |
|||
top: 0; |
|||
experiments were removed so each element has one authoritative rule. |
|||
left: var(--ew-sidebar); |
|||
======================================================================== */ |
|||
right: auto; |
|||
width: min(calc(100vw - var(--ew-sidebar)), var(--ew-content-max)); |
|||
/* Readable body/lore face. */ |
|||
height: var(--ew-topbar); |
|||
html body, |
|||
#content, |
|||
#bodyContent, |
|||
#mw-content-text, |
|||
.mw-parser-output, |
|||
.mw-parser-output p, |
|||
.mw-parser-output li, |
|||
.mw-parser-output td, |
|||
.mw-parser-output th, |
|||
.mw-parser-output dd, |
|||
.mw-parser-output dt, |
|||
.ew-home, |
|||
.ew-panel p, |
|||
.ew-card small, |
|||
.ew-recent-row, |
|||
.ew-global-search input[type="search"] { |
|||
font-family: "Alegreya", Georgia, serif !important; |
|||
font-weight: 400 !important; |
|||
} |
|||
#ew-server-topbar, |
|||
.ew-global-menu, |
|||
.ew-global-menu a { |
|||
font-family: "Almendra SC", "Cinzel", Georgia, serif !important; |
|||
} |
|||
.ew-global-menu { font-weight: 400 !important; } |
|||
.ew-global-menu a { |
|||
font-size: 15px !important; |
|||
font-weight: 400 !important; |
|||
letter-spacing: .045em !important; |
|||
} |
|||
/* Content-facing headings and labels. */ |
|||
#firstHeading, |
|||
#content h1, |
|||
#content h2, |
|||
#content h3, |
|||
#content h4, |
|||
#content h5, |
|||
#content h6, |
|||
.ew-panel h2, |
|||
.ew-panel h3, |
|||
.ew-panel-title, |
|||
.ew-section-title, |
|||
.ew-category-title, |
|||
.ew-featured h2, |
|||
.ew-featured h3, |
|||
.ew-recent h2, |
|||
.ew-important h2, |
|||
.ew-overview h2, |
|||
.ew-category h2, |
|||
.ew-card-label { |
|||
font-family: "Alegreya SC", "Alegreya", Georgia, serif !important; |
|||
font-weight: 700 !important; |
|||
letter-spacing: .015em !important; |
|||
} |
|||
.ew-card-label { |
|||
display: block !important; |
|||
color: var(--ew-component-heading, #171513) !important; |
|||
font-size: 14px !important; |
|||
line-height: 1.12 !important; |
|||
text-transform: none !important; |
|||
letter-spacing: .01em !important; |
|||
} |
|||
.ew-featured h3, |
|||
.ew-featured h3 a, |
|||
.ew-featured .mw-selflink { |
|||
font-family: "Alegreya SC", "Alegreya", Georgia, serif !important; |
|||
font-size: 21px !important; |
|||
font-weight: 700 !important; |
|||
line-height: 1.15 !important; |
|||
letter-spacing: .018em !important; |
|||
text-transform: none !important; |
|||
} |
|||
.ew-panel h2, |
|||
.ew-panel-title, |
|||
.ew-section-title, |
|||
.ew-category-title, |
|||
.ew-overview h2, |
|||
.ew-category h2, |
|||
.ew-featured h2, |
|||
.ew-recent h2, |
|||
.ew-important h2 { |
|||
font-size: 21px !important; |
|||
line-height: 1.15 !important; |
|||
} |
|||
#firstHeading { font-size: 34px !important; line-height: 1.12 !important; } |
|||
#content h2 { font-size: 26px !important; line-height: 1.18 !important; } |
|||
#content h3 { font-size: 21px !important; line-height: 1.2 !important; } |
|||
#content h4 { font-size: 18px !important; line-height: 1.22 !important; } |
|||
/* Strong display face only for branding. */ |
|||
.ew-sidebar-brand::after, |
|||
.ew-hero-title { |
|||
font-family: "Cinzel Decorative", "Cinzel", Georgia, serif !important; |
|||
font-weight: 700 !important; |
|||
} |
|||
.ew-sidebar-brand::after { letter-spacing: .055em !important; } |
|||
.ew-hero-title { letter-spacing: .025em !important; } |
|||
.ew-hero-kicker { |
|||
font-family: "Alegreya SC", "Alegreya", Georgia, serif !important; |
|||
font-weight: 700 !important; |
|||
letter-spacing: .04em !important; |
|||
} |
|||
/* Long-form prose sizing. */ |
|||
.mw-parser-output p, |
|||
.mw-parser-output li, |
|||
.mw-parser-output dd, |
|||
.mw-parser-output dt, |
|||
.ew-home, |
|||
.ew-panel p { |
|||
font-size: 16.5px !important; |
|||
line-height: 1.48 !important; |
|||
} |
|||
/* Use Vector's own edit controls. Do not create a second custom one. */ |
|||
#ca-edit, |
|||
#ca-ve-edit, |
|||
#ca-viewsource { |
|||
display: list-item !important; |
|||
} |
|||
/* Legacy custom edit shortcut is no longer used. */ |
|||
.ew-edit-link { display: none !important; } |
|||
/* ========================================================= |
|||
SHARED ARTICLE PRIMITIVES |
|||
Structural rules shared by the designed article systems. |
|||
Page-specific colours and unique behavior remain local. |
|||
========================================================= */ |
|||
.country-page, |
|||
.history-page, |
|||
.city-page, |
|||
.deity-page, |
|||
.wiki-page { |
|||
box-sizing: border-box; |
|||
width: calc(100vw - var(--ew-sidebar) - 84px) !important; |
|||
max-width: none !important; |
|||
font-family: "Alegreya", Georgia, serif; |
|||
line-height: 1.62; |
|||
} |
|||
.country-hero, |
|||
.history-hero, |
|||
.city-hero, |
|||
.deity-hero, |
|||
.wiki-hero { |
|||
position: relative; |
|||
overflow: hidden; |
|||
border: 1px solid rgba(255, 255, 255, 0.08); |
|||
} |
|||
.country-hero, |
|||
.history-hero, |
|||
.city-hero, |
|||
.deity-hero { |
|||
box-shadow: 0 12px 30px rgba(28, 18, 13, 0.19); |
|||
} |
|||
.country-hero__overlay, |
|||
.history-hero__overlay, |
|||
.city-hero__overlay, |
|||
.deity-hero__overlay, |
|||
.wiki-hero__overlay { |
|||
position: absolute; |
|||
inset: 0; |
|||
display: flex; |
display: flex; |
||
flex-direction: column; |
|||
justify-content: flex-end; |
|||
pointer-events: none; |
|||
} |
|||
.country-hero__eyebrow, |
|||
.history-hero__eyebrow, |
|||
.city-hero__eyebrow, |
|||
.deity-hero__eyebrow, |
|||
.wiki-hero__eyebrow { |
|||
margin-bottom: 0.25rem; |
|||
font-family: "Alegreya SC", Georgia, serif; |
|||
font-size: 0.85rem; |
|||
font-weight: 700; |
|||
letter-spacing: 0.16em; |
|||
} |
|||
.country-hero__title, |
|||
.history-hero__title, |
|||
.city-hero__title, |
|||
.deity-hero__title, |
|||
.wiki-hero__title { |
|||
font-family: "Alegreya SC", Georgia, serif; |
|||
font-weight: 700; |
|||
text-shadow: 0 3px 16px rgba(0, 0, 0, 0.72); |
|||
} |
|||
.country-hero__subtitle, |
|||
.history-hero__subtitle, |
|||
.city-hero__subtitle, |
|||
.deity-hero__subtitle, |
|||
.wiki-hero__subtitle { |
|||
font-style: italic; |
|||
} |
|||
.country-overview, |
|||
.history-overview, |
|||
.city-overview, |
|||
.deity-overview { |
|||
display: grid; |
|||
gap: 2rem; |
|||
align-items: start; |
|||
margin-bottom: 2.25rem; |
|||
} |
|||
.country-overview__lead, |
|||
.history-overview__lead, |
|||
.city-overview__lead, |
|||
.deity-overview__lead { |
|||
font-size: 1.08rem; |
|||
} |
|||
.country-overview__lead > p:first-child::first-letter, |
|||
.history-overview__lead > p:first-child::first-letter, |
|||
.city-overview__lead > p:first-child::first-letter, |
|||
.deity-overview__lead > p:first-child::first-letter { |
|||
float: left; |
|||
margin: 0.08em 0.1em 0 0; |
|||
font-family: "Alegreya SC", Georgia, serif; |
|||
font-weight: 700; |
|||
} |
|||
.country-record, |
|||
.history-record, |
|||
.city-record, |
|||
.deity-record, |
|||
.wiki-record { |
|||
overflow: hidden; |
|||
border-radius: 12px; |
|||
} |
|||
.country-record__heading, |
|||
.history-record__heading, |
|||
.city-record__heading, |
|||
.deity-record__heading { |
|||
padding: 0.85rem 1rem; |
|||
font-family: "Alegreya SC", Georgia, serif; |
|||
font-size: 1.25rem; |
|||
font-weight: 700; |
|||
letter-spacing: 0.04em; |
|||
text-align: center; |
|||
} |
|||
.country-record__row, |
|||
.history-record__row, |
|||
.city-record__row, |
|||
.deity-record__row { |
|||
display: grid; |
|||
gap: 0.75rem; |
|||
padding: 0.62rem 0.85rem; |
|||
} |
|||
.country-record__row span, |
|||
.history-record__row span, |
|||
.city-record__row span, |
|||
.deity-record__row span { |
|||
font-family: "Alegreya SC", Georgia, serif; |
|||
font-weight: 700; |
|||
} |
|||
.country-card-grid, |
|||
.deity-card-grid, |
|||
.wiki-card-grid { |
|||
display: grid; |
|||
grid-template-columns: repeat(2, minmax(0, 1fr)); |
|||
gap: 1rem; |
|||
margin: 1rem 0 1.75rem; |
|||
} |
|||
.country-card-grid--three, |
|||
.deity-card-grid--three, |
|||
.wiki-card-grid--three { |
|||
grid-template-columns: repeat(3, minmax(0, 1fr)); |
|||
} |
|||
.history-figure, |
|||
.deity-figure, |
|||
.wiki-figure { |
|||
box-sizing: border-box; |
box-sizing: border-box; |
||
margin: 1.35rem 0 1.9rem; |
|||
overflow: hidden; |
|||
background: linear-gradient(180deg, #08141c 0%, #03090d 100%); |
|||
border- |
border-radius: 10px; |
||
box-shadow: inset 0 1px 0 rgba(255,255,255,.045), 0 2px 6px rgba(0,0,0,.28); |
|||
color: #f5eee4; |
|||
font-family: "Cinzel", Georgia, serif; |
|||
} |
} |
||
#ew-global-topbar::before, |
|||
.history-figure__caption, |
|||
#ew-global-topbar::after { |
|||
.deity-figure__caption, |
|||
.wiki-figure__caption { |
|||
padding: 0.65rem 0.9rem 0.72rem; |
|||
font-size: 0.94rem; |
|||
font-style: italic; |
|||
line-height: 1.35; |
|||
} |
|||
.city-index__grid, |
|||
.deity-index__grid, |
|||
.wiki-index__grid { |
|||
display: grid; |
|||
} |
|||
.city-index__grid > div, |
|||
.deity-index__grid > div, |
|||
.wiki-index__grid > div { |
|||
min-width: 0; |
|||
} |
|||
.city-index__grid span, |
|||
.city-index__grid strong, |
|||
.deity-index__grid span, |
|||
.deity-index__grid strong, |
|||
.wiki-index__grid span, |
|||
.wiki-index__grid strong { |
|||
display: block; |
|||
} |
|||
.city-index__grid span, |
|||
.deity-index__grid span, |
|||
.wiki-index__grid span { |
|||
font-family: "Alegreya SC", Georgia, serif; |
|||
font-size: 0.76rem; |
|||
font-weight: 700; |
|||
letter-spacing: 0.08em; |
|||
text-transform: uppercase; |
|||
} |
|||
.city-index__grid strong, |
|||
.deity-index__grid strong, |
|||
.wiki-index__grid strong { |
|||
margin-top: 0.12rem; |
|||
font-size: 0.98rem; |
|||
line-height: 1.2; |
|||
} |
|||
.city-index__heading, |
|||
.deity-index__heading, |
|||
.wiki-index__heading { |
|||
font-family: "Alegreya SC", Georgia, serif; |
|||
font-weight: 700; |
|||
text-align: center; |
|||
} |
|||
.deity-card, |
|||
.wiki-card { |
|||
min-width: 0; |
|||
padding: 1rem; |
|||
border-radius: 9px; |
|||
} |
|||
.deity-card h3, |
|||
.wiki-card h3 { |
|||
margin: 0 0 0.35rem; |
|||
font-size: 1.17rem; |
|||
} |
|||
.deity-card p, |
|||
.wiki-card p { |
|||
margin: 0.35rem 0 0; |
|||
} |
|||
.history-note, |
|||
.city-note { |
|||
margin: 1.25rem 0; |
|||
border-radius: 8px; |
|||
} |
|||
.history-note strong, |
|||
.city-note strong { |
|||
font-family: "Alegreya SC", Georgia, serif; |
|||
} |
|||
.history-page__body, |
|||
.city-page__body { |
|||
box-sizing: border-box; |
|||
width: 100%; |
|||
max-width: none; |
|||
margin: 0; |
|||
} |
|||
.history-page__body .toc, |
|||
.city-page__body .toc, |
|||
.history-page__body #toc, |
|||
.city-page__body #toc { |
|||
margin: 0 0 1.8rem; |
|||
padding: 0.9rem 1.1rem; |
|||
border-radius: 9px; |
|||
} |
|||
.history-page__body h2, |
|||
.city-page__body h2, |
|||
.deity-page__body h2, |
|||
.wiki-page__body h2 { |
|||
font-family: "Alegreya SC", Georgia, serif; |
|||
font-weight: 700; |
|||
} |
|||
.city-page__body h2::after, |
|||
.deity-page__body h2::after, |
|||
.wiki-page__body h2::after { |
|||
content: ""; |
|||
flex: 1; |
|||
height: 1px; |
|||
} |
|||
.city-index__grid a, |
|||
.deity-index__grid a, |
|||
.wiki-index__grid a { |
|||
display: block; |
|||
text-decoration: none; |
|||
} |
|||
.history-figure .mw-file-element, |
|||
.deity-figure .mw-file-element, |
|||
.history-figure__image, |
|||
.deity-figure__image { |
|||
height: clamp(220px, 28vw, 340px); |
|||
object-fit: cover; |
|||
} |
|||
.deity-quote, |
|||
.wiki-quote { |
|||
font-size: 1.08rem; |
|||
font-style: italic; |
|||
} |
|||
/* ======================================================================== |
|||
SERVER-RENDERED ERINDAL INTERFACE |
|||
#ew-sidebar, #ew-server-topbar and both controls are emitted by the |
|||
companion LocalSettings.php hook. They are independent of Vector's DOM. |
|||
======================================================================== */ |
|||
#ew-server-topbar { |
|||
position: fixed !important; |
|||
z-index: 180 !important; |
|||
top: 0 !important; |
|||
left: var(--ew-sidebar) !important; |
|||
right: 0 !important; |
|||
display: flex !important; |
|||
align-items: center !important; |
|||
height: var(--ew-topbar) !important; |
|||
margin: 0 !important; |
|||
padding: 0 14px 0 24px !important; |
|||
overflow: visible !important; |
|||
box-sizing: border-box !important; |
|||
color: #f3eee5 !important; |
|||
background: linear-gradient(180deg, #08141c 0%, #03090d 100%) !important; |
|||
border: 0 !important; |
|||
border-bottom: 2px solid rgba(112, 88, 58, .46) !important; |
|||
box-shadow: inset 0 1px 0 rgba(255, 255, 255, .045), 0 2px 6px rgba(0, 0, 0, .28) !important; |
|||
font-family: "Almendra SC", "Cinzel", Georgia, serif !important; |
|||
transition: left .18s ease !important; |
|||
} |
|||
#ew-server-topbar::before, |
|||
#ew-server-topbar::after { |
|||
content: ""; |
content: ""; |
||
position: absolute; |
position: absolute; |
||
| Line 312: | Line 1,025: | ||
width: 18px; |
width: 18px; |
||
height: 18px; |
height: 18px; |
||
border-color: rgba(207,163,80,.55); |
border-color: rgba(207, 163, 80, .55); |
||
border-style: solid; |
border-style: solid; |
||
pointer-events: none; |
pointer-events: none; |
||
} |
} |
||
#ew-global-topbar::before { left: 4px; border-width: 1px 0 0 1px; } |
|||
#ew- |
#ew-server-topbar::before { |
||
left: 4px; |
|||
.ew-global-menu { |
|||
border-width: 1px 0 0 1px; |
|||
display: flex; |
|||
align-items: stretch; |
|||
height: 100%; |
|||
min-width: 0; |
|||
} |
} |
||
.ew-global-menu a, |
|||
#ew-server-topbar::after { |
|||
right: 4px; |
|||
border-width: 1px 1px 0 0; |
|||
} |
|||
padding: 0 18px; |
|||
#ew-server-topbar .ew-global-menu { |
|||
display: flex !important; |
|||
flex: 0 1 auto !important; |
|||
align-items: stretch !important; |
|||
min-width: 0 !important; |
|||
height: 100% !important; |
|||
margin: 0 !important; |
|||
padding: 0 !important; |
|||
} |
|||
#ew-server-topbar .ew-global-section { |
|||
position: relative !important; |
|||
display: block !important; |
|||
height: 100% !important; |
|||
margin: 0 !important; |
|||
padding: 0 !important; |
|||
} |
|||
#ew-server-topbar .ew-global-section > summary { |
|||
display: flex !important; |
|||
align-items: center !important; |
|||
height: 100% !important; |
|||
margin: 0 !important; |
|||
padding: 0 14px !important; |
|||
box-sizing: border-box !important; |
|||
color: #f3eee5 !important; |
color: #f3eee5 !important; |
||
background: transparent !important; |
|||
font-size: 14px; |
|||
border: 0 !important; |
|||
text-transform: uppercase; |
|||
outline: 0 !important; |
|||
letter-spacing: .04em; |
|||
list-style: none !important; |
|||
font: 400 15px/1 "Almendra SC", "Cinzel", Georgia, serif !important; |
|||
letter-spacing: .045em !important; |
|||
text-transform: uppercase !important; |
|||
white-space: nowrap !important; |
|||
cursor: pointer !important; |
|||
} |
|||
#ew-server-topbar .ew-global-section > summary::-webkit-details-marker, |
|||
#ew-server-topbar .ew-global-section > summary::marker { |
|||
display: none; |
|||
content: ""; |
|||
} |
|||
#ew-server-topbar .ew-global-section > summary span { |
|||
margin-left: 7px; |
|||
font-family: Arial, sans-serif !important; |
|||
font-size: 11px !important; |
|||
transition: transform .16s ease; |
|||
} |
|||
#ew-server-topbar .ew-global-section[open] > summary span { |
|||
transform: rotate(180deg); |
|||
} |
|||
#ew-server-topbar .ew-global-section > summary:hover, |
|||
#ew-server-topbar .ew-global-section > summary:focus, |
|||
#ew-server-topbar .ew-global-section[open] > summary { |
|||
color: var(--ew-gold-soft) !important; |
|||
background: rgba(255, 255, 255, .04) !important; |
|||
} |
|||
#ew-server-topbar .ew-global-dropdown { |
|||
position: absolute !important; |
|||
z-index: 210 !important; |
|||
top: calc(var(--ew-topbar) - 2px) !important; |
|||
left: 0 !important; |
|||
display: none !important; |
|||
min-width: 220px !important; |
|||
margin: 0 !important; |
|||
padding: 7px !important; |
|||
box-sizing: border-box !important; |
|||
background: linear-gradient(180deg, #0b1a23, #041019) !important; |
|||
border: 1px solid rgba(125, 102, 69, .62) !important; |
|||
box-shadow: 0 10px 24px rgba(0, 0, 0, .36) !important; |
|||
} |
|||
#ew-server-topbar .ew-global-section[open] > .ew-global-dropdown { |
|||
display: block !important; |
|||
} |
|||
#ew-server-topbar .ew-global-dropdown a, |
|||
#ew-server-topbar .ew-global-dropdown a:visited { |
|||
display: block !important; |
|||
margin: 0 !important; |
|||
padding: 9px 12px !important; |
|||
color: #f1ede6 !important; |
|||
background: transparent !important; |
|||
font: 400 15px/1.15 "Almendra SC", "Cinzel", Georgia, serif !important; |
|||
letter-spacing: .015em !important; |
|||
text-decoration: none !important; |
text-decoration: none !important; |
||
white-space: nowrap; |
white-space: nowrap !important; |
||
} |
} |
||
.ew-global-menu a:hover { color: var(--ew-gold-soft) !important; background: rgba(255,255,255,.035); } |
|||
#ew-server-topbar .ew-global-dropdown a:hover, |
|||
.ew-menu-arrow { margin-left: 6px; font-size: 11px; } |
|||
.ew-global- |
#ew-server-topbar .ew-global-dropdown a:focus { |
||
color: var(--ew-gold-soft) !important; |
|||
margin-left: auto; |
|||
background: linear-gradient(90deg, rgba(35, 67, 93, .82), rgba(22, 43, 57, .24)) !important; |
|||
width: min(304px, 26vw); |
|||
height: 35px; |
|||
display: flex; |
|||
border: 1px solid rgba(151,128,91,.42); |
|||
background: rgba(0,0,0,.28); |
|||
border-radius: 4px; |
|||
overflow: hidden; |
|||
} |
} |
||
.ew-global-search input[type="search"] { |
|||
#ew-server-topbar .ew-global-search { |
|||
min-width: 0; |
|||
display: flex !important; |
|||
flex: 1; |
|||
flex: 0 1 304px !important; |
|||
width: min(304px, 24vw) !important; |
|||
height: 35px !important; |
|||
margin: 0 0 0 auto !important; |
|||
overflow: hidden !important; |
|||
box-sizing: border-box !important; |
|||
background: rgba(0, 0, 0, .28) !important; |
|||
border: 1px solid rgba(151, 128, 91, .42) !important; |
|||
border-radius: 4px !important; |
|||
} |
|||
#ew-server-topbar .ew-global-search input[type="search"] { |
|||
flex: 1 1 auto !important; |
|||
min-width: 0 !important; |
|||
height: 33px !important; |
|||
margin: 0 !important; |
|||
padding: 0 12px !important; |
|||
color: #eee8de !important; |
|||
background: transparent !important; |
|||
border: 0 !important; |
border: 0 !important; |
||
outline: 0 !important; |
outline: 0 !important; |
||
box-shadow: none !important; |
box-shadow: none !important; |
||
font: 400 15px/33px "Alegreya", Georgia, serif !important; |
|||
} |
|||
#ew-server-topbar .ew-global-search input::placeholder { |
|||
color: #d4cbc0; |
|||
opacity: .88; |
|||
} |
|||
#ew-server-topbar .ew-global-search button { |
|||
flex: 0 0 42px !important; |
|||
width: 42px !important; |
|||
height: 33px !important; |
|||
margin: 0 !important; |
|||
padding: 0 !important; |
|||
color: #f1eade !important; |
|||
background: transparent !important; |
background: transparent !important; |
||
border: 0 !important; |
|||
border-left: 1px solid rgba(151, 128, 91, .34) !important; |
|||
font: |
font-size: 20px !important; |
||
line-height: 33px !important; |
|||
cursor: pointer !important; |
|||
} |
} |
||
.ew-global-search input::placeholder { color: #d4cbc0; opacity: .88; } |
|||
.ew- |
.ew-topbar-tools { |
||
display: flex; |
|||
align-items: center; |
|||
height: 100%; |
|||
border-left: 1px solid rgba(151,128,91,.34); |
|||
margin-left: 8px; |
|||
background: transparent; |
|||
color: #f1eade; |
|||
font-size: 22px; |
|||
cursor: pointer; |
|||
} |
} |
||
.ew-global-tools { display: flex; height: 100%; margin-left: 9px; } |
|||
.ew- |
.ew-topbar-tool, |
||
.ew- |
.ew-topbar-tool:visited, |
||
#ew-theme-toggle { |
|||
width: 44px; |
|||
display: grid; |
display: grid !important; |
||
place-items: center; |
place-items: center !important; |
||
min-width: 42px !important; |
|||
height: 38px !important; |
|||
margin: 0 !important; |
|||
padding: 0 8px !important; |
|||
box-sizing: border-box !important; |
|||
color: #f3eee5 !important; |
color: #f3eee5 !important; |
||
background: transparent !important; |
|||
border: 0 !important; |
|||
border-left: 1px solid rgba(151, 128, 91, .20) !important; |
|||
font: 400 14px/1 "Almendra SC", "Cinzel", Georgia, serif !important; |
|||
text-decoration: none !important; |
text-decoration: none !important; |
||
cursor: pointer !important; |
|||
border-left: 1px solid rgba(151,128,91,.20); |
|||
font-size: 21px; |
|||
} |
} |
||
.ew-tool-link:hover { color: var(--ew-gold-soft) !important; } |
|||
.ew-topbar-tool:hover, |
|||
/* ---------- VECTOR CONTENT POSITIONING ---------- */ |
|||
.ew-topbar-tool:focus, |
|||
#mw-head-base { |
|||
#ew-theme-toggle:hover, |
|||
margin-left: var(--ew-sidebar) !important; |
|||
#ew-theme-toggle:focus { |
|||
width: min(calc(100vw - var(--ew-sidebar)), var(--ew-content-max)) !important; |
|||
color: var(--ew-gold-soft) !important; |
|||
background: rgba(255, 255, 255, .04) !important; |
|||
background: #0a151c !important; |
|||
} |
} |
||
#mw-head { |
|||
#ew-theme-toggle { |
|||
left: var(--ew-sidebar) !important; |
|||
min-width: 76px !important; |
|||
width: min(calc(100vw - var(--ew-sidebar)), var(--ew-content-max)) !important; |
|||
top: var(--ew-topbar) !important; |
|||
height: 34px !important; |
|||
background: linear-gradient(180deg, #0a151c, #071017) !important; |
|||
border-bottom: 1px solid rgba(125,102,69,.30); |
|||
box-sizing: border-box; |
|||
} |
} |
||
#left-navigation, |
|||
#ew-sidebar-toggle { |
|||
#right-navigation { margin-top: 0 !important; height: 34px !important; } |
|||
position: fixed !important; |
|||
.vector-menu-tabs, |
|||
z-index: 220 !important; |
|||
.vector-menu-tabs span, |
|||
top: 70px !important; |
|||
left: calc(var(--ew-sidebar) - 14px) !important; |
|||
.vector-menu-tabs li { |
|||
display: grid !important; |
|||
place-items: center !important; |
|||
width: 30px !important; |
|||
height: 46px !important; |
|||
margin: 0 !important; |
|||
padding: 0 1px 3px 0 !important; |
|||
color: var(--ew-gold-soft) !important; |
|||
background: linear-gradient(180deg, #102431, #06131b) !important; |
|||
border: 1px solid rgba(207, 163, 80, .72) !important; |
|||
border-radius: 6px !important; |
|||
box-shadow: 0 3px 12px rgba(0, 0, 0, .44) !important; |
|||
font: 28px/1 Georgia, serif !important; |
|||
cursor: pointer !important; |
|||
transition: left .18s ease !important; |
|||
} |
} |
||
.vector-menu-tabs li a, |
|||
#ew-sidebar-toggle:hover, |
|||
.vector-menu-tabs li a:visited { |
|||
#ew-sidebar-toggle:focus { |
|||
height: 34px !important; |
|||
color: #fff4d6 !important; |
|||
background: linear-gradient(180deg, #173447, #0a1b25) !important; |
|||
outline: 2px solid rgba(239, 201, 121, .30) !important; |
|||
outline-offset: 1px !important; |
|||
font-size: 12px !important; |
|||
} |
} |
||
.vector-menu-tabs li.selected a, |
|||
.vector-menu-tabs li a:hover { color: var(--ew-gold-soft) !important; } |
|||
#p-personal { display: none !important; } |
|||
#p-search { display: none !important; } |
|||
html.ew-sidebar-collapsed #ew-sidebar-toggle { |
|||
#content { |
|||
left: 0 !important; |
|||
border-left: 0 !important; |
|||
width: min(calc(100vw - var(--ew-sidebar)), var(--ew-content-max)) !important; |
|||
border-radius: 0 6px 6px 0 !important; |
|||
margin-top: 0 !important; |
|||
border: 0 !important; |
|||
min-height: calc(100vh - 90px); |
|||
box-sizing: border-box; |
|||
padding: 34px 42px 44px !important; |
|||
background: |
|||
linear-gradient(180deg, rgba(255,255,255,.28), rgba(255,255,255,.02)), |
|||
repeating-linear-gradient(45deg, rgba(119,91,49,.012), rgba(119,91,49,.012) 2px, transparent 2px, transparent 7px), |
|||
var(--ew-paper) !important; |
|||
color: var(--ew-ink) !important; |
|||
} |
} |
||
#content a, |
|||
#content a:visited { color: var(--ew-link); } |
|||
#content a:hover { color: #8c5d0a; } |
|||
#firstHeading, |
|||
#content h1, |
|||
#content h2, |
|||
#content h3, |
|||
#content h4 { font-family: "Cinzel", Georgia, serif; color: #181512; } |
|||
#firstHeading { border-bottom: 1px solid rgba(91,70,44,.35); } |
|||
#footer { |
|||
/* ========================================================= |
|||
margin-left: var(--ew-sidebar) !important; |
|||
FINAL SHARED HERO SCALE |
|||
width: min(calc(100vw - var(--ew-sidebar)), var(--ew-content-max)) !important; |
|||
Nation, history, city and deity pages deliberately use one size. |
|||
max-width: var(--ew-content-max) !important; |
|||
Keep this block last so older duplicate rules cannot win. |
|||
box-sizing: border-box; |
|||
========================================================= */ |
|||
padding: 18px 28px 22px !important; |
|||
background: #061119 !important; |
|||
.country-hero, |
|||
color: #aaa296 !important; |
|||
.history-hero, |
|||
border-top: 1px solid rgba(125,102,69,.42); |
|||
.city-hero, |
|||
.deity-hero, |
|||
.wiki-hero { |
|||
box-sizing: border-box !important; |
|||
height: clamp(240px, 22vw, 320px) !important; |
|||
min-height: 240px !important; |
|||
max-height: 320px !important; |
|||
margin: 0 0 1.4rem !important; |
|||
border-radius: 14px !important; |
|||
} |
} |
||
#footer a { color: #c9b888 !important; } |
|||
.country-hero .mw-file-description, |
|||
/* ---------- MAIN PAGE: remove article chrome ---------- */ |
|||
.country-hero .mw-file-element, |
|||
body.page-Main_Page #mw-head, |
|||
.history-hero .mw-file-description, |
|||
body.page-Main_Page #mw-head-base, |
|||
.history-hero .mw-file-element, |
|||
body.page-Main_Page #mw-page-base { display: none !important; } |
|||
.city-hero .mw-file-description, |
|||
body.page-Main_Page #content { |
|||
.city-hero .mw-file-element, |
|||
margin-top: var(--ew-topbar) !important; |
|||
.deity-hero .mw-file-description, |
|||
padding: 0 !important; |
|||
.deity-hero .mw-file-element, |
|||
background: var(--ew-dark-0) !important; |
|||
.wiki-hero .mw-file-description, |
|||
.wiki-hero .mw-file-element, |
|||
.country-hero__image, |
|||
.history-hero__image, |
|||
.city-hero__image, |
|||
.deity-hero__image, |
|||
.wiki-hero__image { |
|||
display: block !important; |
|||
box-sizing: border-box !important; |
|||
width: 100% !important; |
|||
max-width: none !important; |
|||
height: 100% !important; |
|||
min-height: 0 !important; |
|||
max-height: none !important; |
|||
object-fit: cover !important; |
|||
} |
} |
||
body.page-Main_Page #firstHeading, |
|||
body.page-Main_Page #siteSub, |
|||
body.page-Main_Page #contentSub, |
|||
body.page-Main_Page .mw-indicators, |
|||
body.page-Main_Page .catlinks, |
|||
body.page-Main_Page #jump-to-nav { display: none !important; } |
|||
body.page-Main_Page #bodyContent, |
|||
body.page-Main_Page #mw-content-text, |
|||
body.page-Main_Page .mw-parser-output { margin: 0 !important; padding: 0 !important; } |
|||
body.page-Main_Page .mw-parser-output > p:empty { display:none; } |
|||
.country-hero__overlay, |
|||
/* ---------- HOMEPAGE ---------- */ |
|||
.history-hero__overlay, |
|||
.ew-home, |
|||
.city-hero__overlay, |
|||
.ew-home * { box-sizing: border-box; } |
|||
.deity-hero__overlay, |
|||
.ew-home { |
|||
.wiki-hero__overlay { |
|||
width: 100%; |
|||
padding: clamp(1.25rem, 3vw, 2.5rem) !important; |
|||
max-width: none; |
|||
margin: 0; |
|||
color: var(--ew-ink); |
|||
background: var(--ew-paper); |
|||
font-family: "Crimson Text", Georgia, serif; |
|||
} |
} |
||
.ew-home a { text-decoration: none !important; } |
|||
.country-hero__title, |
|||
.ew-hero { |
|||
.history-hero__title, |
|||
height: clamp(278px, 18vw, 340px); |
|||
.city-hero__title, |
|||
position: relative; |
|||
.deity-hero__title, |
|||
overflow: hidden; |
|||
.wiki-hero__title { |
|||
background: #061019; |
|||
max-width: 900px !important; |
|||
border-bottom: 2px solid rgba(91,70,44,.48); |
|||
font-size: clamp(2.1rem, 4vw, 3.6rem) !important; |
|||
line-height: 0.96 !important; |
|||
} |
} |
||
.ew-hero-image { position:absolute; inset:0; overflow:hidden; } |
|||
.country-hero__subtitle, |
|||
.ew-hero-image .mw-file-element, |
|||
.history-hero__subtitle, |
|||
.ew-hero-image img { |
|||
.city-hero__subtitle, |
|||
.deity-hero__subtitle, |
|||
.wiki-hero__subtitle { |
|||
margin-top: 0.55rem !important; |
|||
font-size: clamp(1rem, 2vw, 1.35rem) !important; |
|||
} |
|||
/* Missing files leave no blue filename inside the hero. */ |
|||
.country-hero a.new, |
|||
.history-hero a.new, |
|||
.city-hero a.new, |
|||
.deity-hero a.new, |
|||
.wiki-hero a.new { |
|||
display: none !important; |
|||
} |
|||
/* ========================================================= |
|||
FLOWING RECORD LAYOUT |
|||
Desktop record boxes behave like traditional wiki infoboxes: they float |
|||
beside the article instead of forcing everything below their full height. |
|||
========================================================= */ |
|||
/* ========================================================= |
|||
HISTORY AND CHRONOLOGY PORTALS — FULL CONTENT WIDTH |
|||
The original general article rule caps parser output at 1180px. These are |
|||
designed reference pages and should use the same available width as city, |
|||
nation, national-history and deity layouts. |
|||
========================================================= */ |
|||
body.page-Category_History_and_Timeline .mw-parser-output, |
|||
body.page-History_and_Timeline .mw-parser-output, |
|||
body.page-Chronology_of_Erindal .mw-parser-output, |
|||
body.page-Calendar_of_Erindal .mw-parser-output, |
|||
body.page-Death_Souls_and_Resurrection .mw-parser-output { |
|||
box-sizing: border-box !important; |
|||
width: 100% !important; |
width: 100% !important; |
||
height: 100% !important; |
|||
max-width: none !important; |
max-width: none !important; |
||
object-fit: cover; |
|||
display: block; |
|||
} |
} |
||
.ew-hero-shade { |
|||
/* ======================================================================== |
|||
CATEGORY HUBS |
|||
Reusable visual treatment for MediaWiki category pages. |
|||
Category-specific colours belong in the category page's own .wiki source. |
|||
======================================================================== */ |
|||
body.ns-14 { |
|||
--category-accent: var(--ew-gold); |
|||
--category-accent-light: var(--ew-gold-soft); |
|||
--category-deep: #102733; |
|||
--category-heading: var(--category-deep); |
|||
--category-paper: #f5f0e7; |
|||
--category-paper-alt: #e8dfd0; |
|||
--category-ink: #2b2925; |
|||
--category-muted: #70675c; |
|||
--category-link: #174f72; |
|||
--category-line: rgba(59, 52, 44, 0.24); |
|||
} |
|||
html[data-ew-theme="dark"] body.ns-14 { |
|||
--category-deep: #0b202b; |
|||
--category-heading: #f0d79c; |
|||
--category-paper: #172228; |
|||
--category-paper-alt: #202d33; |
|||
--category-ink: #eee5d8; |
|||
--category-muted: #c6bcae; |
|||
--category-link: #8fc8ec; |
|||
--category-line: rgba(210, 172, 101, .24); |
|||
} |
|||
@media (prefers-color-scheme: dark) { |
|||
html[data-ew-theme="system"] body.ns-14 { |
|||
--category-deep: #0b202b; |
|||
--category-heading: #f0d79c; |
|||
--category-paper: #172228; |
|||
--category-paper-alt: #202d33; |
|||
--category-ink: #eee5d8; |
|||
--category-muted: #c6bcae; |
|||
--category-link: #8fc8ec; |
|||
--category-line: rgba(210, 172, 101, .24); |
|||
} |
|||
} |
|||
/* Category directories are navigation pages, not normal reading-width articles. */ |
|||
body.ns-14 #mw-content-text { |
|||
box-sizing: border-box !important; |
|||
width: 100% !important; |
|||
max-width: none !important; |
|||
} |
|||
body.ns-14 .mw-parser-output { |
|||
box-sizing: border-box !important; |
|||
width: calc(100vw - var(--ew-sidebar) - 84px) !important; |
|||
max-width: none !important; |
|||
} |
|||
/* Keep category pages feeling like part of the Erindal article system. */ |
|||
body.ns-14 #firstHeading { |
|||
margin-bottom: 0.9rem; |
|||
color: var(--category-heading); |
|||
font-family: "Alegreya SC", Georgia, serif; |
|||
letter-spacing: 0.025em; |
|||
} |
|||
.category-hub { |
|||
box-sizing: border-box; |
|||
width: 100%; |
|||
margin: 0 0 1.7rem; |
|||
color: var(--category-ink); |
|||
font-family: "Alegreya", Georgia, serif; |
|||
} |
|||
.category-hub__header { |
|||
position: relative; |
|||
overflow: hidden; |
|||
padding: 1.55rem 1.7rem 1.45rem; |
|||
border: 1px solid var(--category-line); |
|||
border-radius: 13px; |
|||
background: |
|||
linear-gradient(120deg, |
|||
var(--category-deep) 0%, |
|||
var(--category-deep) 58%, |
|||
var(--category-accent) 100%); |
|||
box-shadow: 0 10px 25px rgba(30, 24, 18, 0.13); |
|||
} |
|||
.category-hub__header::after { |
|||
content: ""; |
|||
position: absolute; |
position: absolute; |
||
right: -45px; |
|||
bottom: -90px; |
|||
width: 300px; |
|||
height: 220px; |
|||
border: 1px solid var(--category-line); |
|||
border-radius: 50%; |
|||
box-shadow: |
|||
0 0 0 34px rgba(255, 255, 255, 0.035), |
|||
0 0 0 72px rgba(255, 255, 255, 0.02); |
|||
pointer-events: none; |
|||
} |
|||
.category-hub__eyebrow { |
|||
position: relative; |
|||
z-index: 1; |
z-index: 1; |
||
margin-bottom: 0.22rem; |
|||
background: linear-gradient(90deg, rgba(2,7,10,.94) 0%, rgba(2,7,10,.78) 30%, rgba(2,7,10,.30) 48%, rgba(2,7,10,.08) 69%, rgba(2,7,10,.14) 100%); |
|||
color: var(--category-accent-light); |
|||
font-family: "Alegreya SC", Georgia, serif; |
|||
font-size: 0.82rem; |
|||
font-weight: 700; |
|||
letter-spacing: 0.13em; |
|||
text-transform: uppercase; |
|||
} |
} |
||
.ew-hero-copy { |
|||
.category-hub__title { |
|||
position: relative; |
position: relative; |
||
z-index: |
z-index: 1; |
||
margin: 0; |
|||
color: # |
color: #fff8ed; |
||
font-family: "Alegreya SC", Georgia, serif; |
|||
text-shadow: 0 3px 4px rgba(0,0,0,.75); |
|||
font-size: clamp(2rem, 3vw, 3rem); |
|||
font-weight: 700; |
|||
line-height: 1.05; |
|||
letter-spacing: 0.025em; |
|||
} |
} |
||
.ew-hero-kicker { text-transform: uppercase; font-size: 22px; letter-spacing: .04em; margin-bottom: 2px; } |
|||
.category-hub__subtitle { |
|||
.ew-hero-title { |
|||
position: relative; |
|||
z-index: 1; |
|||
max-width: 780px; |
|||
margin-top: 0.55rem; |
|||
color: rgba(255, 248, 237, 0.88); |
|||
text-transform: uppercase; |
|||
font- |
font-size: 1.02rem; |
||
line-height: 1.5; |
|||
} |
} |
||
.ew-gold-rule { height: 28px; display: flex; align-items: center; margin: 4px 0 8px; } |
|||
.ew-gold-rule::before { content: "✧"; color: var(--ew-gold); font-size: 17px; margin-right: 4px; } |
|||
.ew-gold-rule span { display:block; width:68px; height:2px; background:linear-gradient(90deg,var(--ew-gold),rgba(209,162,74,0)); } |
|||
.ew-hero-copy p { margin:0; color:#fff7eb; font-size:16px; line-height:1.45; } |
|||
.category-hub__intro { |
|||
.ew-home-grid { |
|||
margin: 1rem 0 0; |
|||
display:grid; |
|||
padding: 0.95rem 1.1rem; |
|||
grid-template-columns:minmax(0,1fr) clamp(420px,38%,560px); |
|||
border-left: 3px solid var(--category-accent); |
|||
gap:8px; |
|||
background: linear-gradient(90deg, |
|||
padding:8px 10px 0; |
|||
var(--category-paper-alt), |
|||
background:#efe7d9; |
|||
var(--category-paper)); |
|||
color: var(--category-ink); |
|||
} |
} |
||
.ew-home-left, |
|||
.category-hub__grid { |
|||
.ew-home-right { min-width:0; } |
|||
display: grid; |
|||
.ew-panel { |
|||
grid-template-columns: repeat(3, minmax(0, 1fr)); |
|||
position:relative; |
|||
gap: 0.8rem; |
|||
margin-top: 1rem; |
|||
} |
|||
.category-hub__grid--2 { |
|||
grid-template-columns: repeat(2, minmax(0, 1fr)); |
|||
} |
|||
/* A secondary status card can sit beneath a 3-column category grid without |
|||
pretending to be another functional organization type. On desktop it uses |
|||
the middle column; on smaller layouts it remains centred, then becomes |
|||
full-width on mobile. */ |
|||
.category-hub__card--centered { |
|||
grid-column: 2 / 3; |
|||
} |
|||
.category-hub__card { |
|||
min-width: 0; |
|||
padding: 1rem 1.05rem 0.95rem; |
|||
border: 1px solid var(--category-line); |
|||
border-radius: 10px; |
|||
background: |
background: |
||
linear-gradient( |
linear-gradient(145deg, var(--category-paper), var(--category-paper-alt)); |
||
box-shadow: 0 5px 14px rgba(45, 36, 28, 0.06); |
|||
repeating-linear-gradient(45deg,rgba(119,91,49,.018),rgba(119,91,49,.018) 2px,transparent 2px,transparent 7px), |
|||
var(--ew-paper-light); |
|||
border:1px solid var(--ew-border); |
|||
box-shadow:inset 0 0 0 2px rgba(255,255,255,.27),0 1px 2px rgba(0,0,0,.08); |
|||
} |
} |
||
.ew-panel::before, |
|||
.category-hub__card h3, |
|||
.ew-panel::after { |
|||
.category-hub__card-title { |
|||
content:""; |
|||
display: block; |
|||
position:absolute; |
|||
margin: 0 0 0.28rem; |
|||
width:13px; |
|||
color: var(--category-heading); |
|||
height:13px; |
|||
font-family: "Alegreya SC", Georgia, serif; |
|||
border-color:rgba(142,116,78,.32); |
|||
font-size: 1.13rem; |
|||
font-weight: 700; |
|||
line-height: 1.15; |
|||
} |
} |
||
.ew-panel::before { top:5px; left:5px; border-width:1px 0 0 1px; } |
|||
.category-hub__card p { |
|||
.ew-panel::after { top:5px; right:5px; border-width:1px 1px 0 0; } |
|||
margin: 0 0 0.65rem; |
|||
.ew-panel h2 { |
|||
color: var(--category-muted); |
|||
margin:0 !important; |
|||
line-height: 1.45; |
|||
padding:0 !important; |
|||
border:0 !important; |
|||
color:#111 !important; |
|||
font-size:20px !important; |
|||
line-height:1.25 !important; |
|||
text-transform:uppercase; |
|||
font-weight:700; |
|||
} |
} |
||
.ew-panel p { color:#171717; font-size:15.5px; line-height:1.42; } |
|||
.category-hub__card a { |
|||
.ew-overview { |
|||
color: var(--category-link); |
|||
min-height:222px; |
|||
font-weight: 700; |
|||
text-decoration: none; |
|||
grid-template-columns:minmax(0,1fr) 42%; |
|||
overflow:hidden; |
|||
} |
} |
||
.ew-panel-copy { padding:31px 24px 24px 39px; } |
|||
.ew-heading-mark { color:#58605f; margin-right:9px; font-size:26px; vertical-align:-2px; } |
|||
.ew-map-image { min-height:210px; overflow:hidden; opacity:.80; } |
|||
.ew-map-image .mw-file-element, |
|||
.ew-map-image img { width:100% !important; height:100% !important; max-width:none !important; object-fit:cover; display:block; mix-blend-mode:multiply; } |
|||
.category-hub__card a:hover, |
|||
.ew-categories-panel { margin-top:8px; padding:20px 18px 18px; min-height:337px; } |
|||
.category-hub__card a:focus { |
|||
.ew-category-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:3px; margin-top:12px; } |
|||
text-decoration: underline; |
|||
.ew-card { |
|||
min-height:75px; |
|||
cursor:pointer; |
|||
display:flex; |
|||
align-items:center; |
|||
gap:12px; |
|||
padding:12px 13px; |
|||
border:1px solid rgba(118,93,58,.25); |
|||
background:rgba(250,246,238,.72); |
|||
box-shadow:inset 0 0 0 1px rgba(255,255,255,.28); |
|||
} |
} |
||
.ew-card-icon { width:42px; flex:0 0 auto; color:#454847; font-size:30px; text-align:center; line-height:1; } |
|||
.ew-card-icon.ew-gold { color:#ba7e12; } |
|||
.ew-card a, |
|||
.ew-card-label { display:block; color:#151515 !important; text-transform:uppercase; font-size:12.5px; font-weight:700; line-height:1.15; } |
|||
.ew-card:hover { background:rgba(255,250,240,.96); border-color:rgba(153,111,52,.48); } |
|||
.ew-card:focus-visible { outline:2px solid var(--ew-gold); outline-offset:-3px; } |
|||
.ew-card small { display:block; margin-top:7px; color:#2d2b27; font-size:12px; } |
|||
.ew-strip { grid-column:span 3; min-height:75px; overflow:hidden; border:1px solid rgba(118,93,58,.25); } |
|||
.ew-strip .mw-file-element, |
|||
.ew-strip img { width:100% !important; height:100% !important; max-width:none !important; object-fit:cover; display:block; filter:sepia(.16) saturate(.78) brightness(1.04); } |
|||
/* Automatic MediaWiki category output ----------------------------------- */ |
|||
.ew-home-right .ew-panel { margin-bottom:8px; } |
|||
.ew-featured { padding:19px 18px 18px; } |
|||
.ew-featured h2 { display:flex; align-items:center; gap:12px; margin-bottom:12px !important; } |
|||
.ew-featured h2 span { color:#5d6260; font-size:23px; } |
|||
.ew-feature-image { height:145px; overflow:hidden; border:1px solid rgba(65,47,27,.35); margin-bottom:9px; } |
|||
.ew-feature-image .mw-file-element, |
|||
.ew-feature-image img { width:100% !important; height:100% !important; max-width:none !important; object-fit:cover; display:block; } |
|||
.ew-featured h3 { margin:0 0 5px !important; padding:0 !important; border:0 !important; color:#111 !important; font-size:20px !important; text-transform:uppercase; font-weight:500; } |
|||
.ew-featured p { margin:0; font-size:15px; line-height:1.3; } |
|||
.ew-readmore { margin-top:9px; font-size:14px; } |
|||
.ew-readmore a { color:#073d67 !important; } |
|||
body.ns-14 #mw-subcategories, |
|||
.ew-recent { padding:15px 17px 15px; min-height:246px; } |
|||
body.ns-14 #mw-pages { |
|||
.ew-recent h2 { display:flex; align-items:center; gap:8px; font-size:16px !important; margin-bottom:12px !important; } |
|||
margin-top: 1.8rem; |
|||
.ew-recent-row { display:grid; grid-template-columns:32px minmax(0,1fr); gap:9px; align-items:center; margin:6px 0; } |
|||
} |
|||
.ew-recent-icon { width:32px; height:32px; display:grid; place-items:center; background:#1a2228; color:#eee9dd; border:1px solid rgba(100,78,45,.48); font-size:12px; } |
|||
.ew-recent-row a { color:#073d67 !important; font-size:13.5px; line-height:1.1; } |
|||
.ew-recent-row small { display:block; color:#4c4842; font-size:11.5px; margin-top:2px; } |
|||
.ew-recent-loading { padding:8px 0; color:#5b554c; font-size:13px; } |
|||
body.ns-14 #mw-subcategories > h2, |
|||
.ew-important { margin:6px 10px 10px; padding:14px 26px 16px; } |
|||
body.ns-14 #mw-pages > h2 { |
|||
.ew-important h2 { font-size:15px !important; margin-bottom:12px !important; } |
|||
margin: 0 0 0.45rem; |
|||
.ew-important h2 span { color:#676b68; margin-right:8px; } |
|||
padding-bottom: 0.42rem; |
|||
.ew-important-grid { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:22px; } |
|||
color: var(--category-heading); |
|||
.ew-important-grid a { color:#073d67 !important; font-size:14px; } |
|||
border-bottom: 1px solid var(--category-line); |
|||
.ew-important-grid small { display:block; margin-top:4px; color:#171717; font-size:12px; line-height:1.28; } |
|||
font-family: "Alegreya SC", Georgia, serif; |
|||
font-size: 1.45rem; |
|||
letter-spacing: 0.025em; |
|||
} |
|||
body.ns-14 #mw-subcategories > p, |
|||
/* ---------- Article styling ---------- */ |
|||
body.ns-14 #mw-pages > p { |
|||
body:not(.page-Main_Page) .mw-parser-output { max-width: 1180px; } |
|||
color: var(--category-muted); |
|||
body:not(.page-Main_Page) .mw-parser-output p { font-size: 16px; line-height: 1.58; } |
|||
body:not(.page-Main_Page) .mw-parser-output h2 { |
|||
margin-top: 1.5em; |
|||
padding-bottom: 5px; |
|||
border-bottom: 1px solid rgba(91,70,44,.28); |
|||
} |
} |
||
.mw-editsection { font-family: Arial, sans-serif; font-size: 11px; } |
|||
/* Turn the stock alphabetical columns into parchment directory cards. */ |
|||
.toc, .mw-warning, .mw-message-box { |
|||
body.ns-14 .mw-category { |
|||
background: rgba(255,255,255,.42) !important; |
|||
display: grid !important; |
|||
grid-template-columns: repeat(3, minmax(0, 1fr)); |
|||
gap: 0.85rem; |
|||
margin-top: 1rem; |
|||
} |
} |
||
body.ns-14 .mw-category-generated .mw-category-group, |
|||
/* ---------- Responsive ---------- */ |
|||
body.ns-14 .mw-category .mw-category-group { |
|||
@media (max-width: 1180px) { |
|||
box-sizing: border-box; |
|||
.ew-global-menu a { padding: 0 10px; font-size: 12px; } |
|||
min-width: 0; |
|||
margin: 0 !important; |
|||
.ew-home-grid { grid-template-columns:1fr; } |
|||
padding: 0.85rem 0.95rem 0.9rem; |
|||
.ew-home-right { display:grid; grid-template-columns:1fr 1fr; gap:8px; } |
|||
border: 1px solid var(--category-line); |
|||
.ew-home-right .ew-panel { margin-bottom:0; } |
|||
border-radius: 10px; |
|||
background: |
|||
linear-gradient(145deg, var(--category-paper), var(--category-paper-alt)); |
|||
box-shadow: 0 4px 12px rgba(43, 34, 27, 0.055); |
|||
} |
} |
||
body.ns-14 .mw-category-group h3 { |
|||
@media (max-width: 900px) { |
|||
margin: 0 0 0.45rem; |
|||
:root { --ew-sidebar: 218px; } |
|||
padding: 0 0 0.32rem; |
|||
#p-logo::before { width:58px; height:58px; left:8px; top:30px; } |
|||
color: var(--category-accent); |
|||
#p-logo::after { left:72px; top:34px; font-size:21px; } |
|||
border-bottom: 1px solid var(--category-line); |
|||
.ew-global-menu a:nth-child(n+4) { display:none; } |
|||
font-family: "Alegreya SC", Georgia, serif; |
|||
#content { padding:26px 24px 36px !important; } |
|||
font-size: 1.2rem; |
|||
body.page-Main_Page #content { padding:0 0 10px !important; } |
|||
line-height: 1; |
|||
.ew-category-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } |
|||
.ew-strip { grid-column:span 2; } |
|||
.ew-important-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } |
|||
} |
} |
||
body.ns-14 .mw-category-group ul { |
|||
@media (max-width: 700px) { |
|||
margin: 0 !important; |
|||
:root { --ew-sidebar: 0px; } |
|||
padding: 0 !important; |
|||
list-style: none !important; |
|||
#ew-global-topbar { left:0; padding-left:10px; } |
|||
#mw-head, #mw-head-base { left:0 !important; margin-left:0 !important; } |
|||
#content, #footer { margin-left:0 !important; } |
|||
.ew-global-menu a:nth-child(n+3) { display:none; } |
|||
.ew-global-search { width: min(240px, 45vw); } |
|||
.ew-tool-link:first-child { display:none; } |
|||
.ew-overview { grid-template-columns:1fr; } |
|||
.ew-map-image { display:none; } |
|||
.ew-home-right { grid-template-columns:1fr; } |
|||
.ew-category-grid { grid-template-columns:1fr; } |
|||
.ew-strip { grid-column:span 1; } |
|||
.ew-important-grid { grid-template-columns:1fr; } |
|||
.ew-hero-copy { padding-left:26px; } |
|||
.ew-hero-title { font-size:40px; } |
|||
} |
} |
||
body.ns-14 .mw-category-group li { |
|||
margin: 0 !important; |
|||
padding: 0.28rem 0 !important; |
|||
} |
|||
body.ns-14 .mw-category-group li + li { |
|||
/* Final MediaWiki parser cleanup */ |
|||
border-top: 1px dotted var(--category-line); |
|||
body.page-Main_Page .ew-home p { margin-top:0; } |
|||
} |
|||
body.page-Main_Page .ew-home .mw-default-size, |
|||
body.page-Main_Page .ew-home figure { margin:0 !important; padding:0 !important; max-width:none !important; } |
|||
body.page-Main_Page .ew-home figure > a { display:block !important; width:100% !important; height:100% !important; } |
|||
body.page-Main_Page #mw-page-base { background:#061119 !important; } |
|||
body.ns-14 .mw-category-group a { |
|||
color: var(--category-link); |
|||
font-weight: 600; |
|||
text-decoration: none; |
|||
} |
|||
body.ns-14 .mw-category-group a:hover, |
|||
/* ---------- v4.3 FLUID WIDTH OVERRIDES ---------- */ |
|||
body.ns-14 .mw-category-group a:focus { |
|||
/* Use every pixel to the right of the fixed sidebar. Internal components, not |
|||
color: var(--category-heading); |
|||
the whole site, decide how wide they should become. */ |
|||
text-decoration: underline; |
|||
#mw-page-base, |
|||
#mw-head-base, |
|||
#mw-head, |
|||
#content, |
|||
#footer, |
|||
#ew-global-topbar { |
|||
width: calc(100vw - var(--ew-sidebar)) !important; |
|||
max-width: none !important; |
|||
} |
} |
||
/* Subcategories use the same visual language where MediaWiki exposes them. */ |
|||
body.page-Main_Page .ew-home { |
|||
body.ns-14 #mw-subcategories .mw-category { |
|||
width: 100% !important; |
|||
margin-bottom: 0.4rem; |
|||
max-width: none !important; |
|||
} |
} |
||
/* Keep the right column useful on wide screens without letting it eat half the page. */ |
|||
/* ======================================================================== |
|||
.ew-home-grid { |
|||
MAIN CATEGORY HUBS - HIDE DUPLICATE SUBCATEGORIES |
|||
grid-template-columns: minmax(0, 1fr) clamp(420px, 38%, 560px); |
|||
The nine top-level category hubs already show curated category cards. |
|||
Hide MediaWiki's automatic #mw-subcategories block only on those pages. |
|||
Compact/mini category hubs remain unchanged. |
|||
======================================================================== */ |
|||
body.ns-14.page-Category_Nations_and_Realms #mw-subcategories, |
|||
body.ns-14.page-Category_Ancestries_and_Cultures #mw-subcategories, |
|||
body.ns-14.page-Category_Races_and_Peoples #mw-subcategories, |
|||
body.ns-14.page-Category_Characters #mw-subcategories, |
|||
body.ns-14.page-Category_Organizations #mw-subcategories, |
|||
body.ns-14.page-Category_Religion_and_Deities #mw-subcategories, |
|||
body.ns-14.page-Category_Magic_and_Cosmology #mw-subcategories, |
|||
body.ns-14.page-Category_Locations #mw-subcategories, |
|||
body.ns-14.page-Category_History_and_Timeline #mw-subcategories, |
|||
body.ns-14.page-Category_Family_Lines #mw-subcategories { |
|||
display: none !important; |
|||
} |
} |
||
/* ======================================================================== |
|||
/* Let category cards gain columns on very wide displays instead of becoming huge. */ |
|||
RESPONSIVE LAYOUT - VECTOR 2022 |
|||
======================================================================== */ |
|||
@media (min-width: 1900px) { |
@media (min-width: 1900px) { |
||
.ew-category-grid { |
.ew-category-grid { |
||
grid-template-columns: repeat(5, minmax(0, 1fr)); |
|||
} |
|||
.ew-strip { |
|||
grid-column: span 4; |
|||
} |
|||
} |
} |
||
/* When viewport is only moderately wide, preserve the reference-image proportions. */ |
|||
@media (min-width: 1181px) and (max-width: 1550px) { |
@media (min-width: 1181px) and (max-width: 1550px) { |
||
.ew-home-grid { |
.ew-home-grid { |
||
grid-template-columns: minmax(0, 1.56fr) minmax(360px, .98fr); |
|||
} |
|||
} |
} |
||
@media (min-width: 951px) { |
|||
.country-overview, |
|||
.history-overview, |
|||
.city-overview { |
|||
display: block !important; |
|||
margin-bottom: 1.5rem !important; |
|||
} |
|||
.country-record, |
|||
/* ---------- v4.4 TYPOGRAPHY ---------- */ |
|||
.history-record, |
|||
#p-logo::after, |
|||
.city-record { |
|||
.ew-global-menu a, |
|||
float: right !important; |
|||
.ew-hero-kicker, |
|||
box-sizing: border-box !important; |
|||
.ew-hero-title, |
|||
width: 340px !important; |
|||
.ew-panel-title, |
|||
max-width: 34% !important; |
|||
.ew-section-title, |
|||
margin: 0 0 1.5rem 2rem !important; |
|||
.ew-category-title, |
|||
} |
|||
#firstHeading, |
|||
#content h1, |
|||
.country-overview__lead, |
|||
#content h2, |
|||
.history-overview__lead, |
|||
#content h3, |
|||
.city-overview__lead { |
|||
#content h4 { |
|||
display: block !important; |
|||
min-width: 0 !important; |
|||
} |
|||
.history-era-index, |
|||
.city-index { |
|||
min-width: 0; |
|||
overflow: hidden; |
|||
} |
|||
.country-page::after, |
|||
.history-page::after, |
|||
.city-page::after, |
|||
.deity-page::after, |
|||
.wiki-page::after { |
|||
content: ""; |
|||
display: block; |
|||
clear: both; |
|||
} |
|||
} |
} |
||
@media (max-width: 1240px) { |
|||
body, |
|||
#ew-server-topbar .ew-global-section > summary { |
|||
#content, |
|||
padding-right: 9px !important; |
|||
.ew-home, |
|||
padding-left: 9px !important; |
|||
#mw-panel .vector-menu-content-list li a, |
|||
font-size: 14px !important; |
|||
#mw-panel .portal .body li a, |
|||
} |
|||
.ew-global-search input[type="search"] { |
|||
font-family: "Crimson Text", Georgia, serif !important; |
|||
#ew-server-topbar .ew-global-search { |
|||
flex-basis: 210px !important; |
|||
width: 210px !important; |
|||
} |
|||
#ew-theme-toggle { |
|||
min-width: 42px !important; |
|||
width: 42px !important; |
|||
overflow: hidden; |
|||
white-space: nowrap; |
|||
} |
|||
} |
} |
||
@media (max-width: 1100px) { |
|||
.ew-global-menu a { font-weight: 600; letter-spacing: .045em; } |
|||
#ew-server-topbar .ew-global-section:nth-child(n+5) { |
|||
.ew-hero-title { font-weight: 600; } |
|||
display: none !important; |
|||
.ew-hero-kicker { font-family: "Cinzel", Georgia, serif !important; font-weight: 600; } |
|||
} |
|||
#mw-panel .vector-menu-heading, |
|||
#mw-panel .vector-menu-heading-label, |
|||
#mw-panel .mw-portlet h3, |
|||
#mw-panel .portal h3 { font-family: "Cinzel", Georgia, serif !important; font-weight: 600 !important; } |
|||
.country-card-grid--four, |
|||
/* Admin/source edit shortcut inserted by Common.js */ |
|||
.country-card-grid--three, |
|||
.ew-edit-link { |
|||
.city-index__grid, |
|||
.city-location-grid, |
|||
.deity-card-grid--three, |
|||
.wiki-card-grid--three, |
|||
.wiki-index__grid { |
|||
grid-template-columns: repeat(2, minmax(0, 1fr)); |
|||
} |
|||
} |
|||
@media (max-width: 950px) { |
|||
.country-overview, |
|||
.history-overview, |
|||
.city-overview { |
|||
display: block !important; |
|||
} |
|||
.country-record, |
|||
.history-record, |
|||
.city-record { |
|||
float: none !important; |
|||
box-sizing: border-box !important; |
|||
width: min(100%, 580px) !important; |
|||
max-width: 100% !important; |
|||
margin: 0 auto 1.5rem !important; |
|||
} |
|||
.category-hub__card--centered { |
|||
grid-column: 1 / -1; |
|||
width: calc((100% - .8rem) / 2); |
|||
justify-self: center; |
|||
} |
|||
.category-hub__grid, |
|||
body.ns-14 .mw-category { |
|||
grid-template-columns: repeat(2, minmax(0, 1fr)); |
|||
} |
|||
} |
|||
@media (max-width: 900px) { |
|||
:root { |
|||
--ew-sidebar-open: 218px; |
|||
--ew-sidebar: var(--ew-sidebar-open); |
|||
} |
|||
html.ew-sidebar-collapsed { |
|||
--ew-sidebar: 0px; |
|||
} |
|||
.ew-sidebar-brand::before { |
|||
left: 8px; |
|||
top: 30px; |
|||
width: 58px; |
|||
height: 58px; |
|||
} |
|||
.ew-sidebar-brand::after { |
|||
left: 72px; |
|||
top: 34px; |
|||
font-size: 21px; |
|||
} |
|||
#ew-server-topbar .ew-global-section:nth-child(n+4) { |
|||
display: none !important; |
|||
} |
|||
body.skin-vector-2022 #content { |
|||
padding-right: 24px !important; |
|||
padding-left: 24px !important; |
|||
} |
|||
body.page-Main_Page #content { |
|||
padding-right: 0 !important; |
|||
padding-left: 0 !important; |
|||
} |
|||
.country-page, |
|||
.history-page, |
|||
.city-page, |
|||
.deity-page, |
|||
.wiki-page, |
|||
body.ns-14 .mw-parser-output { |
|||
width: calc(100vw - var(--ew-sidebar) - 48px) !important; |
|||
} |
|||
} |
|||
@media (max-width: 760px) { |
|||
:root, |
|||
html.ew-sidebar-collapsed { |
|||
--ew-sidebar: 0px; |
|||
} |
|||
#ew-sidebar { |
|||
box-shadow: inset -12px 0 24px rgba(0, 0, 0, .38), 8px 0 28px rgba(0, 0, 0, .46) !important; |
|||
} |
|||
html:not(.ew-sidebar-collapsed) #ew-sidebar-toggle { |
|||
left: calc(var(--ew-sidebar-open) - 14px) !important; |
|||
} |
|||
#ew-server-topbar { |
|||
left: 0 !important; |
|||
padding-left: 12px !important; |
|||
} |
|||
#ew-server-topbar .ew-global-section:nth-child(n+3) { |
|||
display: none !important; |
|||
} |
|||
#ew-server-topbar .ew-global-search { |
|||
flex-basis: min(220px, 43vw) !important; |
|||
width: min(220px, 43vw) !important; |
|||
} |
|||
.ew-topbar-tool { |
|||
display: none !important; |
|||
} |
|||
body.skin-vector-2022 #content, |
|||
body.skin-vector-2022 #footer { |
|||
margin-left: 0 !important; |
|||
} |
|||
.country-overview, |
|||
.country-feature, |
|||
.country-feature--image-left, |
|||
.country-card-grid, |
|||
.country-card-grid--three, |
|||
.country-card-grid--four, |
|||
.country-quickfacts, |
|||
.history-overview, |
|||
.history-era-index__grid, |
|||
.city-overview, |
|||
.city-index__grid, |
|||
.city-district-grid, |
|||
.city-location-grid, |
|||
.deity-overview, |
|||
.deity-card-grid, |
|||
.deity-card-grid--three, |
|||
.deity-index__grid, |
|||
.wiki-index__grid, |
|||
.wiki-card-grid, |
|||
.wiki-card-grid--three, |
|||
.wiki-process { |
|||
grid-template-columns: 1fr; |
|||
} |
|||
.country-record__row, |
|||
.history-record__row, |
|||
.city-record__row, |
|||
.deity-record__row, |
|||
.wiki-record__rows > div { |
|||
grid-template-columns: 1fr; |
|||
gap: .15rem; |
|||
} |
|||
.city-record, |
|||
.deity-record { |
|||
width: min(100%, 580px); |
|||
order: -1; |
|||
} |
|||
.history-figure .mw-file-element, |
|||
.history-figure__image, |
|||
.deity-figure .mw-file-element, |
|||
.deity-figure__image { |
|||
height: 220px; |
|||
} |
|||
.country-hero, |
|||
.history-hero, |
|||
.city-hero, |
|||
.deity-hero, |
|||
.wiki-hero { |
|||
height: 250px !important; |
|||
min-height: 250px !important; |
|||
max-height: 250px !important; |
|||
border-radius: 10px !important; |
|||
} |
|||
.country-hero__overlay, |
|||
.history-hero__overlay, |
|||
.city-hero__overlay, |
|||
.deity-hero__overlay, |
|||
.wiki-hero__overlay { |
|||
padding: 1.25rem !important; |
|||
} |
|||
.country-page, |
|||
.history-page, |
|||
.city-page, |
|||
.deity-page, |
|||
.wiki-page, |
|||
body.ns-14 .mw-parser-output { |
|||
width: calc(100vw - 48px) !important; |
|||
} |
|||
} |
|||
@media (max-width: 560px) { |
|||
#ew-server-topbar .ew-global-section:nth-child(n+2), |
|||
#ew-server-topbar .ew-global-search { |
|||
display: none !important; |
|||
} |
|||
#ew-server-topbar .ew-global-menu { |
|||
flex: 1 1 auto !important; |
|||
} |
|||
#ew-server-topbar .ew-global-section:first-child { |
|||
display: block !important; |
|||
} |
|||
#ew-theme-toggle { |
|||
display: grid !important; |
|||
} |
|||
body.skin-vector-2022 #content { |
|||
padding-right: 16px !important; |
|||
padding-left: 16px !important; |
|||
} |
|||
body.page-Main_Page #content { |
|||
padding-right: 0 !important; |
|||
padding-left: 0 !important; |
|||
} |
|||
.country-page, |
|||
.history-page, |
|||
.city-page, |
|||
.deity-page, |
|||
.wiki-page, |
|||
body.ns-14 .mw-parser-output { |
|||
width: calc(100vw - 32px) !important; |
|||
} |
|||
} |
|||
@media (max-width: 620px) { |
|||
.category-hub__header { |
|||
padding: 1.2rem; |
|||
} |
|||
.category-hub__grid, |
|||
.category-hub__grid--2, |
|||
body.ns-14 .mw-category { |
|||
grid-template-columns: 1fr; |
|||
} |
|||
.category-hub__card--centered { |
|||
width: 100%; |
|||
} |
|||
} |
|||
@media (prefers-reduced-motion: reduce) { |
|||
#ew-sidebar, |
|||
#ew-server-topbar, |
|||
#ew-sidebar-toggle, |
|||
body.skin-vector-2022 #content, |
|||
body.skin-vector-2022 #footer { |
|||
transition: none !important; |
|||
} |
|||
} |
|||
/* ======================================================================== |
|||
END ERINDAL WIKI VECTOR-2022.CSS v1.0 |
|||
======================================================================== */ |
|||
/* Accessibility and mobile layout refinements — September 2026 */ |
|||
body.page-Main_Page .mw-parser-output > p:has(> br:only-child) { |
|||
display: none !important; |
|||
} |
|||
body:not(.page-Main_Page) .mw-parser-output p a:not(.mw-file-description), |
|||
body:not(.page-Main_Page) .mw-parser-output li a:not(.mw-file-description) { |
|||
text-decoration: underline; |
|||
text-decoration-thickness: .06em; |
|||
text-underline-offset: .13em; |
|||
} |
|||
@media (max-width: 760px) { |
|||
#ew-server-topbar { |
|||
padding-left: 48px !important; |
|||
} |
|||
#ew-sidebar-toggle { |
|||
top: 5px !important; |
|||
} |
|||
} |
|||
/* Keep Vector article actions in a single horizontal row. */ |
|||
body.skin-vector-2022 .vector-page-tools-landmark { |
|||
width: auto !important; |
width: auto !important; |
||
min-width: 78px; |
|||
padding: 0 12px; |
|||
gap: 7px; |
|||
font: 600 11px/1 "Cinzel", Georgia, serif !important; |
|||
letter-spacing: .035em; |
|||
white-space: nowrap; |
|||
} |
} |
||
.ew-edit-link .ew-edit-pencil { font-size: 17px; line-height: 1; } |
|||
/* Restore Vector's standard compact article header while the custom Main Page uses the full canvas. */ |
|||
@media (max-width: 1250px) { |
|||
body.skin-vector-2022.page-Main_Page .mw-body { |
|||
.ew-edit-link { min-width: 44px; width: 44px !important; padding: 0 !important; } |
|||
grid-template-columns: minmax(0, 1fr) 0 !important; |
|||
.ew-edit-link .ew-edit-label { display:none; } |
|||
} |
|||
body.skin-vector-2022 .vector-page-toolbar .mw-list-item.selected > a { |
|||
color: var(--ew-text) !important; |
|||
border-bottom-color: var(--ew-text) !important; |
|||
} |
|||
/* Extend article title and toolbar rules across the full canvas; keep actions at the far right. */ |
|||
body.skin-vector-2022:not(.page-Main_Page) .mw-body { |
|||
grid-template-columns: minmax(0, 59.25rem) minmax(0, 1fr) !important; |
|||
} |
|||
body.skin-vector-2022:not(.page-Main_Page) .vector-page-titlebar, |
|||
body.skin-vector-2022:not(.page-Main_Page) .vector-page-toolbar { |
|||
grid-column: 1 / -1 !important; |
|||
} |
|||
/* Main Page: remove Vector's empty strip below the footer. */ |
|||
body.page-Main_Page .mw-footer-container { |
|||
padding-bottom: 0 !important; |
|||
} |
|||
/* Dark category-hub palette must override page-local inline light palettes. */ |
|||
html[data-ew-theme="dark"] body.ns-14 .category-hub { |
|||
--category-heading: #f0d79c !important; |
|||
--category-paper: #172228 !important; |
|||
--category-paper-alt: #202d33 !important; |
|||
--category-ink: #eee5d8 !important; |
|||
--category-muted: #c6bcae !important; |
|||
--category-link: #8fc8ec !important; |
|||
--category-line: rgba(210, 172, 101, 0.24) !important; |
|||
} |
|||
@media (prefers-color-scheme: dark) { |
|||
html[data-ew-theme="system"] body.ns-14 .category-hub { |
|||
--category-heading: #f0d79c !important; |
|||
--category-paper: #172228 !important; |
|||
--category-paper-alt: #202d33 !important; |
|||
--category-ink: #eee5d8 !important; |
|||
--category-muted: #c6bcae !important; |
|||
--category-link: #8fc8ec !important; |
|||
--category-line: rgba(210, 172, 101, 0.24) !important; |
|||
} |
|||
} |
} |
||
Latest revision as of 20:43, 14 September 2026
/* ========================================================================
ERINDAL WIKI - VECTOR-2022.CSS v1.1
Target: MediaWiki 1.43.x, Vector 2022
The skin shell, Erindal navigation, responsive layout and colour modes
are defined here. Designed article systems remain skin-independent below.
======================================================================== */
:root {
--ew-sidebar-open: 276px;
--ew-sidebar: var(--ew-sidebar-open);
--ew-topbar: 56px;
--ew-dark-0: #02070a;
--ew-dark-1: #061119;
--ew-dark-2: #0b1a23;
--ew-gold: #d1a24a;
--ew-gold-soft: #efc979;
--ew-paper: #efe7d9;
--ew-paper-light: #f8f2e8;
--ew-ink: #171513;
--ew-border: rgba(111, 86, 54, .34);
--ew-link: #0c4771;
--ew-canvas: var(--ew-paper);
--ew-canvas-soft: var(--ew-paper-light);
--ew-text: var(--ew-ink);
--ew-heading: #181512;
--ew-rule: rgba(91, 70, 44, .32);
--ew-message: rgba(255, 255, 255, .44);
--ew-shadow: rgba(35, 25, 16, .17);
color-scheme: light;
}
html.ew-sidebar-collapsed {
--ew-sidebar: 0px;
}
html[data-ew-theme="dark"] {
--ew-canvas: #11191d;
--ew-canvas-soft: #182329;
--ew-text: #e9e1d6;
--ew-heading: #f1ddb1;
--ew-border: rgba(210, 172, 101, .28);
--ew-link: #8fc8ec;
--ew-rule: rgba(210, 172, 101, .25);
--ew-message: rgba(31, 45, 52, .92);
--ew-shadow: rgba(0, 0, 0, .34);
/* Shared component tokens used by TemplateStyles. These are deliberately
undefined in light mode, where every article keeps its own palette. */
--ew-component-canvas: #11191d;
--ew-component-surface: #182329;
--ew-component-surface-alt: #202d33;
--ew-component-hover: #263941;
--ew-component-text: #eee5d8;
--ew-component-heading: #f0d79c;
--ew-component-muted: #c6bcae;
--ew-component-link: #8fc8ec;
--ew-component-accent: #dfb66f;
--ew-component-border: rgba(210, 172, 101, .24);
--ew-component-shadow: rgba(0, 0, 0, .30);
--ew-component-sheen: rgba(255, 255, 255, .035);
--ew-component-card: rgba(32, 45, 51, .92);
--ew-component-card-hover: rgba(41, 58, 65, .96);
--ew-component-image-blend: normal;
--ew-component-image-filter: none;
color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
html[data-ew-theme="system"] {
--ew-canvas: #11191d;
--ew-canvas-soft: #182329;
--ew-text: #e9e1d6;
--ew-heading: #f1ddb1;
--ew-border: rgba(210, 172, 101, .28);
--ew-link: #8fc8ec;
--ew-rule: rgba(210, 172, 101, .25);
--ew-message: rgba(31, 45, 52, .92);
--ew-shadow: rgba(0, 0, 0, .34);
--ew-component-canvas: #11191d;
--ew-component-surface: #182329;
--ew-component-surface-alt: #202d33;
--ew-component-hover: #263941;
--ew-component-text: #eee5d8;
--ew-component-heading: #f0d79c;
--ew-component-muted: #c6bcae;
--ew-component-link: #8fc8ec;
--ew-component-accent: #dfb66f;
--ew-component-border: rgba(210, 172, 101, .24);
--ew-component-shadow: rgba(0, 0, 0, .30);
--ew-component-sheen: rgba(255, 255, 255, .035);
--ew-component-card: rgba(32, 45, 51, .92);
--ew-component-card-hover: rgba(41, 58, 65, .96);
--ew-component-image-blend: normal;
--ew-component-image-filter: none;
color-scheme: dark;
}
}
/* ========================================================================
PAGE THEME POLICY
Common.css owns shared layout, typography and component behaviour.
Individual designed pages continue to set their own palette variables.
======================================================================== */
html,
body {
min-width: 0 !important;
background: var(--ew-dark-0) !important;
}
body {
margin: 0 !important;
color: var(--ew-text);
font-family: "Alegreya", Georgia, serif;
}
/* ---------- VECTOR 2022 SHELL RESET ---------- */
body.skin-vector-2022 .vector-header-container,
body.skin-vector-2022 .vector-sticky-header,
body.skin-vector-2022 .vector-column-start,
body.skin-vector-2022 .vector-column-end,
body.skin-vector-2022 .vector-sitenotice-container,
body.skin-vector-2022 .vector-toc-landmark,
body.skin-vector-2022 #vector-main-menu-pinned-container,
body.skin-vector-2022 #vector-page-tools-pinned-container,
body.skin-vector-2022 #p-search {
display: none !important;
}
body.skin-vector-2022 .mw-page-container,
body.skin-vector-2022 .mw-page-container-inner,
body.skin-vector-2022 .mw-content-container,
body.skin-vector-2022 .vector-body,
body.skin-vector-2022 .vector-body-before-content,
body.skin-vector-2022 .vector-page-titlebar,
body.skin-vector-2022 .vector-page-toolbar-container,
body.skin-vector-2022 .vector-page-toolbar,
body.skin-vector-2022 .vector-page-tools-landmark {
box-sizing: border-box !important;
width: 100% !important;
max-width: none !important;
}
body.skin-vector-2022 .mw-page-container {
min-height: 100vh !important;
margin: 0 !important;
padding: 0 !important;
background: var(--ew-dark-0) !important;
border: 0 !important;
box-shadow: none !important;
}
body.skin-vector-2022 .mw-page-container-inner {
display: block !important;
margin: 0 !important;
padding: 0 !important;
}
body.skin-vector-2022 .mw-content-container {
margin: 0 !important;
}
/* ---------- ERINDAL SIDEBAR ---------- */
#ew-sidebar {
position: fixed !important;
z-index: 160 !important;
inset: 0 auto 0 0 !important;
width: var(--ew-sidebar-open) !important;
padding: 0 16px 24px !important;
overflow-x: hidden !important;
overflow-y: auto !important;
box-sizing: border-box !important;
color: #f4eee3 !important;
background:
radial-gradient(circle at 45% 0%, rgba(58, 83, 98, .25), transparent 300px),
linear-gradient(180deg, #0b1a23 0%, #041019 58%, #020a0f 100%) !important;
border-right: 2px solid rgba(125, 102, 69, .52) !important;
box-shadow: inset -12px 0 24px rgba(0, 0, 0, .38), 4px 0 18px rgba(0, 0, 0, .18) !important;
transform: translateX(0);
transition: transform .18s ease !important;
}
html.ew-sidebar-collapsed #ew-sidebar {
transform: translateX(-100%);
}
#ew-sidebar::before,
#ew-sidebar::after {
content: "";
position: absolute;
z-index: 1;
top: 4px;
width: 18px;
height: 18px;
border-color: rgba(207, 163, 80, .62);
border-style: solid;
pointer-events: none;
}
#ew-sidebar::before {
left: 4px;
border-width: 1px 0 0 1px;
}
#ew-sidebar::after {
right: 4px;
border-width: 1px 1px 0 0;
}
.ew-sidebar-brand,
.ew-sidebar-brand:visited {
position: relative;
display: block;
height: 126px;
margin: 0 0 12px;
color: var(--ew-gold-soft) !important;
border-bottom: 1px solid rgba(139, 116, 79, .45);
text-decoration: none !important;
}
.ew-sidebar-brand::before {
content: "";
position: absolute;
left: 15px;
top: 25px;
width: 72px;
height: 72px;
background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cg fill='none' stroke='%23d6a74d' stroke-width='3'%3E%3Ccircle cx='50' cy='50' r='30'/%3E%3Cpath d='M50 6L58 41L94 50L58 59L50 94L42 59L6 50L42 41Z'/%3E%3Cpath d='M50 17L53 44L83 50L53 56L50 83L47 56L17 50L47 44Z'/%3E%3C/g%3E%3Ccircle cx='50' cy='50' r='5' fill='%23d6a74d'/%3E%3C/svg%3E");
filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .5));
}
.ew-sidebar-brand::after {
content: "ERINDAL\A WIKI";
position: absolute;
left: 101px;
top: 28px;
white-space: pre;
color: var(--ew-gold-soft);
font: 700 27px/1.05 "Cinzel Decorative", "Cinzel", Georgia, serif;
letter-spacing: .055em;
text-shadow: 0 2px 2px rgba(0, 0, 0, .65);
}
.ew-sidebar-section {
margin: 0 !important;
padding: 0 0 18px !important;
border-bottom: 1px solid rgba(139, 116, 79, .46) !important;
}
.ew-sidebar-section + .ew-sidebar-section {
margin-top: 18px !important;
}
.ew-sidebar-section h2 {
margin: 0 0 9px 12px !important;
padding: 0 !important;
color: #b9ad9a !important;
background: none !important;
border: 0 !important;
font: 400 13px/1.2 "Almendra SC", "Cinzel", Georgia, serif !important;
letter-spacing: .07em !important;
text-transform: uppercase !important;
}
.ew-sidebar-section ul {
margin: 0 !important;
padding: 0 !important;
list-style: none !important;
}
.ew-sidebar-section li {
margin: 2px 0 !important;
padding: 0 !important;
}
.ew-sidebar-section a,
.ew-sidebar-section a:visited {
position: relative;
display: block;
padding: 7px 8px 7px 39px !important;
color: #f1ede6 !important;
border-radius: 2px;
font: 400 16px/1.2 "Almendra SC", "Cinzel", Georgia, serif !important;
letter-spacing: .012em;
text-decoration: none !important;
}
.ew-sidebar-section a::before {
content: "◆";
position: absolute;
left: 14px;
top: 7px;
width: 16px;
color: #98a09e;
font-size: 11px;
text-align: center;
}
.ew-sidebar-section a:hover,
.ew-sidebar-section a:focus {
color: var(--ew-gold-soft) !important;
background: linear-gradient(90deg, rgba(35, 67, 93, .72), rgba(22, 43, 57, .20));
}
.ew-sidebar-section:first-of-type li:first-child a {
color: var(--ew-gold-soft) !important;
background: linear-gradient(90deg, rgba(35, 67, 93, .95), rgba(22, 43, 57, .42));
}
.ew-sidebar-section:first-of-type li:first-child a::before {
content: "⌂";
top: 4px;
color: var(--ew-gold-soft);
font-size: 18px;
}
/* ---------- CONTENT CANVAS ---------- */
body.skin-vector-2022 #content {
min-height: calc(100vh - var(--ew-topbar));
margin: 0 0 0 var(--ew-sidebar) !important;
padding: calc(var(--ew-topbar) + 28px) 42px 44px !important;
color: var(--ew-text) !important;
background:
linear-gradient(180deg, rgba(255, 255, 255, .12), transparent 230px),
repeating-linear-gradient(45deg, rgba(119, 91, 49, .012), rgba(119, 91, 49, .012) 2px, transparent 2px, transparent 7px),
var(--ew-canvas) !important;
border: 0 !important;
transition: margin-left .18s ease !important;
}
body.skin-vector-2022 #content a,
body.skin-vector-2022 #content a:visited {
color: var(--ew-link);
}
body.skin-vector-2022 #content a:hover,
body.skin-vector-2022 #content a:focus {
color: color-mix(in srgb, var(--ew-link) 70%, var(--ew-gold));
}
#firstHeading,
#content h1,
#content h2,
#content h3,
#content h4,
#content h5,
#content h6 {
color: var(--ew-heading);
}
#firstHeading {
border-bottom-color: var(--ew-rule) !important;
}
body.skin-vector-2022 .vector-page-toolbar {
margin: 0 0 1.25rem !important;
border-bottom-color: var(--ew-rule) !important;
}
body.skin-vector-2022 .vector-page-toolbar a,
body.skin-vector-2022 .vector-page-toolbar button,
body.skin-vector-2022 .vector-page-toolbar .vector-menu-heading {
color: var(--ew-text) !important;
}
body.skin-vector-2022 .vector-dropdown-content,
body.skin-vector-2022 .vector-menu-content {
color: var(--ew-text);
background-color: var(--ew-canvas-soft);
border-color: var(--ew-border);
}
.mw-parser-output .wikitable {
color: var(--ew-text) !important;
background: var(--ew-canvas-soft) !important;
border-color: var(--ew-border) !important;
}
.mw-parser-output .wikitable > * > tr > th {
color: var(--ew-heading) !important;
background: color-mix(in srgb, var(--ew-canvas-soft) 82%, var(--ew-gold) 18%) !important;
}
.mw-parser-output .wikitable > * > tr > th,
.mw-parser-output .wikitable > * > tr > td,
.mw-parser-output pre,
.mw-parser-output code {
border-color: var(--ew-border) !important;
}
.mw-parser-output pre {
color: var(--ew-text) !important;
background: var(--ew-canvas-soft) !important;
}
.toc,
.vector-toc,
.catlinks,
.mw-warning,
.mw-message-box {
color: var(--ew-text) !important;
background: var(--ew-message) !important;
border-color: var(--ew-border) !important;
}
body.skin-vector-2022 #footer {
box-sizing: border-box;
width: auto !important;
max-width: none !important;
margin: 0 0 0 var(--ew-sidebar) !important;
padding: 17px 28px 19px !important;
color: #c8c2b7 !important;
background: linear-gradient(180deg, rgba(18, 39, 51, .22), rgba(6, 17, 25, 0) 55%), #061119 !important;
border-top: 1px solid rgba(197, 157, 79, .36);
transition: margin-left .18s ease !important;
}
#footer #footer-info,
#footer #footer-info li,
#footer #footer-info-lastmod,
#footer #footer-info-copyright {
color: #bdb7ac !important;
}
#footer #footer-info {
margin: 0 0 .55rem !important;
padding: 0 !important;
font-size: .84rem !important;
line-height: 1.45 !important;
}
#footer #footer-places {
display: flex !important;
flex-wrap: wrap;
gap: .35rem 1rem;
margin: 0 !important;
padding: 0 !important;
}
#footer #footer-places li {
float: none !important;
margin: 0 !important;
padding: 0 !important;
}
#footer a,
#footer a:visited {
color: #d1b66d !important;
text-decoration: none !important;
}
#footer a:hover,
#footer a:focus {
color: #fff0bd !important;
text-decoration: underline !important;
}
#footer #footer-icons {
display: none !important;
}
/* ---------- MAIN PAGE ---------- */
body.page-Main_Page #content {
padding: var(--ew-topbar) 0 0 !important;
background: var(--ew-dark-0) !important;
}
body.page-Main_Page #firstHeading,
body.page-Main_Page #siteSub,
body.page-Main_Page #contentSub,
body.page-Main_Page .mw-indicators,
body.page-Main_Page .catlinks,
body.page-Main_Page .vector-page-titlebar,
body.page-Main_Page .vector-page-toolbar-container,
body.page-Main_Page #jump-to-nav,
body.page-Main_Page .toc,
body.page-Main_Page #toc {
display: none !important;
}
body.page-Main_Page #bodyContent,
body.page-Main_Page #mw-content-text,
body.page-Main_Page .mw-parser-output {
margin: 0 !important;
padding: 0 !important;
}
body.page-Main_Page .mw-parser-output > p:empty {
display: none;
}
body.page-Main_Page .ew-home {
width: 100% !important;
max-width: none !important;
}
/* ---------- GENERAL ARTICLE WIDTH ---------- */
body:not(.page-Main_Page) .mw-parser-output {
max-width: 1180px;
}
body:not(.page-Main_Page) .mw-parser-output p {
font-size: 16px;
line-height: 1.58;
}
body:not(.page-Main_Page) .mw-parser-output h2 {
margin-top: 1.5em;
padding-bottom: 5px;
border-bottom: 1px solid var(--ew-rule);
}
.mw-editsection {
font-family: Arial, sans-serif;
font-size: 11px;
}
/* MediaWiki file markup wrappers */
.ew-hero-image > span,
.ew-hero-image > a,
.ew-map-image > span,
.ew-map-image > a,
.ew-feature-image > span,
.ew-feature-image > a,
.ew-strip > span,
.ew-strip > a,
.ew-hero-image .mw-file-description,
.ew-map-image .mw-file-description,
.ew-feature-image .mw-file-description,
.ew-strip .mw-file-description {
display: block !important;
width: 100% !important;
height: 100% !important;
}
/* ========================================================================
TYPOGRAPHY - CONSOLIDATED CURRENT STATE
Final values from the former v4.4-v4.8 typography passes. Older font
experiments were removed so each element has one authoritative rule.
======================================================================== */
/* Readable body/lore face. */
html body,
#content,
#bodyContent,
#mw-content-text,
.mw-parser-output,
.mw-parser-output p,
.mw-parser-output li,
.mw-parser-output td,
.mw-parser-output th,
.mw-parser-output dd,
.mw-parser-output dt,
.ew-home,
.ew-panel p,
.ew-card small,
.ew-recent-row,
.ew-global-search input[type="search"] {
font-family: "Alegreya", Georgia, serif !important;
font-weight: 400 !important;
}
#ew-server-topbar,
.ew-global-menu,
.ew-global-menu a {
font-family: "Almendra SC", "Cinzel", Georgia, serif !important;
}
.ew-global-menu { font-weight: 400 !important; }
.ew-global-menu a {
font-size: 15px !important;
font-weight: 400 !important;
letter-spacing: .045em !important;
}
/* Content-facing headings and labels. */
#firstHeading,
#content h1,
#content h2,
#content h3,
#content h4,
#content h5,
#content h6,
.ew-panel h2,
.ew-panel h3,
.ew-panel-title,
.ew-section-title,
.ew-category-title,
.ew-featured h2,
.ew-featured h3,
.ew-recent h2,
.ew-important h2,
.ew-overview h2,
.ew-category h2,
.ew-card-label {
font-family: "Alegreya SC", "Alegreya", Georgia, serif !important;
font-weight: 700 !important;
letter-spacing: .015em !important;
}
.ew-card-label {
display: block !important;
color: var(--ew-component-heading, #171513) !important;
font-size: 14px !important;
line-height: 1.12 !important;
text-transform: none !important;
letter-spacing: .01em !important;
}
.ew-featured h3,
.ew-featured h3 a,
.ew-featured .mw-selflink {
font-family: "Alegreya SC", "Alegreya", Georgia, serif !important;
font-size: 21px !important;
font-weight: 700 !important;
line-height: 1.15 !important;
letter-spacing: .018em !important;
text-transform: none !important;
}
.ew-panel h2,
.ew-panel-title,
.ew-section-title,
.ew-category-title,
.ew-overview h2,
.ew-category h2,
.ew-featured h2,
.ew-recent h2,
.ew-important h2 {
font-size: 21px !important;
line-height: 1.15 !important;
}
#firstHeading { font-size: 34px !important; line-height: 1.12 !important; }
#content h2 { font-size: 26px !important; line-height: 1.18 !important; }
#content h3 { font-size: 21px !important; line-height: 1.2 !important; }
#content h4 { font-size: 18px !important; line-height: 1.22 !important; }
/* Strong display face only for branding. */
.ew-sidebar-brand::after,
.ew-hero-title {
font-family: "Cinzel Decorative", "Cinzel", Georgia, serif !important;
font-weight: 700 !important;
}
.ew-sidebar-brand::after { letter-spacing: .055em !important; }
.ew-hero-title { letter-spacing: .025em !important; }
.ew-hero-kicker {
font-family: "Alegreya SC", "Alegreya", Georgia, serif !important;
font-weight: 700 !important;
letter-spacing: .04em !important;
}
/* Long-form prose sizing. */
.mw-parser-output p,
.mw-parser-output li,
.mw-parser-output dd,
.mw-parser-output dt,
.ew-home,
.ew-panel p {
font-size: 16.5px !important;
line-height: 1.48 !important;
}
/* Use Vector's own edit controls. Do not create a second custom one. */
#ca-edit,
#ca-ve-edit,
#ca-viewsource {
display: list-item !important;
}
/* Legacy custom edit shortcut is no longer used. */
.ew-edit-link { display: none !important; }
/* =========================================================
SHARED ARTICLE PRIMITIVES
Structural rules shared by the designed article systems.
Page-specific colours and unique behavior remain local.
========================================================= */
.country-page,
.history-page,
.city-page,
.deity-page,
.wiki-page {
box-sizing: border-box;
width: calc(100vw - var(--ew-sidebar) - 84px) !important;
max-width: none !important;
font-family: "Alegreya", Georgia, serif;
line-height: 1.62;
}
.country-hero,
.history-hero,
.city-hero,
.deity-hero,
.wiki-hero {
position: relative;
overflow: hidden;
border: 1px solid rgba(255, 255, 255, 0.08);
}
.country-hero,
.history-hero,
.city-hero,
.deity-hero {
box-shadow: 0 12px 30px rgba(28, 18, 13, 0.19);
}
.country-hero__overlay,
.history-hero__overlay,
.city-hero__overlay,
.deity-hero__overlay,
.wiki-hero__overlay {
position: absolute;
inset: 0;
display: flex;
flex-direction: column;
justify-content: flex-end;
pointer-events: none;
}
.country-hero__eyebrow,
.history-hero__eyebrow,
.city-hero__eyebrow,
.deity-hero__eyebrow,
.wiki-hero__eyebrow {
margin-bottom: 0.25rem;
font-family: "Alegreya SC", Georgia, serif;
font-size: 0.85rem;
font-weight: 700;
letter-spacing: 0.16em;
}
.country-hero__title,
.history-hero__title,
.city-hero__title,
.deity-hero__title,
.wiki-hero__title {
font-family: "Alegreya SC", Georgia, serif;
font-weight: 700;
text-shadow: 0 3px 16px rgba(0, 0, 0, 0.72);
}
.country-hero__subtitle,
.history-hero__subtitle,
.city-hero__subtitle,
.deity-hero__subtitle,
.wiki-hero__subtitle {
font-style: italic;
}
.country-overview,
.history-overview,
.city-overview,
.deity-overview {
display: grid;
gap: 2rem;
align-items: start;
margin-bottom: 2.25rem;
}
.country-overview__lead,
.history-overview__lead,
.city-overview__lead,
.deity-overview__lead {
font-size: 1.08rem;
}
.country-overview__lead > p:first-child::first-letter,
.history-overview__lead > p:first-child::first-letter,
.city-overview__lead > p:first-child::first-letter,
.deity-overview__lead > p:first-child::first-letter {
float: left;
margin: 0.08em 0.1em 0 0;
font-family: "Alegreya SC", Georgia, serif;
font-weight: 700;
}
.country-record,
.history-record,
.city-record,
.deity-record,
.wiki-record {
overflow: hidden;
border-radius: 12px;
}
.country-record__heading,
.history-record__heading,
.city-record__heading,
.deity-record__heading {
padding: 0.85rem 1rem;
font-family: "Alegreya SC", Georgia, serif;
font-size: 1.25rem;
font-weight: 700;
letter-spacing: 0.04em;
text-align: center;
}
.country-record__row,
.history-record__row,
.city-record__row,
.deity-record__row {
display: grid;
gap: 0.75rem;
padding: 0.62rem 0.85rem;
}
.country-record__row span,
.history-record__row span,
.city-record__row span,
.deity-record__row span {
font-family: "Alegreya SC", Georgia, serif;
font-weight: 700;
}
.country-card-grid,
.deity-card-grid,
.wiki-card-grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 1rem;
margin: 1rem 0 1.75rem;
}
.country-card-grid--three,
.deity-card-grid--three,
.wiki-card-grid--three {
grid-template-columns: repeat(3, minmax(0, 1fr));
}
.history-figure,
.deity-figure,
.wiki-figure {
box-sizing: border-box;
margin: 1.35rem 0 1.9rem;
overflow: hidden;
border-radius: 10px;
}
.history-figure__caption,
.deity-figure__caption,
.wiki-figure__caption {
padding: 0.65rem 0.9rem 0.72rem;
font-size: 0.94rem;
font-style: italic;
line-height: 1.35;
}
.city-index__grid,
.deity-index__grid,
.wiki-index__grid {
display: grid;
}
.city-index__grid > div,
.deity-index__grid > div,
.wiki-index__grid > div {
min-width: 0;
}
.city-index__grid span,
.city-index__grid strong,
.deity-index__grid span,
.deity-index__grid strong,
.wiki-index__grid span,
.wiki-index__grid strong {
display: block;
}
.city-index__grid span,
.deity-index__grid span,
.wiki-index__grid span {
font-family: "Alegreya SC", Georgia, serif;
font-size: 0.76rem;
font-weight: 700;
letter-spacing: 0.08em;
text-transform: uppercase;
}
.city-index__grid strong,
.deity-index__grid strong,
.wiki-index__grid strong {
margin-top: 0.12rem;
font-size: 0.98rem;
line-height: 1.2;
}
.city-index__heading,
.deity-index__heading,
.wiki-index__heading {
font-family: "Alegreya SC", Georgia, serif;
font-weight: 700;
text-align: center;
}
.deity-card,
.wiki-card {
min-width: 0;
padding: 1rem;
border-radius: 9px;
}
.deity-card h3,
.wiki-card h3 {
margin: 0 0 0.35rem;
font-size: 1.17rem;
}
.deity-card p,
.wiki-card p {
margin: 0.35rem 0 0;
}
.history-note,
.city-note {
margin: 1.25rem 0;
border-radius: 8px;
}
.history-note strong,
.city-note strong {
font-family: "Alegreya SC", Georgia, serif;
}
.history-page__body,
.city-page__body {
box-sizing: border-box;
width: 100%;
max-width: none;
margin: 0;
}
.history-page__body .toc,
.city-page__body .toc,
.history-page__body #toc,
.city-page__body #toc {
margin: 0 0 1.8rem;
padding: 0.9rem 1.1rem;
border-radius: 9px;
}
.history-page__body h2,
.city-page__body h2,
.deity-page__body h2,
.wiki-page__body h2 {
font-family: "Alegreya SC", Georgia, serif;
font-weight: 700;
}
.city-page__body h2::after,
.deity-page__body h2::after,
.wiki-page__body h2::after {
content: "";
flex: 1;
height: 1px;
}
.city-index__grid a,
.deity-index__grid a,
.wiki-index__grid a {
display: block;
text-decoration: none;
}
.history-figure .mw-file-element,
.deity-figure .mw-file-element,
.history-figure__image,
.deity-figure__image {
height: clamp(220px, 28vw, 340px);
object-fit: cover;
}
.deity-quote,
.wiki-quote {
font-size: 1.08rem;
font-style: italic;
}
/* ========================================================================
SERVER-RENDERED ERINDAL INTERFACE
#ew-sidebar, #ew-server-topbar and both controls are emitted by the
companion LocalSettings.php hook. They are independent of Vector's DOM.
======================================================================== */
#ew-server-topbar {
position: fixed !important;
z-index: 180 !important;
top: 0 !important;
left: var(--ew-sidebar) !important;
right: 0 !important;
display: flex !important;
align-items: center !important;
height: var(--ew-topbar) !important;
margin: 0 !important;
padding: 0 14px 0 24px !important;
overflow: visible !important;
box-sizing: border-box !important;
color: #f3eee5 !important;
background: linear-gradient(180deg, #08141c 0%, #03090d 100%) !important;
border: 0 !important;
border-bottom: 2px solid rgba(112, 88, 58, .46) !important;
box-shadow: inset 0 1px 0 rgba(255, 255, 255, .045), 0 2px 6px rgba(0, 0, 0, .28) !important;
font-family: "Almendra SC", "Cinzel", Georgia, serif !important;
transition: left .18s ease !important;
}
#ew-server-topbar::before,
#ew-server-topbar::after {
content: "";
position: absolute;
top: 4px;
width: 18px;
height: 18px;
border-color: rgba(207, 163, 80, .55);
border-style: solid;
pointer-events: none;
}
#ew-server-topbar::before {
left: 4px;
border-width: 1px 0 0 1px;
}
#ew-server-topbar::after {
right: 4px;
border-width: 1px 1px 0 0;
}
#ew-server-topbar .ew-global-menu {
display: flex !important;
flex: 0 1 auto !important;
align-items: stretch !important;
min-width: 0 !important;
height: 100% !important;
margin: 0 !important;
padding: 0 !important;
}
#ew-server-topbar .ew-global-section {
position: relative !important;
display: block !important;
height: 100% !important;
margin: 0 !important;
padding: 0 !important;
}
#ew-server-topbar .ew-global-section > summary {
display: flex !important;
align-items: center !important;
height: 100% !important;
margin: 0 !important;
padding: 0 14px !important;
box-sizing: border-box !important;
color: #f3eee5 !important;
background: transparent !important;
border: 0 !important;
outline: 0 !important;
list-style: none !important;
font: 400 15px/1 "Almendra SC", "Cinzel", Georgia, serif !important;
letter-spacing: .045em !important;
text-transform: uppercase !important;
white-space: nowrap !important;
cursor: pointer !important;
}
#ew-server-topbar .ew-global-section > summary::-webkit-details-marker,
#ew-server-topbar .ew-global-section > summary::marker {
display: none;
content: "";
}
#ew-server-topbar .ew-global-section > summary span {
margin-left: 7px;
font-family: Arial, sans-serif !important;
font-size: 11px !important;
transition: transform .16s ease;
}
#ew-server-topbar .ew-global-section[open] > summary span {
transform: rotate(180deg);
}
#ew-server-topbar .ew-global-section > summary:hover,
#ew-server-topbar .ew-global-section > summary:focus,
#ew-server-topbar .ew-global-section[open] > summary {
color: var(--ew-gold-soft) !important;
background: rgba(255, 255, 255, .04) !important;
}
#ew-server-topbar .ew-global-dropdown {
position: absolute !important;
z-index: 210 !important;
top: calc(var(--ew-topbar) - 2px) !important;
left: 0 !important;
display: none !important;
min-width: 220px !important;
margin: 0 !important;
padding: 7px !important;
box-sizing: border-box !important;
background: linear-gradient(180deg, #0b1a23, #041019) !important;
border: 1px solid rgba(125, 102, 69, .62) !important;
box-shadow: 0 10px 24px rgba(0, 0, 0, .36) !important;
}
#ew-server-topbar .ew-global-section[open] > .ew-global-dropdown {
display: block !important;
}
#ew-server-topbar .ew-global-dropdown a,
#ew-server-topbar .ew-global-dropdown a:visited {
display: block !important;
margin: 0 !important;
padding: 9px 12px !important;
color: #f1ede6 !important;
background: transparent !important;
font: 400 15px/1.15 "Almendra SC", "Cinzel", Georgia, serif !important;
letter-spacing: .015em !important;
text-decoration: none !important;
white-space: nowrap !important;
}
#ew-server-topbar .ew-global-dropdown a:hover,
#ew-server-topbar .ew-global-dropdown a:focus {
color: var(--ew-gold-soft) !important;
background: linear-gradient(90deg, rgba(35, 67, 93, .82), rgba(22, 43, 57, .24)) !important;
}
#ew-server-topbar .ew-global-search {
display: flex !important;
flex: 0 1 304px !important;
width: min(304px, 24vw) !important;
height: 35px !important;
margin: 0 0 0 auto !important;
overflow: hidden !important;
box-sizing: border-box !important;
background: rgba(0, 0, 0, .28) !important;
border: 1px solid rgba(151, 128, 91, .42) !important;
border-radius: 4px !important;
}
#ew-server-topbar .ew-global-search input[type="search"] {
flex: 1 1 auto !important;
min-width: 0 !important;
height: 33px !important;
margin: 0 !important;
padding: 0 12px !important;
color: #eee8de !important;
background: transparent !important;
border: 0 !important;
outline: 0 !important;
box-shadow: none !important;
font: 400 15px/33px "Alegreya", Georgia, serif !important;
}
#ew-server-topbar .ew-global-search input::placeholder {
color: #d4cbc0;
opacity: .88;
}
#ew-server-topbar .ew-global-search button {
flex: 0 0 42px !important;
width: 42px !important;
height: 33px !important;
margin: 0 !important;
padding: 0 !important;
color: #f1eade !important;
background: transparent !important;
border: 0 !important;
border-left: 1px solid rgba(151, 128, 91, .34) !important;
font-size: 20px !important;
line-height: 33px !important;
cursor: pointer !important;
}
.ew-topbar-tools {
display: flex;
align-items: center;
height: 100%;
margin-left: 8px;
}
.ew-topbar-tool,
.ew-topbar-tool:visited,
#ew-theme-toggle {
display: grid !important;
place-items: center !important;
min-width: 42px !important;
height: 38px !important;
margin: 0 !important;
padding: 0 8px !important;
box-sizing: border-box !important;
color: #f3eee5 !important;
background: transparent !important;
border: 0 !important;
border-left: 1px solid rgba(151, 128, 91, .20) !important;
font: 400 14px/1 "Almendra SC", "Cinzel", Georgia, serif !important;
text-decoration: none !important;
cursor: pointer !important;
}
.ew-topbar-tool:hover,
.ew-topbar-tool:focus,
#ew-theme-toggle:hover,
#ew-theme-toggle:focus {
color: var(--ew-gold-soft) !important;
background: rgba(255, 255, 255, .04) !important;
}
#ew-theme-toggle {
min-width: 76px !important;
}
#ew-sidebar-toggle {
position: fixed !important;
z-index: 220 !important;
top: 70px !important;
left: calc(var(--ew-sidebar) - 14px) !important;
display: grid !important;
place-items: center !important;
width: 30px !important;
height: 46px !important;
margin: 0 !important;
padding: 0 1px 3px 0 !important;
color: var(--ew-gold-soft) !important;
background: linear-gradient(180deg, #102431, #06131b) !important;
border: 1px solid rgba(207, 163, 80, .72) !important;
border-radius: 6px !important;
box-shadow: 0 3px 12px rgba(0, 0, 0, .44) !important;
font: 28px/1 Georgia, serif !important;
cursor: pointer !important;
transition: left .18s ease !important;
}
#ew-sidebar-toggle:hover,
#ew-sidebar-toggle:focus {
color: #fff4d6 !important;
background: linear-gradient(180deg, #173447, #0a1b25) !important;
outline: 2px solid rgba(239, 201, 121, .30) !important;
outline-offset: 1px !important;
}
html.ew-sidebar-collapsed #ew-sidebar-toggle {
left: 0 !important;
border-left: 0 !important;
border-radius: 0 6px 6px 0 !important;
}
/* =========================================================
FINAL SHARED HERO SCALE
Nation, history, city and deity pages deliberately use one size.
Keep this block last so older duplicate rules cannot win.
========================================================= */
.country-hero,
.history-hero,
.city-hero,
.deity-hero,
.wiki-hero {
box-sizing: border-box !important;
height: clamp(240px, 22vw, 320px) !important;
min-height: 240px !important;
max-height: 320px !important;
margin: 0 0 1.4rem !important;
border-radius: 14px !important;
}
.country-hero .mw-file-description,
.country-hero .mw-file-element,
.history-hero .mw-file-description,
.history-hero .mw-file-element,
.city-hero .mw-file-description,
.city-hero .mw-file-element,
.deity-hero .mw-file-description,
.deity-hero .mw-file-element,
.wiki-hero .mw-file-description,
.wiki-hero .mw-file-element,
.country-hero__image,
.history-hero__image,
.city-hero__image,
.deity-hero__image,
.wiki-hero__image {
display: block !important;
box-sizing: border-box !important;
width: 100% !important;
max-width: none !important;
height: 100% !important;
min-height: 0 !important;
max-height: none !important;
object-fit: cover !important;
}
.country-hero__overlay,
.history-hero__overlay,
.city-hero__overlay,
.deity-hero__overlay,
.wiki-hero__overlay {
padding: clamp(1.25rem, 3vw, 2.5rem) !important;
}
.country-hero__title,
.history-hero__title,
.city-hero__title,
.deity-hero__title,
.wiki-hero__title {
max-width: 900px !important;
font-size: clamp(2.1rem, 4vw, 3.6rem) !important;
line-height: 0.96 !important;
}
.country-hero__subtitle,
.history-hero__subtitle,
.city-hero__subtitle,
.deity-hero__subtitle,
.wiki-hero__subtitle {
margin-top: 0.55rem !important;
font-size: clamp(1rem, 2vw, 1.35rem) !important;
}
/* Missing files leave no blue filename inside the hero. */
.country-hero a.new,
.history-hero a.new,
.city-hero a.new,
.deity-hero a.new,
.wiki-hero a.new {
display: none !important;
}
/* =========================================================
FLOWING RECORD LAYOUT
Desktop record boxes behave like traditional wiki infoboxes: they float
beside the article instead of forcing everything below their full height.
========================================================= */
/* =========================================================
HISTORY AND CHRONOLOGY PORTALS — FULL CONTENT WIDTH
The original general article rule caps parser output at 1180px. These are
designed reference pages and should use the same available width as city,
nation, national-history and deity layouts.
========================================================= */
body.page-Category_History_and_Timeline .mw-parser-output,
body.page-History_and_Timeline .mw-parser-output,
body.page-Chronology_of_Erindal .mw-parser-output,
body.page-Calendar_of_Erindal .mw-parser-output,
body.page-Death_Souls_and_Resurrection .mw-parser-output {
box-sizing: border-box !important;
width: 100% !important;
max-width: none !important;
}
/* ========================================================================
CATEGORY HUBS
Reusable visual treatment for MediaWiki category pages.
Category-specific colours belong in the category page's own .wiki source.
======================================================================== */
body.ns-14 {
--category-accent: var(--ew-gold);
--category-accent-light: var(--ew-gold-soft);
--category-deep: #102733;
--category-heading: var(--category-deep);
--category-paper: #f5f0e7;
--category-paper-alt: #e8dfd0;
--category-ink: #2b2925;
--category-muted: #70675c;
--category-link: #174f72;
--category-line: rgba(59, 52, 44, 0.24);
}
html[data-ew-theme="dark"] body.ns-14 {
--category-deep: #0b202b;
--category-heading: #f0d79c;
--category-paper: #172228;
--category-paper-alt: #202d33;
--category-ink: #eee5d8;
--category-muted: #c6bcae;
--category-link: #8fc8ec;
--category-line: rgba(210, 172, 101, .24);
}
@media (prefers-color-scheme: dark) {
html[data-ew-theme="system"] body.ns-14 {
--category-deep: #0b202b;
--category-heading: #f0d79c;
--category-paper: #172228;
--category-paper-alt: #202d33;
--category-ink: #eee5d8;
--category-muted: #c6bcae;
--category-link: #8fc8ec;
--category-line: rgba(210, 172, 101, .24);
}
}
/* Category directories are navigation pages, not normal reading-width articles. */
body.ns-14 #mw-content-text {
box-sizing: border-box !important;
width: 100% !important;
max-width: none !important;
}
body.ns-14 .mw-parser-output {
box-sizing: border-box !important;
width: calc(100vw - var(--ew-sidebar) - 84px) !important;
max-width: none !important;
}
/* Keep category pages feeling like part of the Erindal article system. */
body.ns-14 #firstHeading {
margin-bottom: 0.9rem;
color: var(--category-heading);
font-family: "Alegreya SC", Georgia, serif;
letter-spacing: 0.025em;
}
.category-hub {
box-sizing: border-box;
width: 100%;
margin: 0 0 1.7rem;
color: var(--category-ink);
font-family: "Alegreya", Georgia, serif;
}
.category-hub__header {
position: relative;
overflow: hidden;
padding: 1.55rem 1.7rem 1.45rem;
border: 1px solid var(--category-line);
border-radius: 13px;
background:
linear-gradient(120deg,
var(--category-deep) 0%,
var(--category-deep) 58%,
var(--category-accent) 100%);
box-shadow: 0 10px 25px rgba(30, 24, 18, 0.13);
}
.category-hub__header::after {
content: "";
position: absolute;
right: -45px;
bottom: -90px;
width: 300px;
height: 220px;
border: 1px solid var(--category-line);
border-radius: 50%;
box-shadow:
0 0 0 34px rgba(255, 255, 255, 0.035),
0 0 0 72px rgba(255, 255, 255, 0.02);
pointer-events: none;
}
.category-hub__eyebrow {
position: relative;
z-index: 1;
margin-bottom: 0.22rem;
color: var(--category-accent-light);
font-family: "Alegreya SC", Georgia, serif;
font-size: 0.82rem;
font-weight: 700;
letter-spacing: 0.13em;
text-transform: uppercase;
}
.category-hub__title {
position: relative;
z-index: 1;
margin: 0;
color: #fff8ed;
font-family: "Alegreya SC", Georgia, serif;
font-size: clamp(2rem, 3vw, 3rem);
font-weight: 700;
line-height: 1.05;
letter-spacing: 0.025em;
}
.category-hub__subtitle {
position: relative;
z-index: 1;
max-width: 780px;
margin-top: 0.55rem;
color: rgba(255, 248, 237, 0.88);
font-size: 1.02rem;
line-height: 1.5;
}
.category-hub__intro {
margin: 1rem 0 0;
padding: 0.95rem 1.1rem;
border-left: 3px solid var(--category-accent);
background: linear-gradient(90deg,
var(--category-paper-alt),
var(--category-paper));
color: var(--category-ink);
}
.category-hub__grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 0.8rem;
margin-top: 1rem;
}
.category-hub__grid--2 {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
/* A secondary status card can sit beneath a 3-column category grid without
pretending to be another functional organization type. On desktop it uses
the middle column; on smaller layouts it remains centred, then becomes
full-width on mobile. */
.category-hub__card--centered {
grid-column: 2 / 3;
}
.category-hub__card {
min-width: 0;
padding: 1rem 1.05rem 0.95rem;
border: 1px solid var(--category-line);
border-radius: 10px;
background:
linear-gradient(145deg, var(--category-paper), var(--category-paper-alt));
box-shadow: 0 5px 14px rgba(45, 36, 28, 0.06);
}
.category-hub__card h3,
.category-hub__card-title {
display: block;
margin: 0 0 0.28rem;
color: var(--category-heading);
font-family: "Alegreya SC", Georgia, serif;
font-size: 1.13rem;
font-weight: 700;
line-height: 1.15;
}
.category-hub__card p {
margin: 0 0 0.65rem;
color: var(--category-muted);
line-height: 1.45;
}
.category-hub__card a {
color: var(--category-link);
font-weight: 700;
text-decoration: none;
}
.category-hub__card a:hover,
.category-hub__card a:focus {
text-decoration: underline;
}
/* Automatic MediaWiki category output ----------------------------------- */
body.ns-14 #mw-subcategories,
body.ns-14 #mw-pages {
margin-top: 1.8rem;
}
body.ns-14 #mw-subcategories > h2,
body.ns-14 #mw-pages > h2 {
margin: 0 0 0.45rem;
padding-bottom: 0.42rem;
color: var(--category-heading);
border-bottom: 1px solid var(--category-line);
font-family: "Alegreya SC", Georgia, serif;
font-size: 1.45rem;
letter-spacing: 0.025em;
}
body.ns-14 #mw-subcategories > p,
body.ns-14 #mw-pages > p {
color: var(--category-muted);
}
/* Turn the stock alphabetical columns into parchment directory cards. */
body.ns-14 .mw-category {
display: grid !important;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 0.85rem;
margin-top: 1rem;
}
body.ns-14 .mw-category-generated .mw-category-group,
body.ns-14 .mw-category .mw-category-group {
box-sizing: border-box;
min-width: 0;
margin: 0 !important;
padding: 0.85rem 0.95rem 0.9rem;
border: 1px solid var(--category-line);
border-radius: 10px;
background:
linear-gradient(145deg, var(--category-paper), var(--category-paper-alt));
box-shadow: 0 4px 12px rgba(43, 34, 27, 0.055);
}
body.ns-14 .mw-category-group h3 {
margin: 0 0 0.45rem;
padding: 0 0 0.32rem;
color: var(--category-accent);
border-bottom: 1px solid var(--category-line);
font-family: "Alegreya SC", Georgia, serif;
font-size: 1.2rem;
line-height: 1;
}
body.ns-14 .mw-category-group ul {
margin: 0 !important;
padding: 0 !important;
list-style: none !important;
}
body.ns-14 .mw-category-group li {
margin: 0 !important;
padding: 0.28rem 0 !important;
}
body.ns-14 .mw-category-group li + li {
border-top: 1px dotted var(--category-line);
}
body.ns-14 .mw-category-group a {
color: var(--category-link);
font-weight: 600;
text-decoration: none;
}
body.ns-14 .mw-category-group a:hover,
body.ns-14 .mw-category-group a:focus {
color: var(--category-heading);
text-decoration: underline;
}
/* Subcategories use the same visual language where MediaWiki exposes them. */
body.ns-14 #mw-subcategories .mw-category {
margin-bottom: 0.4rem;
}
/* ========================================================================
MAIN CATEGORY HUBS - HIDE DUPLICATE SUBCATEGORIES
The nine top-level category hubs already show curated category cards.
Hide MediaWiki's automatic #mw-subcategories block only on those pages.
Compact/mini category hubs remain unchanged.
======================================================================== */
body.ns-14.page-Category_Nations_and_Realms #mw-subcategories,
body.ns-14.page-Category_Ancestries_and_Cultures #mw-subcategories,
body.ns-14.page-Category_Races_and_Peoples #mw-subcategories,
body.ns-14.page-Category_Characters #mw-subcategories,
body.ns-14.page-Category_Organizations #mw-subcategories,
body.ns-14.page-Category_Religion_and_Deities #mw-subcategories,
body.ns-14.page-Category_Magic_and_Cosmology #mw-subcategories,
body.ns-14.page-Category_Locations #mw-subcategories,
body.ns-14.page-Category_History_and_Timeline #mw-subcategories,
body.ns-14.page-Category_Family_Lines #mw-subcategories {
display: none !important;
}
/* ========================================================================
RESPONSIVE LAYOUT - VECTOR 2022
======================================================================== */
@media (min-width: 1900px) {
.ew-category-grid {
grid-template-columns: repeat(5, minmax(0, 1fr));
}
.ew-strip {
grid-column: span 4;
}
}
@media (min-width: 1181px) and (max-width: 1550px) {
.ew-home-grid {
grid-template-columns: minmax(0, 1.56fr) minmax(360px, .98fr);
}
}
@media (min-width: 951px) {
.country-overview,
.history-overview,
.city-overview {
display: block !important;
margin-bottom: 1.5rem !important;
}
.country-record,
.history-record,
.city-record {
float: right !important;
box-sizing: border-box !important;
width: 340px !important;
max-width: 34% !important;
margin: 0 0 1.5rem 2rem !important;
}
.country-overview__lead,
.history-overview__lead,
.city-overview__lead {
display: block !important;
min-width: 0 !important;
}
.history-era-index,
.city-index {
min-width: 0;
overflow: hidden;
}
.country-page::after,
.history-page::after,
.city-page::after,
.deity-page::after,
.wiki-page::after {
content: "";
display: block;
clear: both;
}
}
@media (max-width: 1240px) {
#ew-server-topbar .ew-global-section > summary {
padding-right: 9px !important;
padding-left: 9px !important;
font-size: 14px !important;
}
#ew-server-topbar .ew-global-search {
flex-basis: 210px !important;
width: 210px !important;
}
#ew-theme-toggle {
min-width: 42px !important;
width: 42px !important;
overflow: hidden;
white-space: nowrap;
}
}
@media (max-width: 1100px) {
#ew-server-topbar .ew-global-section:nth-child(n+5) {
display: none !important;
}
.country-card-grid--four,
.country-card-grid--three,
.city-index__grid,
.city-location-grid,
.deity-card-grid--three,
.wiki-card-grid--three,
.wiki-index__grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
}
@media (max-width: 950px) {
.country-overview,
.history-overview,
.city-overview {
display: block !important;
}
.country-record,
.history-record,
.city-record {
float: none !important;
box-sizing: border-box !important;
width: min(100%, 580px) !important;
max-width: 100% !important;
margin: 0 auto 1.5rem !important;
}
.category-hub__card--centered {
grid-column: 1 / -1;
width: calc((100% - .8rem) / 2);
justify-self: center;
}
.category-hub__grid,
body.ns-14 .mw-category {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
}
@media (max-width: 900px) {
:root {
--ew-sidebar-open: 218px;
--ew-sidebar: var(--ew-sidebar-open);
}
html.ew-sidebar-collapsed {
--ew-sidebar: 0px;
}
.ew-sidebar-brand::before {
left: 8px;
top: 30px;
width: 58px;
height: 58px;
}
.ew-sidebar-brand::after {
left: 72px;
top: 34px;
font-size: 21px;
}
#ew-server-topbar .ew-global-section:nth-child(n+4) {
display: none !important;
}
body.skin-vector-2022 #content {
padding-right: 24px !important;
padding-left: 24px !important;
}
body.page-Main_Page #content {
padding-right: 0 !important;
padding-left: 0 !important;
}
.country-page,
.history-page,
.city-page,
.deity-page,
.wiki-page,
body.ns-14 .mw-parser-output {
width: calc(100vw - var(--ew-sidebar) - 48px) !important;
}
}
@media (max-width: 760px) {
:root,
html.ew-sidebar-collapsed {
--ew-sidebar: 0px;
}
#ew-sidebar {
box-shadow: inset -12px 0 24px rgba(0, 0, 0, .38), 8px 0 28px rgba(0, 0, 0, .46) !important;
}
html:not(.ew-sidebar-collapsed) #ew-sidebar-toggle {
left: calc(var(--ew-sidebar-open) - 14px) !important;
}
#ew-server-topbar {
left: 0 !important;
padding-left: 12px !important;
}
#ew-server-topbar .ew-global-section:nth-child(n+3) {
display: none !important;
}
#ew-server-topbar .ew-global-search {
flex-basis: min(220px, 43vw) !important;
width: min(220px, 43vw) !important;
}
.ew-topbar-tool {
display: none !important;
}
body.skin-vector-2022 #content,
body.skin-vector-2022 #footer {
margin-left: 0 !important;
}
.country-overview,
.country-feature,
.country-feature--image-left,
.country-card-grid,
.country-card-grid--three,
.country-card-grid--four,
.country-quickfacts,
.history-overview,
.history-era-index__grid,
.city-overview,
.city-index__grid,
.city-district-grid,
.city-location-grid,
.deity-overview,
.deity-card-grid,
.deity-card-grid--three,
.deity-index__grid,
.wiki-index__grid,
.wiki-card-grid,
.wiki-card-grid--three,
.wiki-process {
grid-template-columns: 1fr;
}
.country-record__row,
.history-record__row,
.city-record__row,
.deity-record__row,
.wiki-record__rows > div {
grid-template-columns: 1fr;
gap: .15rem;
}
.city-record,
.deity-record {
width: min(100%, 580px);
order: -1;
}
.history-figure .mw-file-element,
.history-figure__image,
.deity-figure .mw-file-element,
.deity-figure__image {
height: 220px;
}
.country-hero,
.history-hero,
.city-hero,
.deity-hero,
.wiki-hero {
height: 250px !important;
min-height: 250px !important;
max-height: 250px !important;
border-radius: 10px !important;
}
.country-hero__overlay,
.history-hero__overlay,
.city-hero__overlay,
.deity-hero__overlay,
.wiki-hero__overlay {
padding: 1.25rem !important;
}
.country-page,
.history-page,
.city-page,
.deity-page,
.wiki-page,
body.ns-14 .mw-parser-output {
width: calc(100vw - 48px) !important;
}
}
@media (max-width: 560px) {
#ew-server-topbar .ew-global-section:nth-child(n+2),
#ew-server-topbar .ew-global-search {
display: none !important;
}
#ew-server-topbar .ew-global-menu {
flex: 1 1 auto !important;
}
#ew-server-topbar .ew-global-section:first-child {
display: block !important;
}
#ew-theme-toggle {
display: grid !important;
}
body.skin-vector-2022 #content {
padding-right: 16px !important;
padding-left: 16px !important;
}
body.page-Main_Page #content {
padding-right: 0 !important;
padding-left: 0 !important;
}
.country-page,
.history-page,
.city-page,
.deity-page,
.wiki-page,
body.ns-14 .mw-parser-output {
width: calc(100vw - 32px) !important;
}
}
@media (max-width: 620px) {
.category-hub__header {
padding: 1.2rem;
}
.category-hub__grid,
.category-hub__grid--2,
body.ns-14 .mw-category {
grid-template-columns: 1fr;
}
.category-hub__card--centered {
width: 100%;
}
}
@media (prefers-reduced-motion: reduce) {
#ew-sidebar,
#ew-server-topbar,
#ew-sidebar-toggle,
body.skin-vector-2022 #content,
body.skin-vector-2022 #footer {
transition: none !important;
}
}
/* ========================================================================
END ERINDAL WIKI VECTOR-2022.CSS v1.0
======================================================================== */
/* Accessibility and mobile layout refinements — September 2026 */
body.page-Main_Page .mw-parser-output > p:has(> br:only-child) {
display: none !important;
}
body:not(.page-Main_Page) .mw-parser-output p a:not(.mw-file-description),
body:not(.page-Main_Page) .mw-parser-output li a:not(.mw-file-description) {
text-decoration: underline;
text-decoration-thickness: .06em;
text-underline-offset: .13em;
}
@media (max-width: 760px) {
#ew-server-topbar {
padding-left: 48px !important;
}
#ew-sidebar-toggle {
top: 5px !important;
}
}
/* Keep Vector article actions in a single horizontal row. */
body.skin-vector-2022 .vector-page-tools-landmark {
width: auto !important;
}
/* Restore Vector's standard compact article header while the custom Main Page uses the full canvas. */
body.skin-vector-2022.page-Main_Page .mw-body {
grid-template-columns: minmax(0, 1fr) 0 !important;
}
body.skin-vector-2022 .vector-page-toolbar .mw-list-item.selected > a {
color: var(--ew-text) !important;
border-bottom-color: var(--ew-text) !important;
}
/* Extend article title and toolbar rules across the full canvas; keep actions at the far right. */
body.skin-vector-2022:not(.page-Main_Page) .mw-body {
grid-template-columns: minmax(0, 59.25rem) minmax(0, 1fr) !important;
}
body.skin-vector-2022:not(.page-Main_Page) .vector-page-titlebar,
body.skin-vector-2022:not(.page-Main_Page) .vector-page-toolbar {
grid-column: 1 / -1 !important;
}
/* Main Page: remove Vector's empty strip below the footer. */
body.page-Main_Page .mw-footer-container {
padding-bottom: 0 !important;
}
/* Dark category-hub palette must override page-local inline light palettes. */
html[data-ew-theme="dark"] body.ns-14 .category-hub {
--category-heading: #f0d79c !important;
--category-paper: #172228 !important;
--category-paper-alt: #202d33 !important;
--category-ink: #eee5d8 !important;
--category-muted: #c6bcae !important;
--category-link: #8fc8ec !important;
--category-line: rgba(210, 172, 101, 0.24) !important;
}
@media (prefers-color-scheme: dark) {
html[data-ew-theme="system"] body.ns-14 .category-hub {
--category-heading: #f0d79c !important;
--category-paper: #172228 !important;
--category-paper-alt: #202d33 !important;
--category-ink: #eee5d8 !important;
--category-muted: #c6bcae !important;
--category-link: #8fc8ec !important;
--category-line: rgba(210, 172, 101, 0.24) !important;
}
}