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