MediaWiki:Common.css: Difference between revisions
No edit summary |
No edit summary |
||
| Line 422: | Line 422: | ||
} | } | ||
/* ── Main page (gr-home) | /* ── Main page (gr-home) — card grid like reference site ─────────*/ | ||
.gr-home { | .gr-home { | ||
max-width: | max-width: 1080px; | ||
margin: 0 auto; | margin: 0 auto; | ||
padding: 0; | padding: 0; | ||
} | } | ||
.gr-home- | /* Page title — centred Sanskrit heading like reference */ | ||
.gr-home-page-title { | |||
font-family: 'Adishila', 'Noto Serif Devanagari', serif !important; | font-family: 'Adishila', 'Noto Serif Devanagari', serif !important; | ||
font-size: | text-align: center; | ||
font-weight: | font-size: 1.8em; | ||
font-weight: 500; | |||
color: #1a2e40; | color: #1a2e40; | ||
margin: 24px 0 32px; | |||
} | |||
/* Card grid — 3 columns like reference site */ | |||
.gr-home-grid { | |||
display: flex; | |||
flex-wrap: wrap; | |||
gap: 20px; | |||
margin-bottom: 32px; | |||
} | } | ||
.gr-home- | |||
.gr-home- | /* Each section card */ | ||
font-family: | .gr-home-card { | ||
font-size: | background: #fff; | ||
border: 1px solid #e8e4df; | |||
border-radius: 10px; | |||
box-shadow: 0 2px 8px rgba(0,0,0,0.07); | |||
padding: 18px 20px 20px; | |||
flex: 1 1 280px; | |||
min-width: 240px; | |||
max-width: 360px; | |||
} | |||
/* Card section heading — centred, with red underline */ | |||
.gr-home-card-title { | |||
font-family: 'Adishila', 'Noto Serif Devanagari', serif !important; | |||
font-size: 1em; | |||
font-weight: 600; | font-weight: 600; | ||
text- | color: #1a2e40; | ||
text-align: center; | |||
padding-bottom: 10px; | |||
margin-bottom: 12px; | |||
border-bottom: 1.5px solid #c0392b; | |||
} | } | ||
.gr-home- | |||
/* List inside card */ | |||
.gr-home-card ol { | |||
margin: 0; | |||
padding-left: 1.4em; | |||
list-style: decimal; | list-style: decimal; | ||
} | } | ||
.gr-home- | |||
.gr-home- | .gr-home-card li { | ||
.gr-home- | font-size: 0.95em; | ||
.gr-home- | line-height: 1.85; | ||
.gr-home-note { font-size: 0. | color: #333; | ||
} | |||
.gr-home-card li a { | |||
color: #c0392b; | |||
text-decoration: none; | |||
} | |||
.gr-home-card li a:hover { | |||
text-decoration: underline; | |||
} | |||
/* Dimmed red links = pages not yet imported */ | |||
.gr-home-card li a.new { | |||
color: #c08080; | |||
} | |||
.gr-home-note { | |||
font-size: 0.82em; | |||
color: #888; | |||
} | |||
/* Section group headings (Sarvamoola, Teeka etc.) */ | |||
.gr-home-group-label { | |||
font-family: 'Adishila', 'Noto Serif Devanagari', serif !important; | |||
font-size: 1.1em; | |||
font-weight: 600; | |||
color: #1a2e40; | |||
text-align: center; | |||
margin: 36px 0 16px; | |||
padding-bottom: 8px; | |||
border-bottom: 2px solid #c0392b; | |||
} | |||
/* ── Modals ─────────────────────────────────────────────────────*/ | /* ── Modals ─────────────────────────────────────────────────────*/ | ||
| Line 505: | Line 559: | ||
════════════════════════════════════════════════════════════════*/ | ════════════════════════════════════════════════════════════════*/ | ||
.vector-header-container { | .vector-header-container { | ||
background: # | background: #b5451b !important; | ||
border-bottom: 1px solid rgba(255,255,255,0. | border-bottom: 1px solid rgba(255,255,255,0.12); | ||
} | } | ||
.vector-header { | .vector-header { | ||