个人工具
视图

“MediaWiki:Common.css”的版本间的差异

来自China Digital Space

跳转至: 导航, 搜索
第1行: 第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:wght@400;700&display=swap" rel="stylesheet">
+
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC&family=Noto+Serif+SC:wght@400;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;
 
}
 
}

2021年2月2日 (二) 16:51的版本

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

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC&family=Noto+Serif+SC:wght@400;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;
}