MediaWiki:Common.css: Difference between revisions
No edit summary |
No edit summary |
||
| Line 13: | Line 13: | ||
} | } | ||
/* ── Base: | /* ── Base ─────────────────────────────────────────────────────────── | ||
font-size is intentionally NOT set with !important here. | |||
ReaderToolbar JS owns font-size: it writes directly to | |||
.mw-parser-output on every page load via applyFontSize(). | |||
The 20px here is the no-JS fallback only. | |||
All children use font-size: 1rem so they scale with it. | |||
────────────────────────────────────────────────────────────────── */ | |||
.mw-parser-output { | .mw-parser-output { | ||
font-family: 'Adishila', 'Noto Serif Devanagari', serif; | font-family: 'Adishila', 'Noto Serif Devanagari', serif; | ||
font-size: | font-size: 20px; | ||
line-height: 1.75; | line-height: 1.75; | ||
color: #222; | color: #222; | ||
| Line 350: | Line 356: | ||
@media (max-width: 600px) { | @media (max-width: 600px) { | ||
.mw-parser-output { | .mw-parser-output { | ||
font-size: | font-size: 16px; | ||
} | } | ||
.nyaya-id, | .nyaya-id, | ||