Template:Infobox military conflict/styles.css: Difference between revisions
Appearance
Create dark mode styles for military conflict infobox |
Correct dark mode infobox colors |
||
| Line 76: | Line 76: | ||
html.skin-theme-clientpref-os .infobox.vevent a { | html.skin-theme-clientpref-os .infobox.vevent a { | ||
color: #8ec5ff !important; | color: #8ec5ff !important; | ||
} | |||
} | |||
/* Dark-mode color correction for VU infoboxes. */ | |||
@media screen { | |||
html.skin-theme-clientpref-night .infobox, | |||
body.skin-theme-clientpref-night .infobox, | |||
html.skin-theme-clientpref-night .infobox th, | |||
html.skin-theme-clientpref-night .infobox td, | |||
html.skin-theme-clientpref-night .infobox .infobox-label, | |||
html.skin-theme-clientpref-night .infobox .infobox-data, | |||
html.skin-theme-clientpref-night .infobox .infobox-full-data, | |||
body.skin-theme-clientpref-night .infobox th, | |||
body.skin-theme-clientpref-night .infobox td, | |||
body.skin-theme-clientpref-night .infobox .infobox-label, | |||
body.skin-theme-clientpref-night .infobox .infobox-data, | |||
body.skin-theme-clientpref-night .infobox .infobox-full-data { | |||
color: #ffffff; | |||
} | |||
html.skin-theme-clientpref-night .infobox .infobox-above, | |||
html.skin-theme-clientpref-night .infobox .infobox-title, | |||
html.skin-theme-clientpref-night .infobox .infobox-header, | |||
html.skin-theme-clientpref-night .infobox .infobox-subheader, | |||
html.skin-theme-clientpref-night .infobox .infobox-below, | |||
body.skin-theme-clientpref-night .infobox .infobox-above, | |||
body.skin-theme-clientpref-night .infobox .infobox-title, | |||
body.skin-theme-clientpref-night .infobox .infobox-header, | |||
body.skin-theme-clientpref-night .infobox .infobox-subheader, | |||
body.skin-theme-clientpref-night .infobox .infobox-below { | |||
color: #e0f0ff !important; | |||
} | |||
html.skin-theme-clientpref-night .infobox a:link, | |||
html.skin-theme-clientpref-night .infobox a:visited, | |||
body.skin-theme-clientpref-night .infobox a:link, | |||
body.skin-theme-clientpref-night .infobox a:visited { | |||
color: #88ccff; | |||
} | |||
html.skin-theme-clientpref-night .infobox a.new:link, | |||
html.skin-theme-clientpref-night .infobox a.new:visited, | |||
body.skin-theme-clientpref-night .infobox a.new:link, | |||
body.skin-theme-clientpref-night .infobox a.new:visited { | |||
color: #ff6b6b; | |||
} | |||
} | |||
@media screen and (prefers-color-scheme: dark) { | |||
html.skin-theme-clientpref-os .infobox, | |||
body.skin-theme-clientpref-os .infobox, | |||
html.skin-theme-clientpref-os .infobox th, | |||
html.skin-theme-clientpref-os .infobox td, | |||
html.skin-theme-clientpref-os .infobox .infobox-label, | |||
html.skin-theme-clientpref-os .infobox .infobox-data, | |||
html.skin-theme-clientpref-os .infobox .infobox-full-data, | |||
body.skin-theme-clientpref-os .infobox th, | |||
body.skin-theme-clientpref-os .infobox td, | |||
body.skin-theme-clientpref-os .infobox .infobox-label, | |||
body.skin-theme-clientpref-os .infobox .infobox-data, | |||
body.skin-theme-clientpref-os .infobox .infobox-full-data { | |||
color: #ffffff; | |||
} | |||
html.skin-theme-clientpref-os .infobox .infobox-above, | |||
html.skin-theme-clientpref-os .infobox .infobox-title, | |||
html.skin-theme-clientpref-os .infobox .infobox-header, | |||
html.skin-theme-clientpref-os .infobox .infobox-subheader, | |||
html.skin-theme-clientpref-os .infobox .infobox-below, | |||
body.skin-theme-clientpref-os .infobox .infobox-above, | |||
body.skin-theme-clientpref-os .infobox .infobox-title, | |||
body.skin-theme-clientpref-os .infobox .infobox-header, | |||
body.skin-theme-clientpref-os .infobox .infobox-subheader, | |||
body.skin-theme-clientpref-os .infobox .infobox-below { | |||
color: #e0f0ff !important; | |||
} | |||
html.skin-theme-clientpref-os .infobox a:link, | |||
html.skin-theme-clientpref-os .infobox a:visited, | |||
body.skin-theme-clientpref-os .infobox a:link, | |||
body.skin-theme-clientpref-os .infobox a:visited { | |||
color: #88ccff; | |||
} | |||
html.skin-theme-clientpref-os .infobox a.new:link, | |||
html.skin-theme-clientpref-os .infobox a.new:visited, | |||
body.skin-theme-clientpref-os .infobox a.new:link, | |||
body.skin-theme-clientpref-os .infobox a.new:visited { | |||
color: #ff6b6b; | |||
} | } | ||
} | } | ||
Revision as of 13:20, 3 July 2026
/* {{pp-template}} */
@media all and (min-width:720px) {
.desktop-float-right {
box-sizing: border-box;
float: right;
clear: right;
}
}
.infobox.vevent .status > p:first-child {
margin: 0;
}
/* Dark mode override for [[Template:Infobox military conflict]]. */
@media screen {
html.skin-theme-clientpref-night .infobox.vevent,
html.skin-theme-clientpref-dark .infobox.vevent {
background-color: #1e1e1e !important;
color: #d8dee9 !important;
border-color: #444 !important;
}
html.skin-theme-clientpref-night .infobox.vevent th,
html.skin-theme-clientpref-night .infobox.vevent .summary,
html.skin-theme-clientpref-dark .infobox.vevent th,
html.skin-theme-clientpref-dark .infobox.vevent .summary {
background-color: #1b223d !important;
color: #e0f0ff !important;
border-color: #3a506b !important;
}
html.skin-theme-clientpref-night .infobox.vevent td,
html.skin-theme-clientpref-dark .infobox.vevent td {
background-color: #1e1e1e !important;
color: #d8dee9 !important;
border-color: #444 !important;
}
html.skin-theme-clientpref-night .infobox.vevent table,
html.skin-theme-clientpref-dark .infobox.vevent table {
background-color: transparent !important;
color: inherit !important;
}
html.skin-theme-clientpref-night .infobox.vevent a,
html.skin-theme-clientpref-dark .infobox.vevent a {
color: #8ec5ff !important;
}
}
@media screen and (prefers-color-scheme: dark) {
html.skin-theme-clientpref-os .infobox.vevent {
background-color: #1e1e1e !important;
color: #d8dee9 !important;
border-color: #444 !important;
}
html.skin-theme-clientpref-os .infobox.vevent th,
html.skin-theme-clientpref-os .infobox.vevent .summary {
background-color: #1b223d !important;
color: #e0f0ff !important;
border-color: #3a506b !important;
}
html.skin-theme-clientpref-os .infobox.vevent td {
background-color: #1e1e1e !important;
color: #d8dee9 !important;
border-color: #444 !important;
}
html.skin-theme-clientpref-os .infobox.vevent table {
background-color: transparent !important;
color: inherit !important;
}
html.skin-theme-clientpref-os .infobox.vevent a {
color: #8ec5ff !important;
}
}
/* Dark-mode color correction for VU infoboxes. */
@media screen {
html.skin-theme-clientpref-night .infobox,
body.skin-theme-clientpref-night .infobox,
html.skin-theme-clientpref-night .infobox th,
html.skin-theme-clientpref-night .infobox td,
html.skin-theme-clientpref-night .infobox .infobox-label,
html.skin-theme-clientpref-night .infobox .infobox-data,
html.skin-theme-clientpref-night .infobox .infobox-full-data,
body.skin-theme-clientpref-night .infobox th,
body.skin-theme-clientpref-night .infobox td,
body.skin-theme-clientpref-night .infobox .infobox-label,
body.skin-theme-clientpref-night .infobox .infobox-data,
body.skin-theme-clientpref-night .infobox .infobox-full-data {
color: #ffffff;
}
html.skin-theme-clientpref-night .infobox .infobox-above,
html.skin-theme-clientpref-night .infobox .infobox-title,
html.skin-theme-clientpref-night .infobox .infobox-header,
html.skin-theme-clientpref-night .infobox .infobox-subheader,
html.skin-theme-clientpref-night .infobox .infobox-below,
body.skin-theme-clientpref-night .infobox .infobox-above,
body.skin-theme-clientpref-night .infobox .infobox-title,
body.skin-theme-clientpref-night .infobox .infobox-header,
body.skin-theme-clientpref-night .infobox .infobox-subheader,
body.skin-theme-clientpref-night .infobox .infobox-below {
color: #e0f0ff !important;
}
html.skin-theme-clientpref-night .infobox a:link,
html.skin-theme-clientpref-night .infobox a:visited,
body.skin-theme-clientpref-night .infobox a:link,
body.skin-theme-clientpref-night .infobox a:visited {
color: #88ccff;
}
html.skin-theme-clientpref-night .infobox a.new:link,
html.skin-theme-clientpref-night .infobox a.new:visited,
body.skin-theme-clientpref-night .infobox a.new:link,
body.skin-theme-clientpref-night .infobox a.new:visited {
color: #ff6b6b;
}
}
@media screen and (prefers-color-scheme: dark) {
html.skin-theme-clientpref-os .infobox,
body.skin-theme-clientpref-os .infobox,
html.skin-theme-clientpref-os .infobox th,
html.skin-theme-clientpref-os .infobox td,
html.skin-theme-clientpref-os .infobox .infobox-label,
html.skin-theme-clientpref-os .infobox .infobox-data,
html.skin-theme-clientpref-os .infobox .infobox-full-data,
body.skin-theme-clientpref-os .infobox th,
body.skin-theme-clientpref-os .infobox td,
body.skin-theme-clientpref-os .infobox .infobox-label,
body.skin-theme-clientpref-os .infobox .infobox-data,
body.skin-theme-clientpref-os .infobox .infobox-full-data {
color: #ffffff;
}
html.skin-theme-clientpref-os .infobox .infobox-above,
html.skin-theme-clientpref-os .infobox .infobox-title,
html.skin-theme-clientpref-os .infobox .infobox-header,
html.skin-theme-clientpref-os .infobox .infobox-subheader,
html.skin-theme-clientpref-os .infobox .infobox-below,
body.skin-theme-clientpref-os .infobox .infobox-above,
body.skin-theme-clientpref-os .infobox .infobox-title,
body.skin-theme-clientpref-os .infobox .infobox-header,
body.skin-theme-clientpref-os .infobox .infobox-subheader,
body.skin-theme-clientpref-os .infobox .infobox-below {
color: #e0f0ff !important;
}
html.skin-theme-clientpref-os .infobox a:link,
html.skin-theme-clientpref-os .infobox a:visited,
body.skin-theme-clientpref-os .infobox a:link,
body.skin-theme-clientpref-os .infobox a:visited {
color: #88ccff;
}
html.skin-theme-clientpref-os .infobox a.new:link,
html.skin-theme-clientpref-os .infobox a.new:visited,
body.skin-theme-clientpref-os .infobox a.new:link,
body.skin-theme-clientpref-os .infobox a.new:visited {
color: #ff6b6b;
}
}