「MediaWiki:Common.css」の版間の差分
表示
編集の要約なし |
編集の要約なし |
||
| 49行目: | 49行目: | ||
color: #333; | color: #333; | ||
font-size: 0.75em; | font-size: 0.75em; | ||
line-height: 1. | line-height: 1.0; | ||
padding: 0.2em 2em; | padding: 0.8em 2em 0.2em 2em; /* ← 上0.8em, 下0.2em に変更 */ | ||
margin: 1em auto; | margin: 1em auto; | ||
max-width: 600px; | max-width: 600px; | ||
2025年4月24日 (木) 02:53時点における版
/* メインページだけタイトル非表示 */
.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;
}
.tsrc-warning::before {
content: "⚠ ";
font-size: 1.2em;
color: #cc0000;
padding-right: 0.3em;
}
.tsrc-warning {
background: #eef0f4;
color: #333;
font-size: 0.75em;
line-height: 1.0;
padding: 0.8em 2em 0.2em 2em; /* ← 上0.8em, 下0.2em に変更 */
margin: 1em auto;
max-width: 600px;
font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
text-align: center;
}