Template:Infobox DOS2 talent/styles.css: Difference between revisions
Template page
More actions
No edit summary Tag: Reverted |
No edit summary Tag: Manual revert |
||
| Line 12: | Line 12: | ||
object-fit: cover; | object-fit: cover; | ||
} | } | ||
.ib- | .ib-dos-skill { | ||
border-spacing: 2px 5px; | border-spacing: 2px 5px; | ||
} | } | ||
| Line 18: | Line 18: | ||
vertical-align: top; | vertical-align: top; | ||
} | } | ||
.ib- | .ib-dos-skill .infobox-above, | ||
.ib- | .ib-dos-skill .infobox-header { | ||
text-align: center; | text-align: center; | ||
background-color: #DEDEE2; | background-color: #DEDEE2; | ||
| Line 25: | Line 25: | ||
/* light background for transparent images */ | /* light background for transparent images */ | ||
.ib- | .ib-dos-skill .infobox-image img { | ||
background-color: transparent; | background-color: transparent; | ||
} | } | ||
Latest revision as of 13:41, 4 February 2026
.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-dos-skill {
border-spacing: 2px 5px;
}
.infobox-label {
vertical-align: top;
}
.ib-dos-skill .infobox-above,
.ib-dos-skill .infobox-header {
text-align: center;
background-color: #DEDEE2;
}
/* light background for transparent images */
.ib-dos-skill .infobox-image img {
background-color: transparent;
}
@media screen {
html.skin-theme-clientpref-night .ib-dos-skill .infobox-above,
html.skin-theme-clientpref-night .ib-dos-skill .infobox-header {
background: hsl(240, 6%, 20%);
color: inherit;
}
}
@media screen and (prefers-color-scheme: dark) {
html.skin-theme-clientpref-os .ib-dos-skill .infobox-above,
html.skin-theme-clientpref-os .ib-dos-skill .infobox-header {
background: hsl(240, 6%, 20%);
color: inherit;
}
}