MediaWiki:Common.css: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 1,800:
list-style: none;
}
 
.vector-toc .vector-toc-list-item {
position: relative;
Line 1,806 ⟶ 1,807:
padding-bottom: 0.22rem; /* now-inline .vector-toc-text padding) */
}
/* nested lists sit FLUSH inside the parent li's padding box — no rail,
.vector-toc { --toc-rail-inset: 0.25rem; } /* CALIBRATION: rail bisects the
no extra indent (the numbers carry the hierarchy now): the level-2
parent's first letter (≈ half a
number column starts exactly at the level-1 TEXT axis, and level-2
capital at the TOC text size) */
text steps in by level-2's own (wider) gutter. */
.vector-toc .vector-toc-list-item > .vector-toc-list {
 
margin-left: var(--toc-rail-inset);
.vector-toc .vector-toc-list-item > .vector-toc-list { margin-top: 0.1rem; }
border-left: 1px solid var(--ed-hairline);
 
padding-left: calc(var(--ed-list-indent) - var(--toc-rail-inset) - 1px);
margin-top: 0.1rem;
}
.vector-toc .vector-toc-list:has(.vector-toc-list-item-active) {
border-left-color: var(--ed-ink); /* active trail */
}
/* chevron: the entry text goes inline so the sibling toggle button
flows right after the label ("Outlook 3 ▾"). The Codex icon is