Jump to content

MediaWiki:Common.css

From Logistack
Revision as of 03:40, 7 October 2025 by Lee Miller (talk | contribs)

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* 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: 20px; }

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;