「MediaWiki:Common.css」の版間の差分
提供:シラキのコホリ
シラキのコホリのツカサ (トーク | 投稿記録) 編集の要約なし |
シラキのコホリのツカサ (トーク | 投稿記録) 編集の要約なし |
||
| 1行目: | 1行目: | ||
/* ここに記述したCSSはすべての外装に反映されます */ | /* ここに記述したCSSはすべての外装に反映されます */ | ||
/* wikitable/prettytable class for skinning normal tables */ | /* wikitable/prettytable class for skinning normal tables */ | ||
/* Google Fonts から Noto Sans JP を読み込み */ | |||
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;700&display=swap'); | |||
/* サイト全体に適用 */ | |||
body, #content, .firstHeading, h1, h2, h3, h4, h5, h6 { | |||
font-family: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif !important; | |||
} | |||
.firstHeading, h1, h2, h3 { | |||
font-family: "Noto Sans JP", "Hiragino Sans", "Meiryo", sans-serif !important; | |||
font-weight: 700 !important; /* 明示的に700(Bold)を指定 */ | |||
} | |||
table.wikitable, | table.wikitable, | ||
table.prettytable { | table.prettytable { | ||
| 25行目: | 39行目: | ||
margin-left: inherit; | margin-left: inherit; | ||
margin-right: inherit; | margin-right: inherit; | ||
} | } | ||
2026年9月26日 (土) 14:22時点における版
/* ここに記述したCSSはすべての外装に反映されます */
/* wikitable/prettytable class for skinning normal tables */
/* Google Fonts から Noto Sans JP を読み込み */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;700&display=swap');
/* サイト全体に適用 */
body, #content, .firstHeading, h1, h2, h3, h4, h5, h6 {
font-family: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif !important;
}
.firstHeading, h1, h2, h3 {
font-family: "Noto Sans JP", "Hiragino Sans", "Meiryo", sans-serif !important;
font-weight: 700 !important; /* 明示的に700(Bold)を指定 */
}
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;
}