MediaWiki:Common.css:修订间差异
跳到导航
跳到搜索
(基础美化) |
(再次美化) |
||
| 第1行: | 第1行: | ||
/ | //* 全局字體設置 */ | ||
body, p, li { | |||
font-family: "Noto Serif TC", "Microsoft JhengHei", serif; | |||
/* | line-height: 1.7; | ||
body { | |||
} | } | ||
/* | /* 標題美化 */ | ||
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; | |||
} | } | ||
2025年4月30日 (三) 02:34的最新版本
//* 全局字體設置 */
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;
}