Difference between revisions of "MediaWiki:Common.css"

From NeuroRehab.wiki

 
Line 17: Line 17:
/* Changes the default lists to produce the usual system of numbered lists (1, 2, 3; then a, b, c; then i, ii, iii): */
/* Changes the default lists to produce the usual system of numbered lists (1, 2, 3; then a, b, c; then i, ii, iii): */
ol {  
ol {  
list-style-type: decimal;
}
ol li > ol {
list-style-type: upper-alpha;  
list-style-type: upper-alpha;  
}
}
ol li > ol {  
ol li > ol li > ol {  
list-style-type: lower-alpha;  
list-style-type: lower-alpha;  
}
}
ol li > ol li > ol {  
ol li > ol li > ol li > ol {  
list-style-type: lower-roman;  
list-style-type: lower-roman;  
}
}

Latest revision as of 10:19, 9 March 2023

/* CSS placed here will be applied to all skins */
@import url( 'https://fonts.googleapis.com/css2?family=Zen+Maru+Gothic&display=swap');

/* Changes the default font used for MediaWiki to Zen Maru Gothic (does not include headings or monospaced text): */
body {
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: large;
}

/* Changes the default font used for MediaWiki headings to Zen Maru Gothic: */
#content h1, 
#content h2 {
  color: #79589f;
  font-family: "Zen Maru Gothic", sans-serif;
}

/* Changes the default lists to produce the usual system of numbered lists (1, 2, 3; then a, b, c; then i, ii, iii): */
ol { 
	list-style-type: decimal; 
}
ol li > ol { 
	list-style-type: upper-alpha; 
}
ol li > ol li > ol { 
	list-style-type: lower-alpha; 
}
ol li > ol li > ol li > ol { 
	list-style-type: lower-roman; 
}