MediaWiki:Common.css: Difference between revisions
Appearance
Lee Miller (talk | contribs) No edit summary Tag: Reverted |
Lee Miller (talk | contribs) No edit summary Tag: Manual revert |
||
| Line 4: | Line 4: | ||
@import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@300;400;700&display=swap'); | @import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@300;400;700&display=swap'); | ||
html { font-size: | html { font-size: 18px; } | ||
body { | body { | ||
Revision as of 03:44, 7 October 2025
/* CSS placed here will be applied to all skins */
@import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@300;400;700&display=swap');
html { font-size: 18px; }
body {
font-family: "Comfortaa", cursive;
line-height: 1.6;
color: #111;
margin: 0;
}
/* Headings (classic fixed sizes) */
h1 {
font-family: "Comfortaa", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
font-size: 32px; /* ~2x body */
line-height: 1.2;
margin: 0 0 12px;
font-weight: 700;
}
h2 {
font-family: "Comfortaa", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
font-size: 28px;
line-height: 1.25;
margin: 24px 0 8px;
font-weight: 700;
}
h3 {
font-family: "Comfortaa", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
font-size: 24px;
line-height: 1.3;
margin: 20px 0 6px;
font-weight: 700;
}
h4 {
font-family: "Comfortaa", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
font-size: 20px;
line-height: 1.35;
margin: 16px 0 6px;
font-weight: 700;
}
h5 {
font-family: "Comfortaa", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
font-size: 18px;
line-height: 1.4;
margin: 14px 0 4px;
font-weight: 700;
}
h6 {
font-family: "Comfortaa", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
font-size: 16px; /* same as body */
line-height: 1.45;
margin: 12px 0 4px;
font-weight: 700;
}
code, pre {
font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
font-size: 14px;
line-height: 1.5;
}
p { margin: 0 0 0.9em 0;