More actions
Created page with ".infobox{ float:right; text-align: left; background-color: #001D3D; border-spacing: 5px; border: 1px solid #72777d; margin: 0 0 1em 1em; } .infobox-image { text-align:center; object-fit: cover; } .ib-dd-character { border-spacing: 2px 5px; } .infobox-label { vertical-align: top; } .ib-dd-character .infobox-above, .ib-dd-character .infobox-header { text-align:center; background: #000000; } →light background for transparent images: .ib-dd-character .i..." |
No edit summary |
||
| Line 6: | Line 6: | ||
border: 1px solid #72777d; | border: 1px solid #72777d; | ||
margin: 0 0 1em 1em; | margin: 0 0 1em 1em; | ||
width: 350px; | |||
} | } | ||
Latest revision as of 00:50, 24 April 2025
.infobox{
float:right;
text-align: left;
background-color: #001D3D;
border-spacing: 5px;
border: 1px solid #72777d;
margin: 0 0 1em 1em;
width: 350px;
}
.infobox-image {
text-align:center;
object-fit: cover;
}
.ib-dd-character {
border-spacing: 2px 5px;
}
.infobox-label {
vertical-align: top;
}
.ib-dd-character .infobox-above,
.ib-dd-character .infobox-header {
text-align:center;
background: #000000;
}
/* light background for transparent images */
.ib-dd-character .infobox-image img {
background-color: transparent;
}
@media screen {
html.skin-theme-clientpref-night .ib-dd-character .infobox-above,
html.skin-theme-clientpref-night .ib-dd-character .infobox-header {
background: hsl(240, 6%, 20%);
color: inherit;
}
}
@media screen and (prefers-color-scheme: dark) {
html.skin-theme-clientpref-os .ib-dd-character .infobox-above,
html.skin-theme-clientpref-os .ib-dd-character .infobox-header {
background: hsl(240, 6%, 20%);
color: inherit;
}
}