「MediaWiki:Common.css」の版間の差分
BeerFan001 (トーク | 投稿記録) 編集の要約なし |
BeerFan001 (トーク | 投稿記録) 編集の要約なし |
||
(同じ利用者による、間の17版が非表示) | |||
1行目: | 1行目: | ||
/* ここに記述したCSSはすべての外装に反映されます */ | /* ここに記述したCSSはすべての外装に反映されます */ | ||
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:wght@400;700&display=swap'); | |||
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css'); | |||
/* 背景画像の設定 */ | /* 背景画像の設定 */ | ||
body { | body { | ||
font-family: 'Noto Sans', sans-serif; | |||
font-size: 1.1em; | |||
// line-height: 1.5; | |||
background-image: url('/images/bg_beer-253791_1920.jpg'); | background-image: url('/images/bg_beer-253791_1920.jpg'); | ||
background-size: cover; | background-size: cover; | ||
} | |||
/* 本文の文字サイズを大きくする */ | |||
p { | |||
// font-size: 1.125em; /* 必要に応じてサイズを調整 */ | |||
// line-height: 1.8; | |||
} | |||
/* 見出しのフォントサイズも調整 */ | |||
h1, h2, h3, h4, h5, h6 { | |||
// font-size: 110%; /* 見出しの大きさも調整 */ | |||
} | |||
/* リストの文字サイズを本文と同じに設定 */ | |||
ul, ol, li { | |||
// font-size: 1.125em; /* 本文と同じサイズに */ | |||
// line-height: 1.5; /* 必要に応じて行間も調整 */ | |||
} | } | ||
61行目: | 87行目: | ||
#footer-poweredbyico { display: none; } | #footer-poweredbyico { display: none; } | ||
/* | /* Infobox内の文字サイズを本文と同じに設定 */ | ||
.infobox | .infobox { | ||
// font-size: 1.125em; /* 本文と同じサイズに */ | |||
// line-height: 1.5; /* 必要に応じて行間も調整 */ | |||
} | } | ||