MediaWiki:Common.css: Difference between revisions

MediaWiki interface page
No edit summary
Tag: Reverted
No edit summary
Tag: Reverted
Line 3: Line 3:
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap");


html, body {
:root {
--font-family-base: InterVariable, system-ui, sans-serif;
--font-family-base: InterVariable, system-ui, sans-serif !important;
}
}



Revision as of 16:54, 21 May 2024

/* CSS placed here will be applied to all skins */

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap");

:root {
	--font-family-base: InterVariable, system-ui, sans-serif !important;
}

/* 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);
}