「MediaWiki:Common.css」の版間の差分
表示
編集の要約なし |
編集の要約なし |
||
| 25行目: | 25行目: | ||
.skin-theme-clientpref-night .tsrc-infobox { | .skin-theme-clientpref-night .tsrc-infobox { | ||
background-color: #1c2a3a; | background-color: #1c2a3a; | ||
} | |||
.tsrc-logo-block { | |||
text-align: center; | |||
margin-bottom: 1.5em; | |||
} | |||
.tsrc-subtitle { | |||
font-size: 0.85em; | |||
color: #666; | |||
margin-top: 0.5em; | |||
font-style: italic; | |||
} | } | ||
2025年4月24日 (木) 01:34時点における版
/* メインページだけタイトル非表示 */
.page-Main_Page .firstHeading {
display: none !important;
}
/* ダークモード(night)時にロゴを反転 */
.skin-vector-2022.vector-mode-night .tsrc-logo img {
filter: invert(1) brightness(1.2);
transition: filter 0.3s ease;
}
body.skin-vector-2022.skin-dark {
background-color: red !important;
}
.tsrc-logo-wrapper pre,
.tsrc-logo-wrapper code,
.tsrc-logo-wrapper .mw-code {
background-color: transparent !important;
border: none !important;
}
.tsrc-infobox {
background-color: #F0F6F7;
}
.skin-theme-clientpref-night .tsrc-infobox {
background-color: #1c2a3a;
}
.tsrc-logo-block {
text-align: center;
margin-bottom: 1.5em;
}
.tsrc-subtitle {
font-size: 0.85em;
color: #666;
margin-top: 0.5em;
font-style: italic;
}