MediaWiki:Common.css: Difference between revisions
No edit summary |
No edit summary |
||
| Line 112: | Line 112: | ||
/* ── Shloka block (pramana / stotra verses) ───────────────────── | /* ── Shloka block (pramana / stotra verses) ───────────────────── | ||
Left-aligned, italic, #be100e — tight line spacing within verse | |||
Standard margin between separate verses | |||
────────────────────────────────────────────────────────────────*/ | ────────────────────────────────────────────────────────────────*/ | ||
.shloka-block { | .shloka-block { | ||
display: block; | display: block; | ||
text-align: | text-align: left; | ||
margin: 0 | margin: 10px 0 0; | ||
} | } | ||
| Line 124: | Line 125: | ||
font-style: italic; | font-style: italic; | ||
color: #be100e; | color: #be100e; | ||
line-height: | line-height: 1.6; /* tight within a verse */ | ||
} | } | ||
/* ── Verse block (VerseBlock template) ────────────────────────── | /* ── Verse block (VerseBlock template) ────────────────────────── | ||
Left-aligned, same tight spacing within verse, | |||
margin-top 10px between verses — matches reference exactly | |||
────────────────────────────────────────────────────────────────*/ | ────────────────────────────────────────────────────────────────*/ | ||
.verse-block { | .verse-block { | ||
display: block; | display: block; | ||
margin: | margin: 10px 0 0; | ||
text-align: | text-align: left; | ||
} | } | ||
.verse-block .shloka-block { | .verse-block .shloka-block { | ||
text-align: | text-align: left; | ||
margin: 0; | |||
} | } | ||
| Line 145: | Line 148: | ||
color: #be100e; | color: #be100e; | ||
font-weight: normal; | font-weight: normal; | ||
line-height: | line-height: 1.6; /* tight within a verse */ | ||
} | } | ||
| Line 152: | Line 155: | ||
/* ── Uvacha block ──────────────────────────────────────────────── | /* ── Uvacha block ──────────────────────────────────────────────── | ||
Speaker attribution | Speaker attribution — bold, left orange border, matches | ||
reference site's blockquote style | |||
────────────────────────────────────────────────────────────────*/ | ────────────────────────────────────────────────────────────────*/ | ||
.uvacha-block { | .uvacha-block { | ||
display: block; | display: block; | ||
font-weight: bold; | font-weight: bold; | ||
color: # | color: #c65; | ||
margin: 1.2rem 0 0 | margin: 1.2rem 0 0; | ||
padding: 2px 0 2px 12px; | |||
border-left: 3px solid #c65; | |||
text-align: left; | text-align: left; | ||
font-style: normal; | font-style: normal; | ||
} | } | ||
/* Verse immediately after uvacha — no extra gap */ | |||
.uvacha-block + .verse-block { | |||
margin-top: 4px; | |||
} | |||
/* ── Bhashyam: primary commentary, plain running prose ──────────*/ | /* ── Bhashyam: primary commentary, plain running prose ──────────*/ | ||