Jump to content

MediaWiki:Common.css: Difference between revisions

From Parasol
No edit summary
No edit summary
Line 5: Line 5:
body {
body {
   font-family: "Roboto", sans-serif;
   font-family: "Roboto", sans-serif;
}
p {
text-indent: 1em;
margin: 0;
}
}



Revision as of 07:44, 2 March 2021

/* CSS placed here will be applied to all skins */
@import url( 'https://fonts.googleapis.com/css?family=Roboto');

/* Changes the default font used for MediaWiki to Noto Sans (does not include headings or monospaced text): */
body {
  font-family: "Roboto", sans-serif;
}

p {
	text-indent: 1em;
	margin: 0;
}

/* Changes the default font used for MediaWiki headings to Noto Serif: */
#content h1, 
#content h2 {
  font-family: "Maison Neue", sans-serif;
}

/* Reset top margin for lists embedded in columns */
div.columns {
	margin-top: 0.3em;
}

div.columns dl,
div.columns ol,
div.columns ul {
	margin-top: 0;
}

/* Avoid elements breaking between columns */
/* See also Template:No col break */
div.columns li,
div.columns dd {
	page-break-inside: avoid; /* Removed from CSS in favor of break-inside c. 2020 */
	break-inside: avoid-column;
}