「MediaWiki:Common.css」の版間の差分

提供:いきいきシニアのためのWiki
編集の要約なし
編集の要約なし
1行目: 1行目:
/* ここに記述したCSSはすべての外装に反映されます */
/* ここに記述したCSSはすべての外装に反映されます */
/* 全体のフォントと基本の文字サイズを設定 */
body {
    font-family: 'Segoe UI', 'Arial', sans-serif; /* ノート風のフォント */
    font-size: 16px; /* 読みやすい基本の文字サイズ */
    line-height: 1.6; /* 行間も広めに設定 */
    background: #fafafa; /* 背景色をソフトな色に設定 */
    color: #333; /* 文字色を柔らかい黒に設定 */
}
/* 見出しのスタイル */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Georgia', 'Times New Roman', serif; /* 見出しにはセリフフォントを使用 */
    color: #2a2a2a; /* 見出しの文字色を少し濃く */
}
/* リンクのスタイル */
a {
    color: #0645ad; /* リンク色 */
}
a:hover {
    text-decoration: underline; /* ホバー時に下線を表示 */
}
/* ナビゲーションパネルのスタイル調整 */
#mw-panel {
    background: #e9e9e9; /* ナビゲーションパネルの背景色 */
    font-family: 'Arial', sans-serif; /* ナビゲーションのフォント */
}
/* コンテンツエリアのスタイル */
#content {
    background: white; /* コンテンツエリアの背景色を白に */
    padding: 20px; /* コンテンツエリアのパディング */
    border-radius: 8px; /* 角を丸める */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* シャドウを追加 */
}


.infobox {
.infobox {

2024年8月10日 (土) 11:27時点における版

/* ここに記述したCSSはすべての外装に反映されます */
/* 全体のフォントと基本の文字サイズを設定 */
body {
    font-family: 'Segoe UI', 'Arial', sans-serif; /* ノート風のフォント */
    font-size: 16px; /* 読みやすい基本の文字サイズ */
    line-height: 1.6; /* 行間も広めに設定 */
    background: #fafafa; /* 背景色をソフトな色に設定 */
    color: #333; /* 文字色を柔らかい黒に設定 */
}

/* 見出しのスタイル */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Georgia', 'Times New Roman', serif; /* 見出しにはセリフフォントを使用 */
    color: #2a2a2a; /* 見出しの文字色を少し濃く */
}

/* リンクのスタイル */
a {
    color: #0645ad; /* リンク色 */
}

a:hover {
    text-decoration: underline; /* ホバー時に下線を表示 */
}

/* ナビゲーションパネルのスタイル調整 */
#mw-panel {
    background: #e9e9e9; /* ナビゲーションパネルの背景色 */
    font-family: 'Arial', sans-serif; /* ナビゲーションのフォント */
}

/* コンテンツエリアのスタイル */
#content {
    background: white; /* コンテンツエリアの背景色を白に */
    padding: 20px; /* コンテンツエリアのパディング */
    border-radius: 8px; /* 角を丸める */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* シャドウを追加 */
}

.infobox {
    background-color: #f9f9f9;
    border: 1px solid #aaa;
    padding: 5px;
    font-size: 90%;
    width: 27em;
    text-align: left;
}

.infobox th, .infobox td {
    padding: 3px;
    text-align: left;
}

.infobox th {
    width: 7em;
    background-color: #f2f2f2;
}