MediaWiki:Common.css

MediaWiki interface page
Revision as of 16:53, 21 May 2024 by Andy (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)
  • 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=Inter:wght@100..900&display=swap");

body {
	font-family: InterVariable, system-ui, sans-serif;
}

/* Prevent Jira button from overlapping preferences button on mobile */
@media (max-width: 1000px) {
	.mw-header .citizen-header__end {
		margin-right: 70px;
	}
}

/* Prevent white background behind Jira button in dark mode */
.skin-citizen-dark #jsd-widget {
	color-scheme: initial;
}

/* Hide Jira button when printing */
@media print {
	#jsd-widget {
		display: none;
	}
}

/* Icons in navigation */
.skin-citizen #n-help-mediawiki a::after {
	background-image: url(/images/book-open-page-variant.svg);
}

.skin-citizen #n-For-employees a::after {
	background-image: url(/images/badge-account-horizontal.svg);
}