「MediaWiki:Common.css」の版間の差分
表示
タグ: 取り消し 差し戻し済み |
タグ: 取り消し 差し戻し済み |
||
| 14行目: | 14行目: | ||
} | } | ||
/* | /* 目次(TOC)の背景色設定 & 不要な外枠・線を消す */ | ||
.toc, | .toc, | ||
.mw-table-of-contents-container, | .mw-table-of-contents-container, | ||
.vector-toc { | .vector-toc { | ||
background-color: # | background-color: #f0f7ff !important; /* 淡いブルーの背景色 */ | ||
border: | border: none !important; /* 枠線を完全に消す */ | ||
box-shadow: none !important; /* 影を消す */ | |||
border-radius: 8px !important; /* 角を丸くする */ | |||
} | } | ||
/* | /* 目次の内部にある余計な区切り線を非表示 */ | ||
.vector- | .vector-toc::after, | ||
.vector-toc::before { | |||
display: none !important; | |||
.vector-toc | |||
} | } | ||
2026年9月21日 (月) 22:08時点における版
/* ここに記述したCSSはすべての外装に反映されます */
/* フッターの各種リンク(プライバシー・ポリシー等)だけを非表示 */
#footer-places,
.footer-places {
display: none !important;
}
/* 左側のサイドバー(メインメニューエリア)をミントグリーンに変更 */
.vector-main-menu-container,
.mw-sidebar {
background-color: #f0fdf4 !important; /* 爽やかなミントグリーン背景 */
padding: 12px !important;
border-radius: 8px !important; /* 角を少し丸くする */
border: 1px solid #bbf7d0 !important; /* 優しく馴染むグリーンの枠線 */
}
/* 目次(TOC)の背景色設定 & 不要な外枠・線を消す */
.toc,
.mw-table-of-contents-container,
.vector-toc {
background-color: #f0f7ff !important; /* 淡いブルーの背景色 */
border: none !important; /* 枠線を完全に消す */
box-shadow: none !important; /* 影を消す */
border-radius: 8px !important; /* 角を丸くする */
}
/* 目次の内部にある余計な区切り線を非表示 */
.vector-toc::after,
.vector-toc::before {
display: none !important;
}