MediaWiki:Common.css

来自Assault Lily Project 中文维基
Futagawa Fumi讨论 | 贡献2021年3月18日 (四) 18:14的版本
跳到导航 跳到搜索

注意:在保存之后,您可能需要清除浏览器缓存才能看到所作出的变更的影响。

  • Firefox或Safari:按住Shift的同时单击刷新,或按Ctrl-F5Ctrl-R(Mac为⌘-R
  • Google Chrome:Ctrl-Shift-R(Mac为⌘-Shift-R
  • Internet Explorer:按住Ctrl的同时单击刷新,或按Ctrl-F5
  • Opera:前往菜单 → 设置(Mac为Opera → Preferences),然后隐私和安全 → 清除浏览数据 → 缓存的图片和文件
/* 这里放置的CSS将应用于所有皮肤 */

body {
  background: #ffffff;
}

/* Changes the background color behind the top half of the logo and at top of each page: */
#mw-page-base {
  background: #ffffff;
}

a {
  color: #7f90dc;
}

a.new {
  color: #ff9dae;
}

a:visited { 
  color:#9ca5aa; 
} 

.portal .body li a, .vector-menu-portal .body li a {
  color: #7f90dc;
}

.portal .body li a, .vector-menu-portal .body li a:visited { 
  color:#9ca5aa; 
} 

.vector-menu-tabs li a {
  color: #7f90dc;
}

.vector-menu-tabs li a:visited { 
  color:#9ca5aa; 
} 

/* 这里设置了Google Font */

@import url( 'https://fonts.googleapis.com/css?family=Noto+Serif+SC');

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

/* Changes the default font used for MediaWiki headings to Noto Serif: */
#content h1, 
#content h2 {
  font-family: "Noto Serif CJK SC", "Noto Serif SC", "Source Han Serif SC", "Noto Serif CJK",  "Source Han Serif", source-han-serif-sc, sans-serif;
}