MediaWiki:Common.css

From Fyra Wiki
Revision as of 10:43, 10 June 2023 by Alyxia (talk | contribs) (Lock Fira Code down to Citizen)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* CSS placed here will be applied to all skins */
@import url('https://fonts.googleapis.com/css2?family=Fira%20Code:wght@300&display=swap');

:root {
 --font-family-monospace: 'Fira Code','Courier New',monospace !important;
}

.skin-citizen pre, code, tt, kbd, samp, .mw-code {
	font-family: var(--font-family-monospace) !important;
	font-size: 0.875rem;
}