MediaWiki:Common.css: Difference between revisions
No edit summary |
No edit summary |
||
| Line 96: | Line 96: | ||
.skin-vector-2022 .mw-logo-icon { width: 180px; height: 180px; } | .skin-vector-2022 .mw-logo-icon { width: 180px; height: 180px; } | ||
/* Nation infobox (light) */ | |||
table.infobox.infobox-nation{ | |||
border:1px solid #a2a9b1; background:#f8f9fa; | |||
width:300px; float:right; margin:0 0 1em 1em; font-size:90%; | |||
} | |||
.infobox-title{ text-align:center; background:#eaf3ff; color:#202122; font-weight:700; font-size:120%; padding:.4em .6em; } | |||
.infobox-image{ text-align:center; background:#fff; } | |||
.infobox-caption{ font-size:85%; color:#54595d; margin-top:.25em; } | |||
.infobox-section{ text-align:center; background:#eaecf0; color:#202122; font-weight:700; padding:.3em .5em; } | |||
.infobox-sub{ text-align:center; background:#f1f2f3; color:#202122; font-weight:600; padding:.25em .5em; } | |||
.infobox.infobox-nation th{ text-align:left; width:38%; padding:.35em .5em; } | |||
.infobox.infobox-nation td{ padding:.35em .5em; } | |||
/* Dark mode (Vector night or DarkMode) */ | |||
.skin-theme-clientpref-night table.infobox.infobox-nation, | |||
.client-darkmode table.infobox.infobox-nation{ background:#1f2937; border-color:#374151; color:#e5e7eb; } | |||
.skin-theme-clientpref-night .infobox-title, | |||
.client-darkmode .infobox-title{ background:#111827; color:#f9fafb; } | |||
.skin-theme-clientpref-night .infobox-section, | |||
.client-darkmode .infobox-section, | |||
.skin-theme-clientpref-night .infobox-sub, | |||
.client-darkmode .infobox-sub{ background:#111827; color:#f9fafb; } | |||
.skin-theme-clientpref-night .infobox-image, | |||
.client-darkmode .infobox-image{ background:transparent; } | |||
.skin-theme-clientpref-night .infobox.infobox-nation th, | |||
.client-darkmode .infobox.infobox-nation th{ color:#cbd5e1; } | |||
.skin-theme-clientpref-night .infobox.infobox-nation td, | |||
.client-darkmode .infobox.infobox-nation td{ color:#e5e7eb; } | |||