「MediaWiki:Common.css」の版間の差分
編集の要約なし |
編集の要約なし |
||
| (同じ利用者による、間の89版が非表示) | |||
| 26行目: | 26行目: | ||
background-color: transparent !important; | background-color: transparent !important; | ||
border: none !important; | border: none !important; | ||
} | |||
/************************************************** | |||
* メインページ:TSRCタイトル | |||
**************************************************/ | |||
.tsrc-top-title { | |||
font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; /* ちゃんと公式感あるフォント */ | |||
font-size: 2.2em; | |||
font-weight: bold; | |||
margin-bottom: 0.2em; | |||
text-align: flex; /* もし中央にしたいなら */ | |||
} | |||
/************************************************** | |||
* メインページ:TSRC惑星外住民 | |||
**************************************************/ | |||
.tsrc-infobox { | |||
max-width: 700px; /* 例えばここで最大幅を制限 */ | |||
margin: 1em auto; | |||
background-color: #eef3f5; | |||
border: 1px solid #ccc; | |||
padding: 0.2em 0.5em; | |||
font-size: 0.95em; | |||
line-height: 1.4; | |||
margin: 0.5em 0; | |||
border-radius: 4px; | |||
} | |||
/************************************************** | |||
* メインページ:TSRCガイドリンク | |||
**************************************************/ | |||
.page-Main_Page ul { | |||
padding-left: 1.5em; | |||
margin-top: 1em; | |||
} | |||
.tsrc-guide-links { | |||
margin-bottom: 1.5em; | |||
} | } | ||
| 76行目: | 116行目: | ||
} | } | ||
.page-Main_Page pre, | |||
.page-Main_Page code, | |||
.page-Main_Page .mw-code { | |||
background-color: transparent !important; | |||
border: none !important; | |||
} | |||
/************************************************** | /************************************************** | ||
| 89行目: | 135行目: | ||
.tsrc-grid .tsrc-box { | .tsrc-grid .tsrc-box { | ||
width: calc(50% - 0.75em) | width: calc(50% - 0.75em); | ||
border: 1px solid #888; | border: 1px solid #888; | ||
padding: | background: transparent; /* ★ここ変更! */ | ||
padding: 1.5em; /* ←ちょっと広めにしてもOK */ | |||
box-sizing: border-box; | box-sizing: border-box; | ||
margin-bottom: 1em; | |||
} | } | ||
.tsrc-box-header { | .tsrc-box-header { | ||
display: flex; | display: flex; | ||
align-items: center; | align-items: center; /* もしくは startでもいいけど centerの方が美しい */ | ||
font-weight: | font-weight: 600; | ||
font-size: | font-size: 1.4em; | ||
margin-bottom: 0. | margin-bottom: 0.5em; | ||
background: linear-gradient(to right, #dfe4ea, #f5f7fa); | background: linear-gradient(to right, #dfe4ea, #f5f7fa); | ||
padding: 0. | padding: 0.4em 0.7em; | ||
border-radius: 2px; | border-radius: 2px; | ||
line-height: 1.0; | |||
} | } | ||
.tsrc-box-icon { | .tsrc-box-icon { | ||
| 134行目: | 183行目: | ||
**************************************************/ | **************************************************/ | ||
.tsrc-PR-log { | .tsrc-PR-log { | ||
background-color: # | background-color:#fcfff6; /* 柔らかい灰色背景 */ | ||
border: | border: 3px solid #8e715b; | ||
padding: | padding: 1em; | ||
margin: 2em 0; | margin: 2em 0; | ||
border-radius: 8px; | border-radius: 8px; | ||
| 144行目: | 193行目: | ||
line-height: 1.7; | line-height: 1.7; | ||
} | } | ||
/* 広報記録だけ、ヘッダーや外周も緑にする! */ | |||
.page-広報記録 .vector-header-start, | |||
.page-広報記録 .vector-header-end, | |||
.page-広報記録 .vector-header.mw-header, | |||
.page-広報記録 .mw-page-container-inner, | |||
.page-広報記録 .vector-sidebar-container, | |||
.page-広報記録 .mw-content-container, | |||
.page-広報記録 .vector-sticky-pinned-container, | |||
.page-広報記録 .vector-pinned-container, | |||
.page-広報記録 .vector-main-container, | |||
.page-広報記録 .mw-page-container { | |||
background-color: #f3f5ef; /*背景色 */ | |||
} | |||
/* ダークモード */ | |||
.skin-theme-clientpref-night .page-広報記録 .vector-header-start, | |||
.skin-theme-clientpref-night .page-広報記録 .vector-header-end, | |||
.skin-theme-clientpref-night .page-広報記録 .vector-header.mw-header, | |||
.skin-theme-clientpref-night .page-広報記録 .mw-page-container-inner, | |||
.skin-theme-clientpref-night .page-広報記録 .vector-sidebar-container, | |||
.skin-theme-clientpref-night .page-広報記録 .mw-content-container, | |||
.skin-theme-clientpref-night .page-広報記録 .vector-sticky-pinned-container, | |||
.skin-theme-clientpref-night .page-広報記録 .vector-pinned-container, | |||
.skin-theme-clientpref-night .page-広報記録 .vector-main-container, | |||
.skin-theme-clientpref-night .page-広報記録 .mw-page-container { | |||
background-color: #1b2b1f; /* ダークモード用の濃いグリーン */ | |||
} | |||
.page-広報記録 .vector-sticky-pinned-container::after { | |||
background: none !important; | |||
content: none !important; | |||
} | |||
.page-広報記録 a { | |||
color: #4b7257; /* たとえば深緑っぽい色 */ | |||
} | |||
/* マウスホバーした時(hover時)の色も変えると綺麗 */ | |||
.page-広報記録 a:hover { | |||
color: #38543f; /* さらに濃い緑に変化 */ | |||
} | |||
.page-広報記録 a.mw-ui-progressive { | |||
color: #5b7b5b; /* あなたのテーマに合わせた緑とか */ | |||
} | |||
.page-広報記録 { | |||
--border-color-progressive: #7aa582; /* 優しいグリーン系に変更 */ | |||
} | |||
.page-広報記録 { | |||
--color-progressive: #7aa582; /* リンクや強調色を柔らかグリーンに */ | |||
--color-progressive--hover: #5c7c65; /* ホバー時の色もちょっと濃いめに */ | |||
} | |||
/************************************************** | /************************************************** | ||
| 150行目: | 256行目: | ||
.page-広報記録 #content, | .page-広報記録 #content, | ||
.page-広報記録 .mw-body { | .page-広報記録 .mw-body { | ||
background-color: # | background-color: #f3f5ef; | ||
border-radius: 8px; | |||
padding: 2em; | |||
} | |||
.skin-theme-clientpref-night .page-広報記録 .mw-content-container { | |||
background-color: #222; | |||
color: #eee; | |||
border-radius: 8px; | border-radius: 8px; | ||
padding: 2em; | padding: 2em; | ||
} | } | ||
.skin-theme-clientpref-night .page-広報記録 #content, | |||
.skin-theme-clientpref-night .page-広報記録 .mw-body, | |||
.skin-theme-clientpref-night .page-広報記録 .mw-content-container { | |||
background-color: #1b2b1f; /* ミッドナイトグリーン */ | |||
color: #e8f0e5; /* 少し黄緑がかった優しい白 */ | |||
} | |||
/************************************************** | /************************************************** | ||
* 広報記録ポータル:外周背景もカスタム | * 広報記録ポータル:外周背景もカスタム | ||
**************************************************/ | **************************************************/ | ||
. | |||
background-color: # | |||
/* 広報ページの広報ボックスを、ダークモード対応させる */ | |||
.skin-theme-clientpref-night .tsrc-PR-log { | |||
background-color: #222; /* かなり暗めの灰色 */ | |||
color: #eee; /* 文字を明るく */ | |||
} | |||
.skin-theme-clientpref-night body.page-広報記録 { | |||
background-color: #1e2e22 !important; /* ダークモード用、やや深い緑 */ | |||
} | |||
body.page-広報記録 { | |||
background-color: #c2d5ba !important; | |||
} | } | ||