Template:Infobox valley/styles.css: Difference between revisions
Appearance
Update valley infobox body/background styling Tag: Reverted |
No edit summary Tag: Manual revert |
||
| Line 5: | Line 5: | ||
border-collapse: collapse; | border-collapse: collapse; | ||
line-height: 1.2em; | line-height: 1.2em; | ||
background-color: var(--background-color-neutral-subtle, #f8f9fa); | |||
color: var(--color-base, #202122); | color: var(--color-base, #202122); | ||
} | } | ||
| Line 19: | Line 20: | ||
.ib-valley td, | .ib-valley td, | ||
.ib-valley th { | .ib-valley th { | ||
border-top: 1px solid var(--border-color-base, #a2a9b1); | border-top: 1px solid #a2a9b1; | ||
border-top-color: var(--border-color-base, #a2a9b1); | |||
padding: 0.4em 0.6em; | padding: 0.4em 0.6em; | ||
} | } | ||
| Line 38: | Line 29: | ||
font-size: 125%; | font-size: 125%; | ||
line-height: 1.3em; | line-height: 1.3em; | ||
} | } | ||
.infobox.ib-valley .infobox-subheader, | .infobox.ib-valley .infobox-subheader, | ||
.ib-valley .infobox-subheader { | |||
.ib-valley .infobox-subheader | |||
background-color: var(--background-color-progressive-subtle, #eaf3ff); | background-color: var(--background-color-progressive-subtle, #eaf3ff); | ||
color: var(--color-base, #202122); | color: var(--color-base, #202122); | ||
font-weight: bold; | font-weight: bold; | ||
} | |||
.ib-valley-other-name { | |||
display: inline; | |||
font-size: 78%; | |||
font-weight: normal; | |||
} | } | ||
| Line 59: | Line 49: | ||
.ib-valley .infobox-below { | .ib-valley .infobox-below { | ||
text-align: left; | text-align: left; | ||
} | } | ||
| Line 94: | Line 73: | ||
@media screen { | @media screen { | ||
html.skin-theme-clientpref-night .infobox.ib-valley, | html.skin-theme-clientpref-night .infobox.ib-valley, | ||
html | html.skin-theme-clientpref-night .ib-valley { | ||
background-color: #1e1e1e; | background-color: #1e1e1e; | ||
color: #d0d0d0; | color: #d0d0d0; | ||
| Line 102: | Line 79: | ||
} | } | ||
html.skin-theme-clientpref-night .infobox.ib-valley | html.skin-theme-clientpref-night .infobox.ib-valley *, | ||
html | html.skin-theme-clientpref-night .ib-valley * { | ||
color: inherit; | |||
} | } | ||
| Line 117: | Line 88: | ||
html.skin-theme-clientpref-night .ib-valley .infobox-header, | html.skin-theme-clientpref-night .ib-valley .infobox-header, | ||
html.skin-theme-clientpref-night .ib-valley .infobox-subheader, | html.skin-theme-clientpref-night .ib-valley .infobox-subheader, | ||
html | html.skin-theme-clientpref-night .ib-valley caption { | ||
background-color: #1B223D !important; | background-color: #1B223D !important; | ||
color: #e0f0ff !important; | color: #e0f0ff !important; | ||
| Line 130: | Line 96: | ||
html.skin-theme-clientpref-night .infobox.ib-valley .infobox-label, | html.skin-theme-clientpref-night .infobox.ib-valley .infobox-label, | ||
html.skin-theme-clientpref-night .infobox.ib-valley .infobox-data, | html.skin-theme-clientpref-night .infobox.ib-valley .infobox-data, | ||
html.skin-theme-clientpref-night .infobox.ib-valley .infobox- | html.skin-theme-clientpref-night .infobox.ib-valley th, | ||
html.skin-theme-clientpref-night .infobox.ib-valley td, | |||
html.skin-theme-clientpref-night .ib-valley .infobox-label, | html.skin-theme-clientpref-night .ib-valley .infobox-label, | ||
html.skin-theme-clientpref-night .ib-valley .infobox-data, | html.skin-theme-clientpref-night .ib-valley .infobox-data, | ||
html.skin-theme-clientpref-night .ib-valley | html.skin-theme-clientpref-night .ib-valley th, | ||
html.skin-theme-clientpref-night .ib-valley td { | |||
background-color: #1e1e1e; | background-color: #1e1e1e; | ||
color: #d0d0d0; | color: #d0d0d0; | ||
border-color: #444; | |||
} | } | ||
| Line 147: | Line 110: | ||
html.skin-theme-clientpref-night .infobox.ib-valley a:visited, | html.skin-theme-clientpref-night .infobox.ib-valley a:visited, | ||
html.skin-theme-clientpref-night .ib-valley a:link, | html.skin-theme-clientpref-night .ib-valley a:link, | ||
html | html.skin-theme-clientpref-night .ib-valley a:visited { | ||
color: #88ccff; | color: #88ccff; | ||
} | } | ||
| Line 158: | Line 117: | ||
html.skin-theme-clientpref-night .infobox.ib-valley a.new:visited, | html.skin-theme-clientpref-night .infobox.ib-valley a.new:visited, | ||
html.skin-theme-clientpref-night .ib-valley a.new:link, | html.skin-theme-clientpref-night .ib-valley a.new:link, | ||
html | html.skin-theme-clientpref-night .ib-valley a.new:visited { | ||
color: #ff7a7a; | color: #ff7a7a; | ||
} | } | ||
| Line 174: | Line 129: | ||
} | } | ||
html.skin-theme-clientpref-os .infobox.ib-valley | html.skin-theme-clientpref-os .infobox.ib-valley *, | ||
html.skin-theme-clientpref-os .ib-valley * { | |||
html.skin-theme-clientpref-os .ib-valley | color: inherit; | ||
} | } | ||
| Line 193: | Line 146: | ||
html.skin-theme-clientpref-os .infobox.ib-valley .infobox-label, | html.skin-theme-clientpref-os .infobox.ib-valley .infobox-label, | ||
html.skin-theme-clientpref-os .infobox.ib-valley .infobox-data, | html.skin-theme-clientpref-os .infobox.ib-valley .infobox-data, | ||
html.skin-theme-clientpref-os .infobox.ib-valley .infobox- | html.skin-theme-clientpref-os .infobox.ib-valley th, | ||
html.skin-theme-clientpref-os .infobox.ib-valley td, | |||
html.skin-theme-clientpref-os .ib-valley .infobox-label, | html.skin-theme-clientpref-os .ib-valley .infobox-label, | ||
html.skin-theme-clientpref-os .ib-valley .infobox-data, | html.skin-theme-clientpref-os .ib-valley .infobox-data, | ||
html.skin-theme-clientpref-os .ib-valley . | html.skin-theme-clientpref-os .ib-valley th, | ||
html.skin-theme-clientpref-os .ib-valley td { | |||
background-color: #1e1e1e; | background-color: #1e1e1e; | ||
color: #d0d0d0; | color: #d0d0d0; | ||
border-color: #444; | |||
} | } | ||
Revision as of 17:57, 7 June 2026
/* Dark-mode-safe styling for Template:Infobox valley. */
.infobox.ib-valley,
.ib-valley {
border-collapse: collapse;
line-height: 1.2em;
background-color: var(--background-color-neutral-subtle, #f8f9fa);
color: var(--color-base, #202122);
}
@media (min-width: 640px) {
.infobox.ib-valley,
.ib-valley {
width: 23em;
}
}
.infobox.ib-valley td,
.infobox.ib-valley th,
.ib-valley td,
.ib-valley th {
border-top: 1px solid #a2a9b1;
border-top-color: var(--border-color-base, #a2a9b1);
padding: 0.4em 0.6em;
}
.infobox.ib-valley .infobox-above,
.ib-valley .infobox-above {
font-size: 125%;
line-height: 1.3em;
}
.infobox.ib-valley .infobox-subheader,
.ib-valley .infobox-subheader {
background-color: var(--background-color-progressive-subtle, #eaf3ff);
color: var(--color-base, #202122);
font-weight: bold;
}
.ib-valley-other-name {
display: inline;
font-size: 78%;
font-weight: normal;
}
.infobox.ib-valley .infobox-header,
.infobox.ib-valley .infobox-below,
.ib-valley .infobox-header,
.ib-valley .infobox-below {
text-align: left;
}
.infobox.ib-valley img,
.ib-valley img {
max-width: 100%;
height: auto;
}
.infobox.ib-valley a:link,
.infobox.ib-valley a:visited,
.ib-valley a:link,
.ib-valley a:visited {
color: var(--color-progressive, #36c);
}
.infobox.ib-valley a.new:link,
.infobox.ib-valley a.new:visited,
.ib-valley a.new:link,
.ib-valley a.new:visited {
color: var(--color-destructive, #d33);
}
@media screen {
html.skin-theme-clientpref-night .infobox.ib-valley,
html.skin-theme-clientpref-night .ib-valley {
background-color: #1e1e1e;
color: #d0d0d0;
border-color: #444;
}
html.skin-theme-clientpref-night .infobox.ib-valley *,
html.skin-theme-clientpref-night .ib-valley * {
color: inherit;
}
html.skin-theme-clientpref-night .ib-valley .infobox-above,
html.skin-theme-clientpref-night .ib-valley .infobox-title,
html.skin-theme-clientpref-night .ib-valley .infobox-header,
html.skin-theme-clientpref-night .ib-valley .infobox-subheader,
html.skin-theme-clientpref-night .ib-valley caption {
background-color: #1B223D !important;
color: #e0f0ff !important;
border-color: #3a506b !important;
}
html.skin-theme-clientpref-night .infobox.ib-valley .infobox-label,
html.skin-theme-clientpref-night .infobox.ib-valley .infobox-data,
html.skin-theme-clientpref-night .infobox.ib-valley th,
html.skin-theme-clientpref-night .infobox.ib-valley td,
html.skin-theme-clientpref-night .ib-valley .infobox-label,
html.skin-theme-clientpref-night .ib-valley .infobox-data,
html.skin-theme-clientpref-night .ib-valley th,
html.skin-theme-clientpref-night .ib-valley td {
background-color: #1e1e1e;
color: #d0d0d0;
border-color: #444;
}
html.skin-theme-clientpref-night .infobox.ib-valley a:link,
html.skin-theme-clientpref-night .infobox.ib-valley a:visited,
html.skin-theme-clientpref-night .ib-valley a:link,
html.skin-theme-clientpref-night .ib-valley a:visited {
color: #88ccff;
}
html.skin-theme-clientpref-night .infobox.ib-valley a.new:link,
html.skin-theme-clientpref-night .infobox.ib-valley a.new:visited,
html.skin-theme-clientpref-night .ib-valley a.new:link,
html.skin-theme-clientpref-night .ib-valley a.new:visited {
color: #ff7a7a;
}
@media (prefers-color-scheme: dark) {
html.skin-theme-clientpref-os .infobox.ib-valley,
html.skin-theme-clientpref-os .ib-valley {
background-color: #1e1e1e;
color: #d0d0d0;
border-color: #444;
}
html.skin-theme-clientpref-os .infobox.ib-valley *,
html.skin-theme-clientpref-os .ib-valley * {
color: inherit;
}
html.skin-theme-clientpref-os .ib-valley .infobox-above,
html.skin-theme-clientpref-os .ib-valley .infobox-title,
html.skin-theme-clientpref-os .ib-valley .infobox-header,
html.skin-theme-clientpref-os .ib-valley .infobox-subheader,
html.skin-theme-clientpref-os .ib-valley caption {
background-color: #1B223D !important;
color: #e0f0ff !important;
border-color: #3a506b !important;
}
html.skin-theme-clientpref-os .infobox.ib-valley .infobox-label,
html.skin-theme-clientpref-os .infobox.ib-valley .infobox-data,
html.skin-theme-clientpref-os .infobox.ib-valley th,
html.skin-theme-clientpref-os .infobox.ib-valley td,
html.skin-theme-clientpref-os .ib-valley .infobox-label,
html.skin-theme-clientpref-os .ib-valley .infobox-data,
html.skin-theme-clientpref-os .ib-valley th,
html.skin-theme-clientpref-os .ib-valley td {
background-color: #1e1e1e;
color: #d0d0d0;
border-color: #444;
}
html.skin-theme-clientpref-os .infobox.ib-valley a:link,
html.skin-theme-clientpref-os .infobox.ib-valley a:visited,
html.skin-theme-clientpref-os .ib-valley a:link,
html.skin-theme-clientpref-os .ib-valley a:visited {
color: #88ccff;
}
html.skin-theme-clientpref-os .infobox.ib-valley a.new:link,
html.skin-theme-clientpref-os .infobox.ib-valley a.new:visited,
html.skin-theme-clientpref-os .ib-valley a.new:link,
html.skin-theme-clientpref-os .ib-valley a.new:visited {
color: #ff7a7a;
}
}
}
@media (max-width: 640px) {
.infobox.ib-valley,
.ib-valley {
width: 100%;
float: none;
clear: both;
margin-left: 0;
margin-right: 0;
}
}