MediaWiki:Common.css: Difference between revisions
No edit summary |
No edit summary |
||
| Line 37: | Line 37: | ||
} | } | ||
/* ── Hide MW default page title | /* ── Hide MW default English page title ─────────────────────────*/ | ||
h1.firstHeading, | h1.firstHeading, | ||
#firstHeading, | #firstHeading, | ||
| Line 47: | Line 44: | ||
} | } | ||
/* ── Headings — reset | /* ── Headings — reset MW defaults ───────────────────────────────*/ | ||
.mw-parser-output h1, | .mw-parser-output h1, | ||
.mw-parser-output h2, | .mw-parser-output h2, | ||
| Line 65: | Line 62: | ||
border: none !important; | border: none !important; | ||
border-bottom: none !important; | border-bottom: none !important; | ||
margin: 0; | margin: 0; padding: 0; | ||
} | |||
/* ── Doc title — black, large (inline h1 at page top) ─────────── | |||
Only the document title (श्रीमद्भगवद्गीताप्रस्थानम्) uses this. | |||
────────────────────────────────────────────────────────────────*/ | |||
.gr-doc-title { | |||
font-size: 1.6em; | |||
font-weight: 500; | |||
color: #1a1a1a; | |||
line-height: 1.4; | |||
margin: 0 0 16px; | |||
border: none !important; | |||
} | } | ||
/* ── | /* ── Adhyaya heading ({{Adhyaya}} template → h2) ──────────────── | ||
Orange dotted — chapter/section titles | |||
ref site: प्रथमोऽध्यायः in orange with dotted underline | |||
────────────────────────────────────────────────────────────────*/ | ────────────────────────────────────────────────────────────────*/ | ||
.adhyaya-block | .adhyaya-block h2, | ||
.adhyaya-heading { | .adhyaya-heading, | ||
font-size: 1. | .mw-parser-output .mw-heading2 h2, | ||
.mw-parser-output h2 { | |||
font-size: 1.2em !important; | |||
font-weight: 500 !important; | font-weight: 500 !important; | ||
color: # | color: #f57c00 !important; | ||
line-height: | line-height: 2; | ||
margin: | margin: 28px 0 4px !important; | ||
padding: 0 !important; | padding: 0 !important; | ||
border: none !important; | border: none !important; | ||
border-bottom: | border-bottom: 2px dotted #f57c00 !important; | ||
width: 75%; | |||
} | } | ||
/* ── Adhikarana heading (=== === | /* ── Adhikarana heading (=== === → h3) ─────────────────────────── | ||
Smaller orange dotted — sub-section labels within a chapter | |||
ref site: ## उपोद्घातः style | ref site: ## उपोद्घातः style | ||
────────────────────────────────────────────────────────────────*/ | ────────────────────────────────────────────────────────────────*/ | ||
.mw-parser-output .mw-heading3 h3, | .mw-parser-output .mw-heading3 h3, | ||
.mw-parser-output h3 { | .mw-parser-output h3 { | ||
| Line 101: | Line 110: | ||
border: none !important; | border: none !important; | ||
border-bottom: 1px dotted #e65100 !important; | border-bottom: 1px dotted #e65100 !important; | ||
width: | width: 55%; | ||
} | } | ||
/* Hide | /* Hide edit pencil icons */ | ||
.mw-heading .mw-editsection, | .mw-heading .mw-editsection, | ||
.adhyaya-block .mw-editsection { display: none !important; } | .adhyaya-block .mw-editsection { display: none !important; } | ||