「MediaWiki:Common.css」の版間の差分
提供:シラキのコホリ
シラキのコホリのツカサ (トーク | 投稿記録) 編集の要約なし |
シラキのコホリのツカサ (トーク | 投稿記録) 編集の要約なし |
||
| 2行目: | 2行目: | ||
/* wikitable/prettytable class for skinning normal tables */ | /* wikitable/prettytable class for skinning normal tables */ | ||
/* Google Fonts から Noto | /* Google Fonts から Noto Serif JP(明朝体)を読み込み */ | ||
@import url('https://fonts.googleapis.com/css2?family=Noto+ | @import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@400;700&display=swap'); | ||
/* | /* サイト全体(本文および見出し)のフォント指定 */ | ||
body, #content, .firstHeading, h1, h2, h3, h4, h5, h6 { | body, #content, .firstHeading, h1, h2, h3, h4, h5, h6 { | ||
font-family: "Noto | font-family: "Noto Serif JP", "BIZ UDPMincho", "BIZ UDMincho", "Yu Mincho", "游明朝", "MS Mincho", "MS 明朝", serif !important; | ||
} | } | ||
.firstHeading, h1, h2, h3 | /* 見出しのウェイト(太字)を制御 */ | ||
.firstHeading, h1, h2, h3, h4, h5, h6 { | |||
font-weight: 700 !important; | font-weight: 700 !important; | ||
} | } | ||
2026年9月26日 (土) 14:35時点における版
/* ここに記述したCSSはすべての外装に反映されます */
/* wikitable/prettytable class for skinning normal tables */
/* Google Fonts から Noto Serif JP(明朝体)を読み込み */
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@400;700&display=swap');
/* サイト全体(本文および見出し)のフォント指定 */
body, #content, .firstHeading, h1, h2, h3, h4, h5, h6 {
font-family: "Noto Serif JP", "BIZ UDPMincho", "BIZ UDMincho", "Yu Mincho", "游明朝", "MS Mincho", "MS 明朝", serif !important;
}
/* 見出しのウェイト(太字)を制御 */
.firstHeading, h1, h2, h3, h4, h5, h6 {
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;
}