「MediaWiki:Common.css」の版間の差分
表示
編集の要約なし |
編集の要約なし |
||
| 12行目: | 12行目: | ||
background-color: red !important; | background-color: red !important; | ||
} | } | ||
.tsrc-logo- | /* 画像リンクと画像本体に背景がつかないように */ | ||
.tsrc-logo- | .tsrc-logo-container, | ||
.tsrc-logo- | .tsrc-logo-container a, | ||
.tsrc-logo-container img, | |||
.mw-file-description, | |||
.mw-file-element { | |||
background: transparent !important; | background: transparent !important; | ||
border: none !important; | border: none !important; | ||
box-shadow: none !important; | box-shadow: none !important; | ||
padding: 0 !important; | |||
} | } | ||
2025年4月23日 (水) 20:42時点における版
/* メインページだけタイトル非表示 */
.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-container,
.tsrc-logo-container a,
.tsrc-logo-container img,
.mw-file-description,
.mw-file-element {
background: transparent !important;
border: none !important;
box-shadow: none !important;
padding: 0 !important;
}