MediaWiki:Common.css: Difference between revisions
No edit summary |
No edit summary |
||
| Line 450: | Line 450: | ||
/* Vector 2022 sticky sidebar TOC */ | /* Vector 2022 sticky sidebar TOC */ | ||
.vector-toc { | .vector-toc { | ||
font-size: 1em !important; | font-size: 1.1em !important; | ||
line-height: | line-height: 2 !important; | ||
} | } | ||
/* Apply Adishila only to text | /* Apply Adishila only to text, not icons */ | ||
.vector-toc .vector-toc-link, | .vector-toc .vector-toc-link, | ||
.vector-toc .vector-toc-text, | .vector-toc .vector-toc-text, | ||
| Line 470: | Line 470: | ||
} | } | ||
/* Expand/collapse toggle | /* Expand/collapse toggle — use system font and force vertical centering */ | ||
.vector-toc .vector-toc-toggle | .vector-toc .vector-toc-toggle { | ||
font-family: system-ui, sans-serif !important; | font-family: system-ui, sans-serif !important; | ||
font-size: 0.85em !important; | |||
line-height: 1 !important; | |||
vertical-align: middle !important; | vertical-align: middle !important; | ||
position: relative !important; | |||
top: -0.1em !important; | |||
} | } | ||
| Line 489: | Line 491: | ||
} | } | ||
/* Active section — | /* Active section highlight — orange matching adhyaya headings */ | ||
.vector-toc .vector-toc-list-item-active > .vector-toc-link, | .vector-toc .vector-toc-list-item-active > .vector-toc-link, | ||
.vector-toc .vector-toc-list-item-active > a { | .vector-toc .vector-toc-list-item-active > a { | ||