「MediaWiki:Common.css」の版間の差分
提供:シラキのコホリ
シラキのコホリのツカサ (トーク | 投稿記録) 編集の要約なし |
シラキのコホリのツカサ (トーク | 投稿記録) 編集の要約なし |
||
| 10行目: | 10行目: | ||
} | } | ||
/* | /* 見出し(h1~h6)、定義リストの見出し(dt)を明朝体に統一 */ | ||
.firstHeading, h1, h2, h3, h4, h5, h6 { | .firstHeading, h1, h2, h3, h4, h5, h6, dt { | ||
font-family: "Noto Serif JP", "BIZ UDPMincho", "Yu Mincho", "游明朝", serif !important; | font-family: "Noto Serif JP", "BIZ UDPMincho", "Yu Mincho", "游明朝", serif !important; | ||
font-weight: 700 !important; | font-weight: 700 !important; | ||
2026年9月26日 (土) 14:41時点における版
/* ここに記述したCSSはすべての外装に反映されます */
/* wikitable/prettytable class for skinning normal tables */
/* Noto Sans JP と Noto Serif JP を両方読み込み */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;700&family=Noto+Serif+JP:wght@700&display=swap');
/* 本文は読みやすいゴシック体 */
body, #content {
font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif !important;
}
/* 見出し(h1~h6)、定義リストの見出し(dt)を明朝体に統一 */
.firstHeading, h1, h2, h3, h4, h5, h6, dt {
font-family: "Noto Serif JP", "BIZ UDPMincho", "Yu Mincho", "游明朝", serif !important;
font-weight: 700 !important;
}
table.wikitable,
table.prettytable {
margin: 1em 1em 1em 0;
background: #f9f9f9;
border: 1px #aaa solid;
border-collapse: collapse;
}
table.wikitable th, table.wikitable td,
table.prettytable th, table.prettytable td {
border: 1px #aaa solid;
padding: 0.2em;
}
table.wikitable th,
table.prettytable th {
background: #f2f2f2;
text-align: center;
}
table.wikitable caption,
table.prettytable caption {
margin-left: inherit;
margin-right: inherit;
}