Jump to content

MediaWiki:Common.css: Difference between revisions

From Parasol
Created page with "CSS placed here will be applied to all skins: @import url( 'https://fonts.googleapis.com/css?family=Noto+Sans|Noto+Serif '); /* Changes the default font used for MediaWi..."
 
No edit summary
Tag: wikieditor
 
(9 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 */
@import url( 'https://fonts.googleapis.com/css?family=Noto+Sans|Noto+Serif ');
@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): */
/* Changes the default font used for MediaWiki to Noto Sans (does not include headings or monospaced text): */
body {
body {
   font-family: "Noto Sans", 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: "Noto Serif", 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;
}