MediaWiki:Common.css: Difference between revisions

No edit summary
No edit summary
Line 14: Line 14:
/* Fix mw-collapsible toggle to look like full-width header */
/* Fix mw-collapsible toggle to look like full-width header */
.commentary-block .mw-collapsible-toggle {
.commentary-block .mw-collapsible-toggle {
font-family: "Adishila";
    font-family: "Adishila";
     display: block;
     display: block;
     width: 100%;
     width: 100%;
Line 22: Line 22:
     cursor: pointer;
     cursor: pointer;
     font-weight: bold;
     font-weight: bold;
    font-family: serif;
     text-align: left;
     text-align: left;
     float: none !important;
     float: none !important;
Line 172: Line 171:
.commentary-toggle {
.commentary-toggle {
     cursor: pointer;
     cursor: pointer;
     margin-left: 0.4em;
     margin-left: 0.5em;
     font-size: 0.75em;
     font-size: 0.7em;
     vertical-align: middle;
     vertical-align: middle;
     opacity: 0.5;
     opacity: 0.4;
     user-select: none;
     user-select: none;
     display: inline;
     display: inline;
    transition: opacity 0.2s ease;
}
}


Line 194: Line 194:
.verse-block > p:empty {
.verse-block > p:empty {
     display: none;
     display: none;
}
.mw-parser-output {
    max-width: 820px;
    margin: 0 auto;
    line-height: 1.9;
    font-size: 1.08em;
}
.verse-block {
    margin: 32px 0;
    padding-left: 14px;
    border-left: 2px solid #e6e6e6;
}
.verse-text {
    display: inline;
    font-size: 1.2em;
    line-height: 2.05;
    letter-spacing: 0.02em;
}
/* subtle hover (Rekhta style) */
.verse-block:hover {
    background: #fafafa;
}
.verse-block {
    margin: 32px 0;
    padding-left: 14px;
    border-left: 2px solid #e6e6e6;
}
.verse-text {
    display: inline;
    font-size: 1.2em;
    line-height: 2.05;
    letter-spacing: 0.02em;
}
/* subtle hover (Rekhta style) */
.verse-block:hover {
    background: #fafafa;
}
.commentary-body {
    margin-top: 10px;
    margin-left: 22px;
    padding-left: 14px;
    border-left: 1px dashed #d6d6d6;
    font-size: 0.98em;
    line-height: 1.9;
    color: #444;
}
/* smoother spacing when multiple commentaries */
.commentary-body + .commentary-body {
    margin-top: 6px;
}
.shloka-block {
    margin: 10px 0 4px;
}
.shloka-line {
    padding-left: 6px;
    line-height: 2.05;
}
.nyaya-block,
.prasna-block {
    margin: 40px 0;
    padding-top: 14px;
    border-top: 1px solid #eee;
}
.nyaya-title,
.prasna-title {
    font-size: 1.1em;
    margin-bottom: 6px;
    letter-spacing: 0.03em;
}
.nyaya-title span,
.prasna-title span {
    display: block;
    font-size: 0.85em;
    color: #666;
}
/* ── Adhyaya (Chapter) ───────────────────────────── */
.adhyaya-block {
    margin: 32px 0 18px;  /* reduced vertical space */
    text-align: left;      /* more book-like, not centered */
}
.adhyaya-heading {
    font-family: "Adishila", serif;
    font-size: 1.35em;    /* modest increase, not dramatic */
    font-weight: bold;
    letter-spacing: 0.02em;
    margin: 0;
    line-height: 1.6;
}
/* Translation (if present) — subtle */
.adhyaya-heading span,
.adhyaya-block p {
    font-size: 0.9em;
    color: #666;
    margin-top: 2px;
}
/* Intro — close to heading, not floating far away */
.adhyaya-intro {
    margin-top: 10px;
    line-height: 1.85;
    color: #444;
}
}