Template:Infobox baseball biography/styles.css: Difference between revisions
Appearance
Content deleted Content added
poke |
Fixes phab:T369874. Please see talk page and do not revert without discussion (and good reason). See also meta:User:Jon_(WMF)/Edit_for_dark_mode_support |
||
(10 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
/* {{pp|small=y}} */ |
|||
.ib-baseball-bio { |
.ib-baseball-bio { |
||
border-collapse: collapse; |
border-collapse: collapse; |
||
Line 12: | Line 13: | ||
.ib-baseball-bio .borderless th { |
.ib-baseball-bio .borderless th { |
||
border: 0; |
border: 0; |
||
⚫ | |||
⚫ | |||
font-size: larger; |
|||
} |
} |
||
Line 42: | Line 39: | ||
.ib-baseball-bio-member > th > a { |
.ib-baseball-bio-member > th > a { |
||
color: white; |
color: white; |
||
⚫ | |||
.ib-baseball-bio-former .infobox-full-data, |
|||
⚫ | |||
.ib-baseball-bio-highlights .infobox-full-data { |
|||
text-align: left; |
|||
} |
|||
.ib-baseball-bio-module { |
|||
width: 100%; |
|||
background-color: var( --background-color-base, #f9f9f9 ); |
|||
} |
|||
/* night theme */ |
|||
@media screen { |
|||
html.skin-theme-clientpref-night .ib-baseball-bio-member-header { |
|||
background: #3d0001; |
|||
} |
|||
html.skin-theme-clientpref-night .ib-baseball-bio-member[style*="background"] { |
|||
background: #0c0a6b !important; |
|||
} |
|||
} |
|||
@media screen and ( prefers-color-scheme: dark) { |
|||
html.skin-theme-clientpref-os .ib-baseball-bio-member-header { |
|||
background: #3d0001; |
|||
} |
|||
html.skin-theme-clientpref-os .ib-baseball-bio-member[style*="background"] { |
|||
background: #0c0a6b !important; |
|||
} |
|||
} |
} |
Latest revision as of 18:03, 8 August 2024
/* {{pp|small=y}} */
.ib-baseball-bio {
border-collapse: collapse;
}
/* TODO split definitions to appropriate class names when live from HTML element */
.ib-baseball-bio td,
.ib-baseball-bio th {
border: 1px solid #a2a9b1;
}
.ib-baseball-bio .borderless td,
.ib-baseball-bio .borderless th {
border: 0;
}
.ib-baseball-bio .infobox-below {
background-color: #eee;
}
.ib-baseball-bio-batsthrows {
display: flex;
text-align: center;
}
.ib-baseball-bio-batsthrows > div {
width: 50%;
}
.ib-baseball-bio-batsthrows div:first-child {
border-right: 1px solid #a2a9b1;
}
.ib-baseball-bio-member-header {
background-color: #9A1C1F;
}
.ib-baseball-bio-member-header a,
.ib-baseball-bio-member > th > a {
color: white;
}
.ib-baseball-bio-former .infobox-full-data,
.ib-baseball-bio-teams .infobox-full-data,
.ib-baseball-bio-highlights .infobox-full-data {
text-align: left;
}
.ib-baseball-bio-module {
width: 100%;
background-color: var( --background-color-base, #f9f9f9 );
}
/* night theme */
@media screen {
html.skin-theme-clientpref-night .ib-baseball-bio-member-header {
background: #3d0001;
}
html.skin-theme-clientpref-night .ib-baseball-bio-member[style*="background"] {
background: #0c0a6b !important;
}
}
@media screen and ( prefers-color-scheme: dark) {
html.skin-theme-clientpref-os .ib-baseball-bio-member-header {
background: #3d0001;
}
html.skin-theme-clientpref-os .ib-baseball-bio-member[style*="background"] {
background: #0c0a6b !important;
}
}