Template:NationalHistory/styles.css: Difference between revisions
Appearance
Content deleted Content added
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
/* ========================================================= |
/* ========================================================= |
||
NATIONAL HISTORY |
NATIONAL HISTORY PAGES |
||
Shared structure for national-history articles. |
|||
History pages now sit on the dark Erindal article background. |
|||
Paper components retain the page-local dark ink palette. |
|||
========================================================= */ |
========================================================= */ |
||
.history- |
.history-page { |
||
--history-accent: #8f4d31; |
|||
--history-accent-light: #c78658; |
|||
--history-deep: #211713; |
|||
--history-paper: #f5efe4; |
|||
--history-paper-alt: #e9ddcb; |
|||
--history-ink: #30251f; |
|||
--history-muted: #76665b; |
|||
--history-line: rgba(78, 54, 40, 0.24); |
|||
box-sizing: border-box; |
|||
width: 100%; |
|||
max-width: none; |
|||
color: #e9dfd0; |
color: #e9dfd0; |
||
font-family: "Alegreya", Georgia, serif; |
|||
line-height: 1.62; |
|||
} |
} |
||
/* National histories use the full available article width. */ |
|||
.history-overview__lead p, |
|||
body[class*="page-History_of_"] .mw-parser-output { |
|||
.history-page__body p, |
|||
box-sizing: border-box; |
|||
.history-page__body li { |
|||
width: 100%; |
|||
max-width: none; |
|||
} |
} |
||
.history-page--kurn { |
|||
--history-accent: #994b2c; |
|||
--history-accent-light: #d18b50; |
|||
--history-deep: #231713; |
|||
} |
|||
/* ========================================================= |
|||
HERO |
|||
========================================================= */ |
|||
.history-hero { |
|||
position: relative; |
|||
min-height: 240px; |
|||
margin: 0 0 1.4rem; |
|||
overflow: hidden; |
|||
border: 1px solid rgba(255, 255, 255, 0.08); |
|||
border-radius: 14px; |
|||
background: var(--history-deep); |
|||
box-shadow: 0 12px 30px rgba(28, 18, 13, 0.19); |
|||
} |
|||
.history-hero .mw-file-description, |
|||
.history-hero .mw-file-element, |
|||
.history-hero__image { |
|||
display: block; |
|||
width: 100%; |
|||
height: clamp(240px, 22vw, 320px); |
|||
object-fit: cover; |
|||
} |
|||
.history-hero a.new.history-hero__image { |
|||
display: none !important; |
|||
} |
|||
.history-hero__overlay { |
|||
position: absolute; |
|||
inset: 0; |
|||
display: flex; |
|||
flex-direction: column; |
|||
justify-content: flex-end; |
|||
padding: clamp(1.25rem, 3vw, 2.5rem); |
|||
color: #fffaf2; |
|||
background: |
|||
linear-gradient( |
|||
180deg, |
|||
rgba(20, 12, 9, 0.06) 18%, |
|||
rgba(20, 12, 9, 0.88) 100% |
|||
), |
|||
linear-gradient( |
|||
90deg, |
|||
rgba(20, 12, 9, 0.52), |
|||
transparent 64% |
|||
); |
|||
pointer-events: none; |
|||
} |
|||
.history-hero__eyebrow { |
|||
margin-bottom: 0.25rem; |
|||
color: #efb476; |
|||
font-family: "Alegreya SC", Georgia, serif; |
|||
font-size: 0.85rem; |
|||
font-weight: 700; |
|||
letter-spacing: 0.16em; |
|||
} |
|||
.history-hero__title { |
|||
max-width: 900px; |
|||
font-family: "Alegreya SC", Georgia, serif; |
|||
font-size: clamp(2.1rem, 4vw, 3.6rem); |
|||
font-weight: 700; |
|||
line-height: 0.96; |
|||
text-shadow: 0 3px 16px rgba(0, 0, 0, 0.72); |
|||
} |
|||
.history-hero__subtitle { |
|||
margin-top: 0.55rem; |
|||
color: #eadcc9; |
|||
font-size: clamp(1rem, 2vw, 1.35rem); |
|||
font-style: italic; |
|||
} |
|||
/* ========================================================= |
|||
OVERVIEW |
|||
========================================================= */ |
|||
.history-overview { |
|||
display: grid; |
|||
grid-template-columns: minmax(0, 1fr) minmax(280px, 340px); |
|||
gap: 2rem; |
|||
align-items: start; |
|||
margin-bottom: 2.25rem; |
|||
} |
|||
.history-overview__lead { |
|||
color: #e9dfd0; |
|||
font-size: 1.08rem; |
|||
} |
|||
.history-overview__lead > p:first-child::first-letter { |
|||
float: left; |
|||
margin: 0.08em 0.1em 0 0; |
|||
color: var(--history-accent-light); |
|||
font-family: "Alegreya SC", Georgia, serif; |
|||
font-size: 3.8em; |
|||
font-weight: 700; |
|||
line-height: 0.76; |
|||
} |
|||
/* ========================================================= |
|||
HISTORICAL RECORD |
|||
========================================================= */ |
|||
.history-record { |
|||
overflow: hidden; |
|||
color: var(--history-ink); |
|||
border: 1px solid var(--history-line); |
|||
border-radius: 12px; |
|||
background: var(--history-paper); |
|||
box-shadow: 0 9px 22px rgba(55, 37, 27, 0.12); |
|||
} |
|||
.history-record__heading { |
|||
padding: 0.85rem 1rem; |
|||
color: #fff7ec; |
|||
background: |
|||
linear-gradient( |
|||
135deg, |
|||
var(--history-deep), |
|||
#503023 |
|||
); |
|||
font-family: "Alegreya SC", Georgia, serif; |
|||
font-size: 1.25rem; |
|||
font-weight: 700; |
|||
letter-spacing: 0.04em; |
|||
text-align: center; |
|||
} |
|||
.history-record__row { |
|||
display: grid; |
|||
grid-template-columns: minmax(100px, 0.9fr) minmax(0, 1.3fr); |
|||
gap: 0.75rem; |
|||
padding: 0.62rem 0.85rem; |
|||
border-top: 1px solid var(--history-line); |
|||
} |
|||
.history-record__row span { |
|||
color: var(--history-muted); |
|||
font-family: "Alegreya SC", Georgia, serif; |
|||
font-weight: 700; |
|||
} |
|||
.history-record a { |
|||
color: #784029; |
|||
} |
|||
/* ========================================================= |
|||
HISTORICAL ERA INDEX |
|||
========================================================= */ |
|||
.history-era-index { |
|||
box-sizing: border-box; |
|||
margin: 1.8rem 0 2.4rem; |
|||
padding: 1.15rem; |
|||
color: var(--history-ink); |
|||
border: 1px solid var(--history-line); |
|||
border-radius: 12px; |
|||
background: |
|||
linear-gradient( |
|||
135deg, |
|||
rgba(255, 255, 255, 0.42), |
|||
transparent |
|||
), |
|||
var(--history-paper-alt); |
|||
} |
|||
.history-era-index__heading { |
|||
margin: 0 0 0.85rem; |
|||
color: var(--history-deep); |
|||
font-family: "Alegreya SC", Georgia, serif; |
|||
font-size: 1.25rem; |
|||
font-weight: 700; |
|||
text-align: center; |
|||
} |
|||
.history-era-index__grid { |
|||
display: grid; |
|||
grid-template-columns: repeat(3, minmax(0, 1fr)); |
|||
gap: 0.72rem; |
|||
align-items: stretch; |
|||
} |
|||
.history-era-index__grid > div { |
|||
box-sizing: border-box; |
|||
min-width: 0; |
|||
} |
|||
.history-era-index__grid a { |
|||
display: block; |
|||
box-sizing: border-box; |
|||
height: 100%; |
|||
padding: 0.72rem 0.82rem; |
|||
color: var(--history-ink); |
|||
border: 1px solid rgba(91, 59, 41, 0.18); |
|||
border-left: 4px solid var(--history-accent); |
|||
border-radius: 7px; |
|||
background: rgba(255, 252, 246, 0.68); |
|||
text-decoration: none; |
|||
transition: |
|||
transform 120ms ease, |
|||
box-shadow 120ms ease, |
|||
background 120ms ease; |
|||
} |
|||
.history-era-index__grid a:hover { |
|||
transform: translateY(-1px); |
|||
background: #fffaf2; |
|||
box-shadow: 0 5px 12px rgba(54, 36, 25, 0.1); |
|||
} |
|||
.history-era-index__grid span, |
|||
.history-era-index__grid strong { |
|||
display: block; |
|||
} |
|||
.history-era-index__grid span { |
|||
color: var(--history-accent); |
|||
font-family: "Alegreya SC", Georgia, serif; |
|||
font-size: 0.76rem; |
|||
font-weight: 700; |
|||
letter-spacing: 0.08em; |
|||
text-transform: uppercase; |
|||
} |
|||
.history-era-index__grid strong { |
|||
margin-top: 0.12rem; |
|||
font-size: 0.98rem; |
|||
line-height: 1.2; |
|||
} |
|||
/* ========================================================= |
|||
ARTICLE BODY |
|||
========================================================= */ |
|||
.history-page__body { |
.history-page__body { |
||
position: relative; |
position: relative; |
||
box-sizing: border-box; |
box-sizing: border-box; |
||
width: 100%; |
width: 100%; |
||
max-width: none; |
max-width: none; |
||
margin: 0; |
margin: 0; |
||
padding-left: 2.25rem; |
padding-left: 2.25rem; |
||
color: #e9dfd0; |
|||
border-left: 2px solid rgba(209, 160, 111, 0.34); |
border-left: 2px solid rgba(209, 160, 111, 0.34); |
||
} |
} |
||
| Line 28: | Line 339: | ||
.history-page__body p { |
.history-page__body p { |
||
margin: 0.82rem 0; |
margin: 0.82rem 0; |
||
color: inherit; |
|||
} |
|||
.history-page__body li { |
|||
color: inherit; |
|||
} |
} |
||
.history-page__body h2 { |
.history-page__body h2 { |
||
position: relative; |
position: relative; |
||
margin: 2.65rem 0 1rem; |
margin: 2.65rem 0 1rem; |
||
padding: 0 0 0.55rem; |
padding: 0 0 0.55rem; |
||
border-bottom: 1px solid rgba(209, 160, 111, 0.28); |
|||
color: #f4eadb; |
color: #f4eadb; |
||
border-bottom: 1px solid rgba(209, 160, 111, 0.28); |
|||
font-family: "Alegreya SC", Georgia, serif; |
font-family: "Alegreya SC", Georgia, serif; |
||
font-size: clamp(1.55rem, 3vw, 2rem); |
font-size: clamp(1.55rem, 3vw, 2rem); |
||
| Line 45: | Line 365: | ||
top: 0.35em; |
top: 0.35em; |
||
left: calc(-2.25rem - 7px); |
left: calc(-2.25rem - 7px); |
||
width: 12px; |
width: 12px; |
||
height: 12px; |
height: 12px; |
||
border: 2px solid #f4eadb; |
border: 2px solid #f4eadb; |
||
border-radius: 50%; |
border-radius: 50%; |
||
background: var(--history-accent, var(--ew-gold)); |
|||
background: var(--history-accent); |
|||
box-shadow: 0 0 0 2px rgba(209, 160, 111, 0.32); |
box-shadow: 0 0 0 2px rgba(209, 160, 111, 0.32); |
||
content: ""; |
content: ""; |
||
} |
} |
||
| Line 56: | Line 381: | ||
.history-page__body h3 { |
.history-page__body h3 { |
||
margin-top: 1.75rem; |
margin-top: 1.75rem; |
||
color: var(--history-accent-light, #d1a06f); |
|||
color: var(--history-accent-light); |
|||
font-family: "Alegreya SC", Georgia, serif; |
font-family: "Alegreya SC", Georgia, serif; |
||
font-size: 1.3rem; |
font-size: 1.3rem; |
||
| Line 70: | Line 397: | ||
} |
} |
||
/* Light components inside the dark article body must keep dark text. */ |
|||
/* ========================================================= |
|||
.history-page__body .toc, |
|||
CONTENT BOXES INSIDE ARTICLE BODY |
|||
.history-page__body #toc, |
|||
========================================================= */ |
|||
.history-page__body .history-note, |
|||
.history-page__body table.wikitable, |
|||
.history-page__body .history-figure { |
|||
color: var(--history-ink, #2d2824); |
|||
} |
|||
.history-page__body .toc, |
.history-page__body .toc, |
||
| Line 83: | Line 406: | ||
margin: 0 0 1.8rem; |
margin: 0 0 1.8rem; |
||
padding: 0.9rem 1.1rem; |
padding: 0.9rem 1.1rem; |
||
border: 1px solid var(--history-line, var(--ew-border)); |
|||
color: var(--history-ink); |
|||
border: 1px solid var(--history-line); |
|||
border-radius: 9px; |
border-radius: 9px; |
||
background: var(--history-paper, var(--ew-paper-light)); |
|||
background: var(--history-paper); |
|||
} |
} |
||
.history-note { |
|||
margin: 1.25rem 0; |
|||
padding: 0.9rem 1rem; |
|||
color: var(--history-ink); |
|||
border: 1px solid var(--history-line); |
|||
border-left: 5px solid var(--history-accent); |
|||
border-radius: 8px; |
|||
background: |
|||
linear-gradient( |
|||
135deg, |
|||
var(--history-paper), |
|||
var(--history-paper-alt) |
|||
); |
|||
} |
|||
.history-note--disputed { |
|||
--history-accent: #776453; |
|||
} |
|||
.history-note--aftermath { |
|||
--history-accent: #7c6331; |
|||
} |
|||
.history-note strong { |
|||
color: var(--history-deep); |
|||
font-family: "Alegreya SC", Georgia, serif; |
|||
} |
|||
.history-page__body .thumb { |
|||
margin-top: 1.1rem; |
|||
border-color: var(--history-line); |
|||
} |
|||
.history-page__body table.wikitable { |
|||
color: var(--history-ink); |
|||
border-color: var(--history-line); |
|||
background: var(--history-paper); |
|||
} |
|||
.history-page__body table.wikitable th { |
|||
color: #fff8ed; |
|||
background: var(--history-deep); |
|||
} |
|||
/* ========================================================= |
|||
HISTORY FIGURES |
|||
========================================================= */ |
|||
.history-figure { |
|||
box-sizing: border-box; |
|||
margin: 1.35rem 0 1.9rem; |
|||
overflow: hidden; |
|||
color: var(--history-ink); |
|||
border: 1px solid var(--history-line); |
|||
border-radius: 10px; |
|||
background: var(--history-paper); |
|||
box-shadow: 0 8px 20px rgba(50, 33, 24, 0.14); |
|||
} |
|||
.history-figure .mw-file-description { |
|||
display: block; |
|||
width: 100%; |
|||
max-width: none; |
|||
} |
|||
.history-figure .mw-file-element, |
|||
.history-figure__image { |
|||
display: block; |
|||
width: 100% !important; |
|||
max-width: none !important; |
|||
height: clamp(220px, 28vw, 340px); |
|||
object-fit: cover; |
|||
} |
|||
.history-figure a.new { |
|||
display: none !important; |
|||
} |
|||
.history-figure__caption { |
|||
padding: 0.65rem 0.9rem 0.72rem; |
|||
color: var(--history-muted); |
|||
background: |
|||
linear-gradient( |
|||
135deg, |
|||
var(--history-paper), |
|||
var(--history-paper-alt) |
|||
); |
|||
font-size: 0.94rem; |
|||
font-style: italic; |
|||
line-height: 1.35; |
|||
} |
|||
/* ========================================================= |
|||
MOBILE |
|||
========================================================= */ |
|||
@media (max-width: 760px) { |
@media (max-width: 760px) { |
||
.history-overview { |
|||
grid-template-columns: 1fr; |
|||
} |
|||
.history-record { |
|||
width: min(100%, 560px); |
|||
order: -1; |
|||
} |
|||
.history-era-index__grid { |
|||
grid-template-columns: 1fr; |
|||
} |
|||
.history-record__row { |
|||
grid-template-columns: 1fr; |
|||
gap: 0.15rem; |
|||
} |
|||
.history-page__body { |
.history-page__body { |
||
padding-left: 1.25rem; |
padding-left: 1.25rem; |
||
| Line 95: | Line 555: | ||
.history-page__body h2::before { |
.history-page__body h2::before { |
||
left: calc(-1.25rem - 7px); |
left: calc(-1.25rem - 7px); |
||
} |
|||
.history-hero { |
|||
min-height: 220px; |
|||
border-radius: 10px; |
|||
} |
|||
.history-hero .mw-file-description, |
|||
.history-hero .mw-file-element, |
|||
.history-hero__image { |
|||
height: 250px; |
|||
} |
|||
.history-hero__overlay { |
|||
padding: 1.25rem; |
|||
} |
|||
.history-figure .mw-file-element, |
|||
.history-figure__image { |
|||
height: 220px; |
|||
} |
} |
||
} |
} |
||
Latest revision as of 13:22, 18 September 2026
/* =========================================================
NATIONAL HISTORY PAGES
Shared structure for national-history articles.
========================================================= */
.history-page {
--history-accent: #8f4d31;
--history-accent-light: #c78658;
--history-deep: #211713;
--history-paper: #f5efe4;
--history-paper-alt: #e9ddcb;
--history-ink: #30251f;
--history-muted: #76665b;
--history-line: rgba(78, 54, 40, 0.24);
box-sizing: border-box;
width: 100%;
max-width: none;
color: #e9dfd0;
font-family: "Alegreya", Georgia, serif;
line-height: 1.62;
}
/* National histories use the full available article width. */
body[class*="page-History_of_"] .mw-parser-output {
box-sizing: border-box;
width: 100%;
max-width: none;
}
.history-page--kurn {
--history-accent: #994b2c;
--history-accent-light: #d18b50;
--history-deep: #231713;
}
/* =========================================================
HERO
========================================================= */
.history-hero {
position: relative;
min-height: 240px;
margin: 0 0 1.4rem;
overflow: hidden;
border: 1px solid rgba(255, 255, 255, 0.08);
border-radius: 14px;
background: var(--history-deep);
box-shadow: 0 12px 30px rgba(28, 18, 13, 0.19);
}
.history-hero .mw-file-description,
.history-hero .mw-file-element,
.history-hero__image {
display: block;
width: 100%;
height: clamp(240px, 22vw, 320px);
object-fit: cover;
}
.history-hero a.new.history-hero__image {
display: none !important;
}
.history-hero__overlay {
position: absolute;
inset: 0;
display: flex;
flex-direction: column;
justify-content: flex-end;
padding: clamp(1.25rem, 3vw, 2.5rem);
color: #fffaf2;
background:
linear-gradient(
180deg,
rgba(20, 12, 9, 0.06) 18%,
rgba(20, 12, 9, 0.88) 100%
),
linear-gradient(
90deg,
rgba(20, 12, 9, 0.52),
transparent 64%
);
pointer-events: none;
}
.history-hero__eyebrow {
margin-bottom: 0.25rem;
color: #efb476;
font-family: "Alegreya SC", Georgia, serif;
font-size: 0.85rem;
font-weight: 700;
letter-spacing: 0.16em;
}
.history-hero__title {
max-width: 900px;
font-family: "Alegreya SC", Georgia, serif;
font-size: clamp(2.1rem, 4vw, 3.6rem);
font-weight: 700;
line-height: 0.96;
text-shadow: 0 3px 16px rgba(0, 0, 0, 0.72);
}
.history-hero__subtitle {
margin-top: 0.55rem;
color: #eadcc9;
font-size: clamp(1rem, 2vw, 1.35rem);
font-style: italic;
}
/* =========================================================
OVERVIEW
========================================================= */
.history-overview {
display: grid;
grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
gap: 2rem;
align-items: start;
margin-bottom: 2.25rem;
}
.history-overview__lead {
color: #e9dfd0;
font-size: 1.08rem;
}
.history-overview__lead > p:first-child::first-letter {
float: left;
margin: 0.08em 0.1em 0 0;
color: var(--history-accent-light);
font-family: "Alegreya SC", Georgia, serif;
font-size: 3.8em;
font-weight: 700;
line-height: 0.76;
}
/* =========================================================
HISTORICAL RECORD
========================================================= */
.history-record {
overflow: hidden;
color: var(--history-ink);
border: 1px solid var(--history-line);
border-radius: 12px;
background: var(--history-paper);
box-shadow: 0 9px 22px rgba(55, 37, 27, 0.12);
}
.history-record__heading {
padding: 0.85rem 1rem;
color: #fff7ec;
background:
linear-gradient(
135deg,
var(--history-deep),
#503023
);
font-family: "Alegreya SC", Georgia, serif;
font-size: 1.25rem;
font-weight: 700;
letter-spacing: 0.04em;
text-align: center;
}
.history-record__row {
display: grid;
grid-template-columns: minmax(100px, 0.9fr) minmax(0, 1.3fr);
gap: 0.75rem;
padding: 0.62rem 0.85rem;
border-top: 1px solid var(--history-line);
}
.history-record__row span {
color: var(--history-muted);
font-family: "Alegreya SC", Georgia, serif;
font-weight: 700;
}
.history-record a {
color: #784029;
}
/* =========================================================
HISTORICAL ERA INDEX
========================================================= */
.history-era-index {
box-sizing: border-box;
margin: 1.8rem 0 2.4rem;
padding: 1.15rem;
color: var(--history-ink);
border: 1px solid var(--history-line);
border-radius: 12px;
background:
linear-gradient(
135deg,
rgba(255, 255, 255, 0.42),
transparent
),
var(--history-paper-alt);
}
.history-era-index__heading {
margin: 0 0 0.85rem;
color: var(--history-deep);
font-family: "Alegreya SC", Georgia, serif;
font-size: 1.25rem;
font-weight: 700;
text-align: center;
}
.history-era-index__grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 0.72rem;
align-items: stretch;
}
.history-era-index__grid > div {
box-sizing: border-box;
min-width: 0;
}
.history-era-index__grid a {
display: block;
box-sizing: border-box;
height: 100%;
padding: 0.72rem 0.82rem;
color: var(--history-ink);
border: 1px solid rgba(91, 59, 41, 0.18);
border-left: 4px solid var(--history-accent);
border-radius: 7px;
background: rgba(255, 252, 246, 0.68);
text-decoration: none;
transition:
transform 120ms ease,
box-shadow 120ms ease,
background 120ms ease;
}
.history-era-index__grid a:hover {
transform: translateY(-1px);
background: #fffaf2;
box-shadow: 0 5px 12px rgba(54, 36, 25, 0.1);
}
.history-era-index__grid span,
.history-era-index__grid strong {
display: block;
}
.history-era-index__grid span {
color: var(--history-accent);
font-family: "Alegreya SC", Georgia, serif;
font-size: 0.76rem;
font-weight: 700;
letter-spacing: 0.08em;
text-transform: uppercase;
}
.history-era-index__grid strong {
margin-top: 0.12rem;
font-size: 0.98rem;
line-height: 1.2;
}
/* =========================================================
ARTICLE BODY
========================================================= */
.history-page__body {
position: relative;
box-sizing: border-box;
width: 100%;
max-width: none;
margin: 0;
padding-left: 2.25rem;
color: #e9dfd0;
border-left: 2px solid rgba(209, 160, 111, 0.34);
}
.history-page__body p {
margin: 0.82rem 0;
color: inherit;
}
.history-page__body li {
color: inherit;
}
.history-page__body h2 {
position: relative;
margin: 2.65rem 0 1rem;
padding: 0 0 0.55rem;
color: #f4eadb;
border-bottom: 1px solid rgba(209, 160, 111, 0.28);
font-family: "Alegreya SC", Georgia, serif;
font-size: clamp(1.55rem, 3vw, 2rem);
font-weight: 700;
}
.history-page__body h2::before {
position: absolute;
top: 0.35em;
left: calc(-2.25rem - 7px);
width: 12px;
height: 12px;
border: 2px solid #f4eadb;
border-radius: 50%;
background: var(--history-accent);
box-shadow: 0 0 0 2px rgba(209, 160, 111, 0.32);
content: "";
}
.history-page__body h3 {
margin-top: 1.75rem;
color: var(--history-accent-light);
font-family: "Alegreya SC", Georgia, serif;
font-size: 1.3rem;
font-weight: 700;
}
.history-page__body a {
color: #d9aa72;
}
.history-page__body a:hover {
color: #f0c58d;
}
/* =========================================================
CONTENT BOXES INSIDE ARTICLE BODY
========================================================= */
.history-page__body .toc,
.history-page__body #toc {
margin: 0 0 1.8rem;
padding: 0.9rem 1.1rem;
color: var(--history-ink);
border: 1px solid var(--history-line);
border-radius: 9px;
background: var(--history-paper);
}
.history-note {
margin: 1.25rem 0;
padding: 0.9rem 1rem;
color: var(--history-ink);
border: 1px solid var(--history-line);
border-left: 5px solid var(--history-accent);
border-radius: 8px;
background:
linear-gradient(
135deg,
var(--history-paper),
var(--history-paper-alt)
);
}
.history-note--disputed {
--history-accent: #776453;
}
.history-note--aftermath {
--history-accent: #7c6331;
}
.history-note strong {
color: var(--history-deep);
font-family: "Alegreya SC", Georgia, serif;
}
.history-page__body .thumb {
margin-top: 1.1rem;
border-color: var(--history-line);
}
.history-page__body table.wikitable {
color: var(--history-ink);
border-color: var(--history-line);
background: var(--history-paper);
}
.history-page__body table.wikitable th {
color: #fff8ed;
background: var(--history-deep);
}
/* =========================================================
HISTORY FIGURES
========================================================= */
.history-figure {
box-sizing: border-box;
margin: 1.35rem 0 1.9rem;
overflow: hidden;
color: var(--history-ink);
border: 1px solid var(--history-line);
border-radius: 10px;
background: var(--history-paper);
box-shadow: 0 8px 20px rgba(50, 33, 24, 0.14);
}
.history-figure .mw-file-description {
display: block;
width: 100%;
max-width: none;
}
.history-figure .mw-file-element,
.history-figure__image {
display: block;
width: 100% !important;
max-width: none !important;
height: clamp(220px, 28vw, 340px);
object-fit: cover;
}
.history-figure a.new {
display: none !important;
}
.history-figure__caption {
padding: 0.65rem 0.9rem 0.72rem;
color: var(--history-muted);
background:
linear-gradient(
135deg,
var(--history-paper),
var(--history-paper-alt)
);
font-size: 0.94rem;
font-style: italic;
line-height: 1.35;
}
/* =========================================================
MOBILE
========================================================= */
@media (max-width: 760px) {
.history-overview {
grid-template-columns: 1fr;
}
.history-record {
width: min(100%, 560px);
order: -1;
}
.history-era-index__grid {
grid-template-columns: 1fr;
}
.history-record__row {
grid-template-columns: 1fr;
gap: 0.15rem;
}
.history-page__body {
padding-left: 1.25rem;
}
.history-page__body h2::before {
left: calc(-1.25rem - 7px);
}
.history-hero {
min-height: 220px;
border-radius: 10px;
}
.history-hero .mw-file-description,
.history-hero .mw-file-element,
.history-hero__image {
height: 250px;
}
.history-hero__overlay {
padding: 1.25rem;
}
.history-figure .mw-file-element,
.history-figure__image {
height: 220px;
}
}