MediaWiki:Common.css: Difference between revisions
No edit summary |
No edit summary |
||
| Line 362: | Line 362: | ||
/* ── Cargo store hidden ─────────────────────────────────────────*/ | /* ── Cargo store hidden ─────────────────────────────────────────*/ | ||
.cargo-store-only { display: none !important; } | .cargo-store-only { display: none !important; } | ||
/* ── Floating chapter nav (right side on doc root page) ───────── | |||
Lists all adhyayas as links, floats right like reference site | |||
────────────────────────────────────────────────────────────────*/ | |||
.gr-chapter-nav { | |||
float: right; | |||
clear: right; | |||
margin: 0 0 1.5em 1.5em; | |||
padding: 10px 14px 12px; | |||
background: #f9f9f9; | |||
border: 1px solid #e2e2e6; | |||
border-radius: 8px; | |||
min-width: 160px; | |||
max-width: 220px; | |||
font-size: 0.82em; | |||
line-height: 1.9; | |||
} | |||
.gr-chapter-nav-title { | |||
font-family: system-ui, -apple-system, sans-serif !important; | |||
font-size: 0.78em; | |||
font-weight: 600; | |||
text-transform: uppercase; | |||
letter-spacing: 0.06em; | |||
color: #888; | |||
border-bottom: 1px solid #ddd; | |||
margin-bottom: 6px; | |||
padding-bottom: 4px; | |||
} | |||
.gr-chapter-nav ul { list-style: none; margin: 0; padding: 0; } | |||
.gr-chapter-nav li { margin: 0; padding: 0; } | |||
.gr-chapter-nav a { color: #1a2e40; text-decoration: none; display: block; } | |||
.gr-chapter-nav a:hover { color: #f57c00; } | |||
.gr-doc-teekas { margin-bottom: 1em; } | |||
@media (max-width: 720px) { | |||
.gr-chapter-nav { float: none; margin: 0 0 1em; max-width: 100%; } | |||
} | |||
/* ── Main page (gr-home) ─────────────────────────────────────────*/ | /* ── Main page (gr-home) ─────────────────────────────────────────*/ | ||