「MediaWiki:Common.css」の版間の差分
提供:シラキのコホリ
シラキのコホリのツカサ (トーク | 投稿記録) 編集の要約なし |
シラキのコホリのツカサ (トーク | 投稿記録) 編集の要約なし |
||
| (同じ利用者による、間の5版が非表示) | |||
| 1行目: | 1行目: | ||
/* ここに記述したCSSはすべての外装に反映されます */ | /* ここに記述したCSSはすべての外装に反映されます */ | ||
/* wikitable/prettytable class for skinning normal tables */ | /* 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'); | |||
/* 本文・太字・定義リスト(dt)はすべてゴシック体(Noto Sans JP)に統一 */ | |||
body, #content, dt, b, strong { | |||
font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif !important; | |||
} | |||
/* 記事タイトルおよびセクション見出し(h1〜h6)のみ明朝体(Noto Serif JP) */ | |||
.firstHeading, h1, h2, h3, h4, h5, h6 { | |||
font-family: "Noto Serif JP", "BIZ UDPMincho", "Yu Mincho", "游明朝", serif !important; | |||
font-weight: 700 !important; | |||
} | |||
table.wikitable, | table.wikitable, | ||
table.prettytable { | table.prettytable { | ||
| 25行目: | 40行目: | ||
margin-left: inherit; | margin-left: inherit; | ||
margin-right: inherit; | margin-right: inherit; | ||
} | } | ||
2026年9月26日 (土) 14:43時点における最新版
/* ここに記述した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');
/* 本文・太字・定義リスト(dt)はすべてゴシック体(Noto Sans JP)に統一 */
body, #content, dt, b, strong {
font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif !important;
}
/* 記事タイトルおよびセクション見出し(h1〜h6)のみ明朝体(Noto Serif JP) */
.firstHeading, h1, h2, h3, h4, h5, h6 {
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;
}