MediaWiki:Common.css: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 1,968:
}
/* NO section numbers — Vector ships .vector-toc-numb display:none and we no
longer re-show it. Depth is carried by DASHTREE markers instead:, angenerated en dashas
the first flex item of the text row (theoff slotVector's theper-level numberli used to occupy) offclasses:
per nesting level ("–" children, "––" grandchildren), generated as the
one vertical guide per ancestor level + an en-dash branch ("|–" children,
first flex item of the text row (the slot the number used to occupy) off
"||–" grandchildren), reading like a tree's continuation lines. Top-level
Vector's per-level li classes. Top-level entries carry no marker. */
entries carry no marker. ASCII "|" on purpose — box-drawing glyphs don't
.vector-toc .vector-toc-level-2 > .vector-toc-link .vector-toc-text::before { content: "\2013"; }
exist in PT Serif and would render from a fallback face. */
.vector-toc .vector-toc-level-3 > .vector-toc-link .vector-toc-text::before { content: "\2013\2013"; }
.vector-toc .vector-toc-level-42 > .vector-toc-link .vector-toc-text::before { content: "\2013\2013|\2013"; }
.vector-toc .vector-toc-level-23 > .vector-toc-link .vector-toc-text::before { content: "|\2013\2013"; }
.vector-toc .vector-toc-level-34 > .vector-toc-link .vector-toc-text::before { content: "|\2013\2013\2013"; }
.vector-toc .vector-toc-level-2 > .vector-toc-link .vector-toc-text::before,
.vector-toc .vector-toc-level-3 > .vector-toc-link .vector-toc-text::before,
Line 1,981 ⟶ 1,983:
margin-right: 0.4em;
white-space: nowrap;
letter-spacing: -0.08em14em; /* consecutivepull enpipe + dashes readtogether asso one"|–" rule */reads
as ONE branch glyph (a ├ shape); dial back
toward -0.08em if they ever overlap */
}
/* the title span is unclassed in Vector's DOM; it is the wrapping block */