Personal tools
Views

Difference between revisions of "MediaWiki:Common.css"

From China Digital Space

Jump to: navigation, search
Line 1: Line 1:
 
/* CSS placed here will be applied to all skins */
 
/* CSS placed here will be applied to all skins */
  
<link href="https://fonts.googleapis.com/css2?family=Noto+Sans+SC&family=Noto+Serif+SC:[email protected];700&display=swap" rel="stylesheet">
+
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC&family=Noto+Serif+SC:[email protected];700&display=swap');
  
h1, h2, h3, h4, h5, h6 {
+
/* Changes the default font used for MediaWiki to Noto Sans (does not include headings or monospaced text): */
    font-family: 'Noto Serif SC';
+
body {
 +
  font-family: "Noto Sans SC", sans-serif;
 +
}
 +
 
 +
/* Changes the default font used for MediaWiki headings to Noto Serif: */
 +
#content h1,  
 +
#content h2 {
 +
  font-family: "Noto Serif SC", serif;
 
}
 
}

Revision as of 16:51, 2 February 2021

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

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC&family=Noto+Serif+SC:[email protected];700&display=swap');

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

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