「MediaWiki:Common.css」の版間の差分
表示
編集の要約なし タグ: 差し戻し済み |
編集の要約なし タグ: 手動差し戻し |
||
| 1行目: | 1行目: | ||
/* | /* メインページだけタイトル非表示 */ | ||
.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 { | .tsrc-infobox { | ||
background-color: #F0F6F7; | background-color: #F0F6F7; | ||
} | } | ||
.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 { | |||
.tsrc- | font-size: 0.85em; | ||
font-size: | color: #666; | ||
color: # | margin-top: 0.5em; | ||
font-style: italic; | |||
} | } | ||
. | |||
color: # | .tsrc-warning::before { | ||
content: "⚠ "; | |||
font-size: 1.2em; | |||
color: #cc0000; | |||
padding-right: 0.3em; | |||
} | } | ||
.tsrc-warning { | .tsrc-warning { | ||
background: #eef0f4; | background: #eef0f4; | ||
color: #333; | color: #333; | ||
font-size: 0.75em; | font-size: 0.75em; /* 少しだけ大きく */ | ||
line-height: 1. | line-height: 1.0; /* 行間を広げて中央寄せ感UP */ | ||
padding: | padding: 0.2em 2em; | ||
margin: | margin-top: 1em; | ||
margin-bottom: 1em; | |||
font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; | font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; | ||
text-align: center; | text-align: center; /* 中央揃え! */ | ||
/* | |||
} | } | ||
2025年4月24日 (木) 02:40時点における版
/* メインページだけタイトル非表示 */
.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; /* 行間を広げて中央寄せ感UP */
padding: 0.2em 2em;
margin-top: 1em;
margin-bottom: 1em;
font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
text-align: center; /* 中央揃え! */
}