MediaWiki:Common.css: Difference between revisions

MediaWiki interface page
No edit summary
No edit summary
 
(14 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
/* CSS placed here will be applied to all skins */
@font-face {
  font-family: InterVariable;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/images/fonts/InterVariable.woff2") format("woff2");
}
@font-face {
  font-family: InterVariable;
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url("/images/fonts/InterVariable-Italic.woff2") format("woff2");
}
:root {
--font-family-base: InterVariable, system-ui, sans-serif;
}


/* Prevent Jira button from overlapping preferences button on mobile */
/* Prevent Jira button from overlapping preferences button on mobile */
Line 13: Line 33:
}
}


.framed header {
/* Hide Jira button when printing */
display: none;
@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);
}
}


.framed main,
.skin-citizen #n-For-employees a::after {
.framed footer {
background-image: url(/images/badge-account-horizontal.svg);
margin-left: 0;
}
}

Latest revision as of 17:06, 22 May 2024

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

@font-face {
  font-family: InterVariable;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/images/fonts/InterVariable.woff2") format("woff2");
}

@font-face {
  font-family: InterVariable;
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url("/images/fonts/InterVariable-Italic.woff2") format("woff2");
}

:root {
	--font-family-base: 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);
}