MediaWiki:Common.css: Difference between revisions
Content deleted Content added
No edit summary |
No edit summary |
||
Line 1,720:
The li selector carries +1 specificity so it beats the geometry
block's `padding-left: 0 !important` regardless of paste order. ── */
.vector-toc { --toc-numb-gutter: 1.
"22." (~20px @13px tabular)
or the ::after dot wraps
this is the MINIMUM for an
.vector-toc .vector-toc-list-item.vector-toc-level-2 { --toc-numb-gutter: 2.3rem; }▼
aligned dot column */
.vector-toc .vector-toc-contents .vector-toc-list-item,
.vector-toc .vector-toc-list-item {
Line 1,734 ⟶ 1,736:
position: absolute; /* anchored to the li */
left: 0;
width: calc(var(--toc-numb-gutter) - 0.
text-align: right; /* dots form one column; "9." pads LEFT */
white-space: nowrap; /* the dot must NEVER wrap inside the box */
| |||