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 | ||
────────────────────────────────────────────────────────────────*/ | ────────────────────────────────────────────────────────────────*/ | ||
/* ── Page layout — flex row: content | /* ── Page layout — flex row: content left + nav right ────────────*/ | ||
.gr-page-wrap { | .gr-page-wrap { | ||
display: flex; | display: flex; | ||
flex-direction: row; | |||
align-items: flex-start; | align-items: flex-start; | ||
gap: | gap: 24px; | ||
width: 100%; | width: 100%; | ||
} | } | ||
| Line 402: | Line 403: | ||
flex: 1 1 0; | flex: 1 1 0; | ||
min-width: 0; | min-width: 0; | ||
padding: 0 | order: 1; | ||
padding: 0 8px 0 0; | |||
} | } | ||
.gr-chapter-nav { | .gr-chapter-nav { | ||
flex: 0 0 | flex: 0 0 200px; | ||
width: | width: 200px; | ||
order: 2; | |||
position: sticky; | position: sticky; | ||
top: 70px; | top: 70px; | ||