MediaWiki:Common.css: Difference between revisions
Content deleted Content added
No edit summary |
No edit summary |
||
Line 1,288:
--ed-underline: #ccc1b7; /* resting link underline tint */
--ed-accent: #f07662; /* house coral — hover underline, sparing */
--ed-paper: #
--ed-infobox-w: 18.5rem; /* infobox total width (border-box) */
--ed-measure: calc((100% - var(--ed-infobox-w)) * 0.9); /* prose stops ~10% short of
Line 1,621:
margin-bottom: 0.6em;
}
.mw-body-content h4, .mw-body-content h5
font-family: var(--ed-sans);
font-size: 1rem;
font-weight: 600;
color: var(--text-dark) !important;
}
/* h6 = bold BODY text (serif, body size), not a sans heading; normal paragraph
spacing to the content below (no heading gap, no rule) */
.mw-body-content h6 {
font-family: var(--ed-serif);
font-size: var(--ed-body);
font-weight: 700;
color: var(--text-dark) !important;
margin: 1em 0 0.4em;
}
/* the inner spans are pinned #202122 !important by old skin CSS — make
Line 1,716 ⟶ 1,725:
}
/* entries: ALL levels uniform
▲ colour. The ONLY emphasis is the current section: active = dark + bold, and
jump).
▲ hover darkens to dark as pointer feedback.
CASCADE: base is (0,2,0) non-visited + (0,3,0) :visited; hover/active are
(0,3,0) !important and sit AFTER the base so source order hands them the tie
Line 1,725 ⟶ 1,734:
.vector-toc .vector-toc-link,
.vector-toc .vector-toc-link:visited {
color: var(--text-
font-size: var(--ed-small);
text-decoration: none;
Line 1,734 ⟶ 1,743:
font-weight: 500 !important; /* the "current" cue (dark + bold on one row) */
}
/* hide level-6 headings from the TOC. Body headings are H2..H6 and pages are
H2-topped, so MediaWiki numbers by nesting depth H2=level-1 … H6=level-5;
level-5 targets ONLY H6 (H5 = level-4 is untouched). */
.vector-toc .vector-toc-level-5 { display: none !important; }
/* lists flush on the component edge; hanging indent carried on every li */
Line 1,797 ⟶ 1,810:
white-space: nowrap;
font-variant-numeric: tabular-nums;
color: var(--text-
}
.vector-toc #toc-mw-content-text.vector-toc-list-item-active .vector-toc-text::before {
Line 1,845 ⟶ 1,858:
content: "▸"; /* collapsed — the house triangle */
font-size: 0.65rem;
color: var(--text-
}
.vector-toc .vector-toc-list-item-expanded > .vector-toc-toggle::before {
| |||