MediaWiki:Common.css: Difference between revisions
Content deleted Content added
No edit summary |
No edit summary |
||
Line 1,627:
color: var(--text-dark) !important;
}
/* h6 = bold BODY text (serif, body size), not a sans heading
.mw-body-content h6 {
font-family: var(--ed-serif);
Line 1,634 ⟶ 1,633:
font-weight: 700;
color: var(--text-dark) !important;
}
margin: 1em 0 0.4em;▼
/* h6 spacing: MORE before, LESS after. This wiki wraps headings in a
.mw-heading<N> div that owns the layout margin (cf. the .mw-heading2 rule
above), so the margin MUST sit on the wrapper — also on the bare h6 as a
fallback for un-wrapped DOM. */
.mw-body-content h6,
.mw-body-content .mw-heading6 {
}
/* pull the block right after an h6 up close, so "less space after" holds even
before a table. The emitter wraps every table in an overflow-x div (1.8em top
margin); the copy-table gadget later injects .copy-table-scroll INSIDE it
(also 1.8em) — the overflow div is a block-formatting context, so that inner
margin can't collapse away. Reset both wrappers, plus a following paragraph. */
.mw-body-content .mw-heading6 + div[style*="overflow-x"],
.mw-body-content h6 + div[style*="overflow-x"],
.mw-body-content .mw-heading6 + div[style*="overflow-x"] > .copy-table-scroll,
.mw-body-content h6 + div[style*="overflow-x"] > .copy-table-scroll,
.mw-body-content .mw-heading6 + p,
.mw-body-content h6 + p {
margin-top: 0.2em !important;
}
/* the inner spans are pinned #202122 !important by old skin CSS — make
Line 1,743 ⟶ 1,762:
font-weight: 500 !important; /* the "current" cue (dark + bold on one row) */
}
/*
/* lists flush on the component edge; hanging indent carried on every li */
| |||