Jump to content

MediaWiki:Common.css: Difference between revisions

From Parasol
mNo edit summary
No edit summary
Tag: wikieditor
 
(3 intermediate revisions by the same user not shown)
Line 5: Line 5:
body {
body {
   font-family: "Roboto", sans-serif;
   font-family: "Roboto", sans-serif;
}
p {
#text-indent: 1em;
margin: 0;
}
}


Line 10: Line 15:
#content h1,  
#content h1,  
#content h2 {
#content h2 {
   font-family: "Roboto", sans-serif;
   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;
}
}

Latest revision as of 14:24, 16 February 2023

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