Template:Infobox dos2 character test/styles.css
Template page
More actions
.infoboxtest{
float:right;
text-align: left;
background-color: #001D3D;
border-spacing: 5px;
border: 1px solid #72777d;
margin: 0 0 1em 1em;
width:350px;
}
.infoboxtest-image {
text-align:center;
object-fit: cover;
}
.ib-dos2-character-test {
border-spacing: 2px 5px;
}
.infoboxtest-label {
vertical-align: top;
}
.ib-dos2-character-test .infoboxtest-above,
.ib-dos2-character-test .infoboxtest-header {
text-align:center;
background: #000000;
}
/* light background for transparent images */
.ib-dos2-character-test .infoboxtest-image img {
background-color: transparent;
}
@media screen {
html.skin-theme-clientpref-night .ib-dos2-character-test .infoboxtest-above,
html.skin-theme-clientpref-night .ib-dos2-character-test .infoboxtest-header {
background: hsl(240, 6%, 20%);
color: inherit;
}
}
@media screen and (prefers-color-scheme: dark) {
html.skin-theme-clientpref-os .ib-dos2-character-test .infoboxtest-above,
html.skin-theme-clientpref-os .ib-dos2-character-test .infoboxtest-header {
background: hsl(240, 6%, 20%);
color: inherit;
}
}