MediaWiki:Common.css: Difference between revisions

No edit summary
No edit summary
Line 18: Line 18:
   .mw-parser-output on every page load via applyFontSize().
   .mw-parser-output on every page load via applyFontSize().
   The 20px here is the no-JS fallback only.
   The 20px here is the no-JS fallback only.
   All children use font-size: 1rem so they scale with it.
   All children use font-size: 1em so they scale with it.
   ────────────────────────────────────────────────────────────────── */
   ────────────────────────────────────────────────────────────────── */
.mw-parser-output {
.mw-parser-output {
Line 35: Line 35:
.mw-parser-output div {
.mw-parser-output div {
   font-family: inherit;
   font-family: inherit;
   font-size: 1rem;
   font-size: 1em;
   line-height: inherit;
   line-height: inherit;
}
}
Line 47: Line 47:
.mw-parser-output h6 {
.mw-parser-output h6 {
   font-family: inherit;
   font-family: inherit;
   font-size: 1rem;
   font-size: 1em;
   font-weight: bold;
   font-weight: bold;
   line-height: 1.75;
   line-height: 1.75;
Line 57: Line 57:


.mw-parser-output h2 {
.mw-parser-output h2 {
   font-size: 1.1rem;
   font-size: 1.1em;
}
}


Line 80: Line 80:
   display: block;
   display: block;
   font-family: inherit;
   font-family: inherit;
   font-size: 1rem;
   font-size: 1em;
   margin: 0.5rem 0 1rem 0;
   margin: 0.5rem 0 1rem 0;
   padding-left: 0;
   padding-left: 0;
Line 94: Line 94:
   display: block;
   display: block;
   font-family: inherit;
   font-family: inherit;
   font-size: 1rem;
   font-size: 1em;
   line-height: 1.75;
   line-height: 1.75;
   color: #333;
   color: #333;
Line 203: Line 203:
.adhyaya-heading {
.adhyaya-heading {
   font-family: inherit;
   font-family: inherit;
   font-size: 1rem;
   font-size: 1em;
   font-weight: bold;
   font-weight: bold;
   letter-spacing: 0.02em;
   letter-spacing: 0.02em;
Line 212: Line 212:
.adhyaya-heading span,
.adhyaya-heading span,
.adhyaya-block p {
.adhyaya-block p {
   font-size: 0.9rem;
   font-size: 0.9em;
   color: #666;
   color: #666;
   margin-top: 2px;
   margin-top: 2px;
Line 254: Line 254:


.nyaya-title {
.nyaya-title {
   font-size: 1rem;
   font-size: 1em;
   margin-bottom: 0.4rem;
   margin-bottom: 0.4rem;
   letter-spacing: 0.03em;
   letter-spacing: 0.03em;
Line 261: Line 261:
.nyaya-title span {
.nyaya-title span {
   display: block;
   display: block;
   font-size: 0.85rem;
   font-size: 0.85em;
   color: #666;
   color: #666;
}
}
Line 283: Line 283:


.prasna-title {
.prasna-title {
   font-size: 1rem;
   font-size: 1em;
   margin-bottom: 0.4rem;
   margin-bottom: 0.4rem;
   letter-spacing: 0.03em;
   letter-spacing: 0.03em;
Line 290: Line 290:
.prasna-title span {
.prasna-title span {
   display: block;
   display: block;
   font-size: 0.85rem;
   font-size: 0.85em;
   color: #666;
   color: #666;
}
}
Line 316: Line 316:
.verse-text {
.verse-text {
   display: inline;
   display: inline;
   font-size: 1rem;
   font-size: 1em;
   font-weight: 600;
   font-weight: 600;
   line-height: 1.75;
   line-height: 1.75;
Line 325: Line 325:
.copy-id-btn {
.copy-id-btn {
   cursor: pointer;
   cursor: pointer;
   font-size: 0.78rem;
   font-size: 0.78em;
   color: #bbb;
   color: #bbb;
   margin-left: 0.35em;
   margin-left: 0.35em;