MediaWiki:Common.css

来自白墙纪念馆
Whitewall讨论 | 贡献2025年4月30日 (三) 02:34的版本 (再次美化)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
跳到导航 跳到搜索

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

  • Firefox或Safari:按住Shift的同时单击刷新,或按Ctrl-F5Ctrl-R(Mac为⌘-R
  • Google Chrome:Ctrl-Shift-R(Mac为⌘-Shift-R
  • Internet Explorer或Edge:按住Ctrl的同时单击刷新,或按Ctrl-F5
  • Opera:Ctrl-F5
//* 全局字體設置 */
body, p, li {
  font-family: "Noto Serif TC", "Microsoft JhengHei", serif;
  line-height: 1.7;
}

/* 標題美化 */
h1, h2, h3, h4 {
  font-weight: 600;
  border-bottom: 1px solid #ccc;
  padding-bottom: 0.2em;
  margin-top: 1.5em;
}

/* 首頁區塊留白與內邊距 */
.mw-body {
  padding: 2em;
  background: #fff;
  box-shadow: 0 0 10px rgba(0,0,0,0.06);
}

/* 連結樣式 */
a {
  color: #005fa3;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/* 自訂頁首主標題樣式 */
.firstHeading {
  font-size: 2em;
  color: #333;
  margin-top: 0.5em;
}

/* 子頁導覽區塊 */
#contentSub {
  font-size: 0.9em;
  color: #777;
  margin-bottom: 1em;
}