Template:Infobox dos2 character test/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-dos2-character-test { border-spacing: 2px 5px; } .infobox-label { vertical-align: top; } .ib-dos2-character-test .infobox-above, .ib-dos2-character-test .infobox-header { text-align:center; background: #000000; } /* light background for transp..." |
No edit summary |
||
| Line 1: | Line 1: | ||
. | .infoboxtest{ | ||
float:right; | float:right; | ||
text-align: left; | text-align: left; | ||
| Line 9: | Line 9: | ||
} | } | ||
. | .infoboxtest-image { | ||
text-align:center; | text-align:center; | ||
object-fit: cover; | object-fit: cover; | ||
| Line 18: | Line 18: | ||
} | } | ||
. | .infoboxtest-label { | ||
vertical-align: top; | vertical-align: top; | ||
} | } | ||
.ib-dos2-character-test . | .ib-dos2-character-test .infoboxtest-above, | ||
.ib-dos2-character-test . | .ib-dos2-character-test .infoboxtest-header { | ||
text-align:center; | text-align:center; | ||
background: #000000; | background: #000000; | ||
| Line 29: | Line 29: | ||
/* light background for transparent images */ | /* light background for transparent images */ | ||
.ib-dos2-character-test . | .ib-dos2-character-test .infoboxtest-image img { | ||
background-color: transparent; | background-color: transparent; | ||
} | } | ||
@media screen { | @media screen { | ||
html.skin-theme-clientpref-night .ib-dos2-character-test . | html.skin-theme-clientpref-night .ib-dos2-character-test .infoboxtest-above, | ||
html.skin-theme-clientpref-night .ib-dos2-character-test . | html.skin-theme-clientpref-night .ib-dos2-character-test .infoboxtest-header { | ||
background: hsl(240, 6%, 20%); | background: hsl(240, 6%, 20%); | ||
color: inherit; | color: inherit; | ||
| Line 42: | Line 42: | ||
@media screen and (prefers-color-scheme: dark) { | @media screen and (prefers-color-scheme: dark) { | ||
html.skin-theme-clientpref-os .ib-dos2-character-test . | html.skin-theme-clientpref-os .ib-dos2-character-test .infoboxtest-above, | ||
html.skin-theme-clientpref-os .ib-dos2-character-test . | html.skin-theme-clientpref-os .ib-dos2-character-test .infoboxtest-header { | ||
background: hsl(240, 6%, 20%); | background: hsl(240, 6%, 20%); | ||
color: inherit; | color: inherit; | ||
} | } | ||
} | } | ||
Revision as of 19:03, 17 March 2026
.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;
}
}