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) ─────────────────────
   Centered, italic, #be100e — matches reference site
   Left-aligned, italic, #be100e — tight line spacing within verse
  Standard margin between separate verses
   ────────────────────────────────────────────────────────────────*/
   ────────────────────────────────────────────────────────────────*/
.shloka-block {
.shloka-block {
   display: block;
   display: block;
   text-align: center;
   text-align: left;
   margin: 0.8rem 0 1.2rem;
   margin: 10px 0 0;
}
}


Line 124: Line 125:
   font-style: italic;
   font-style: italic;
   color: #be100e;
   color: #be100e;
   line-height: 2;
   line-height: 1.6;       /* tight within a verse */
}
}


/* ── Verse block (VerseBlock template) ──────────────────────────
/* ── Verse block (VerseBlock template) ──────────────────────────
   Shloka text: centered, italic, #be100e, clear top margin
   Left-aligned, same tight spacing within verse,
  margin-top 10px between verses — matches reference exactly
   ────────────────────────────────────────────────────────────────*/
   ────────────────────────────────────────────────────────────────*/
.verse-block {
.verse-block {
   display: block;
   display: block;
   margin: 1.2rem 0 0.4rem;
   margin: 10px 0 0;
   text-align: center;
   text-align: left;
}
}


.verse-block .shloka-block {
.verse-block .shloka-block {
   text-align: center;
   text-align: left;
  margin: 0;
}
}


Line 145: Line 148:
   color: #be100e;
   color: #be100e;
   font-weight: normal;
   font-weight: normal;
   line-height: 2;
   line-height: 1.6;       /* tight within a verse */
}
}


Line 152: Line 155:


/* ── Uvacha block ────────────────────────────────────────────────
/* ── Uvacha block ────────────────────────────────────────────────
   Speaker attribution: left-aligned, bold, dark color
   Speaker attribution — bold, left orange border, matches
   e.g. "धृतराष्ट्र उवाच", "अर्जुन उवाच"
   reference site's blockquote style
   ────────────────────────────────────────────────────────────────*/
   ────────────────────────────────────────────────────────────────*/
.uvacha-block {
.uvacha-block {
   display: block;
   display: block;
   font-weight: bold;
   font-weight: bold;
   color: #333;
   color: #c65;
   margin: 1.2rem 0 0.3rem;
   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 ──────────*/