MediaWiki:Common.css: Difference between revisions
No edit summary |
No edit summary |
||
| Line 427: | Line 427: | ||
} | } | ||
/* TOC list item — | /* TOC list item — let Vector's default block layout handle rows. | ||
flex | We only need the toggle to sit inline with the link, which Vector | ||
already does via its own flex. We avoid overriding display/flex-wrap | |||
here because that was collapsing link text to single characters. */ | |||
/* Toggle button — fixed px size, immune to parent font-size: 1.1em */ | |||
/* Toggle button — fixed px | |||
.vector-toc .cdx-button.vector-toc-toggle { | .vector-toc .cdx-button.vector-toc-toggle { | ||
background: none !important; | background: none !important; | ||
border: none !important; | border: none !important; | ||
| Line 464: | Line 444: | ||
width: 24px !important; | width: 24px !important; | ||
height: 24px !important; | height: 24px !important; | ||
cursor: pointer !important; | cursor: pointer !important; | ||
opacity: 0.5; | opacity: 0.5; | ||
| Line 470: | Line 449: | ||
align-items: center !important; | align-items: center !important; | ||
justify-content: center !important; | justify-content: center !important; | ||
vertical-align: middle !important; | |||
} | } | ||
| Line 506: | Line 486: | ||
} | } | ||
/* | /* Let Vector control .vector-toc-link height/display — we don't override it. */ | ||
.vector-toc-link | |||
.gr-doc-teekas { margin-bottom: 1em; } | .gr-doc-teekas { margin-bottom: 1em; } | ||