MediaWiki:Citizen.css

MediaWiki interface page
Revision as of 18:49, 30 April 2024 by Gelthor (talk | contribs) (Make the selected text of spoilercells black, against a grey background)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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;
}

/* Make the selected text of spoilercells black, against a grey background */
td.table-spoiler div::selection {
	color: black;
	background: #c0c0c0;
}