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 native TOC — styled to match site ───────────────────────*/ | ||
. | #toc, .toc { | ||
background: #f9f9f9; | background: #f9f9f9; | ||
border: 1px solid #e2e2e6; | border: 1px solid #e2e2e6; | ||
border-radius: 8px; | border-radius: 8px; | ||
font-size: 0. | padding: 10px 14px 12px; | ||
font-size: 0.78em; | |||
line-height: 1.85; | line-height: 1.85; | ||
float: right; | |||
clear: right; | |||
margin: 0 0 1.5em 1.5em; | |||
min-width: 180px; | |||
max-width: 220px; | |||
} | } | ||
.toctitle h2 { | |||
font-size: 0.85em !important; | |||
font-weight: 600 !important; | |||
color: #888 !important; | |||
. | |||
font- | |||
text-transform: uppercase; | text-transform: uppercase; | ||
letter-spacing: 0.06em; | letter-spacing: 0.06em; | ||
border: none !important; | |||
border-bottom: 1px solid #ddd; | border-bottom: 1px solid #ddd !important; | ||
margin | width: 100% !important; | ||
padding-bottom: 4px; | margin: 0 0 6px !important; | ||
padding-bottom: 4px !important; | |||
} | } | ||
. | .toctogglespan, .toctoggle { display: none !important; } | ||
. | .toc a { color: #555 !important; text-decoration: none !important; } | ||
. | .toc a:hover { color: #f57c00 !important; } | ||
. | .toc ul { list-style: none !important; margin: 0 !important; padding: 0 !important; } | ||
.toc li { margin: 0 !important; padding: 0 !important; } | |||
.tocnumber { display: none !important; } | |||
.gr-doc-teekas { margin-bottom: 1em; } | .gr-doc-teekas { margin-bottom: 1em; } | ||
/* ── Main page (gr-home) — card grid like reference site ─────────*/ | /* ── Main page (gr-home) — card grid like reference site ─────────*/ | ||