m 1 revision imported from wikipedia:Template:Infobox_character/styles.css |
No edit summary Tags: Mobile edit Mobile web edit |
||
Line 9: | Line 9: | ||
} | } | ||
/* light background for transparent images | /* light background for transparent images | ||
.ib-character .infobox-image img { | .ib-character .infobox-image img { | ||
background-color: #f8f9fa; | background-color: #f8f9fa; | ||
} | } */ | ||
@media screen { | @media screen { |
Latest revision as of 22:03, 19 December 2024
/* {{pp-template}} */
.ib-character {
border-spacing: 2px 5px;
}
.ib-character .infobox-above,
.ib-character .infobox-header {
background-color: #DEDEE2;
}
/* light background for transparent images
.ib-character .infobox-image img {
background-color: #f8f9fa;
} */
@media screen {
html.skin-theme-clientpref-night .ib-character .infobox-above,
html.skin-theme-clientpref-night .ib-character .infobox-header {
background: hsl(240, 6%, 20%);
color: inherit;
}
}
@media screen and (prefers-color-scheme: dark) {
html.skin-theme-clientpref-os .ib-character .infobox-above,
html.skin-theme-clientpref-os .ib-character .infobox-header {
background: hsl(240, 6%, 20%);
color: inherit;
}
}