MediaWiki:Common.css: Difference between revisions
No edit summary |
No edit summary |
||
| Line 391: | Line 391: | ||
Lists all adhyayas as links, floats right like reference site | Lists all adhyayas as links, floats right like reference site | ||
────────────────────────────────────────────────────────────────*/ | ────────────────────────────────────────────────────────────────*/ | ||
/* ── | /* ── MW Vector 2022 sticky TOC — styled to match site ───────────*/ | ||
. | .vector-toc { | ||
font-size: 0.78em !important; | |||
font-family: 'Adishila', 'Noto Serif Devanagari', serif !important; | |||
font-size: 0.78em; | |||
} | } | ||
. | /* TOC heading "Contents" */ | ||
.vector-toc .vector-toc-title { | |||
font-size: 0.82em; | font-size: 0.82em !important; | ||
font-weight: 600; | font-weight: 600 !important; | ||
text-transform: uppercase; | text-transform: uppercase; | ||
letter-spacing: 0.06em; | letter-spacing: 0.06em; | ||
color: #888 | color: #888 !important; | ||
} | } | ||
. | /* TOC links */ | ||
.vector-toc a, | |||
color: #444; | .vector-toc .vector-toc-link { | ||
text-decoration: none | color: #444 !important; | ||
text-decoration: none !important; | |||
} | } | ||
. | .vector-toc a:hover { color: #f57c00 !important; } | ||
/* Active section highlight */ | |||
.vector-toc .vector-toc-list-item-active > a, | |||
.vector-toc .vector-toc-list-item-active .vector-toc-link { | |||
color: #f57c00 !important; | |||
font-weight: 600 !important; | |||
} | |||
/* Hide section numbers */ | |||
.vector-toc .vector-toc-numb { display: none !important; } | |||
.gr-doc-teekas { margin-bottom: 1em; } | .gr-doc-teekas { margin-bottom: 1em; } | ||