MediaWiki:Citizen.css

MediaWiki interface page
Revision as of 20:41, 21 November 2023 by Gelthor (talk | contribs) (Set max-width for images, so they fit on smaller mobile screen)

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.
/* All CSS here will be loaded for users of the Citizen skin */
:root {
     --font-family-base: 'Roboto Slab','Noto Sans CJK',system-ui,-apple-system,sans-serif;
}

#siteSub {
    visibility: hidden;
}

/* Make sure inline wide images fit for mobile users */
p .mw-default-size a.mw-file-description img {
	max-width: 100%;
	height: auto;
}