Module:Infobox/styles.css: Difference between revisions
Content deleted Content added
No edit summary |
No edit summary |
||
Line 1:
/* === Force infobox background to white
/* Light/default
.infobox,
.infobox-subbox,
.infobox-table {
background-color: #fff !important;
color: #
border: 1px solid #202122 !important; /* Box line color */
}
/* Night mode override:
@media screen {
html.skin-theme-clientpref-night .infobox,
html.skin-theme-clientpref-night .infobox-full-data:not(.notheme) > div:not(.notheme)[style] {
background: #fff !important;
color: #
border: 1px solid #202122 !important;
}
}
/* OS-driven dark mode override
@media screen and (prefers-color-scheme: dark) {
html.skin-theme-clientpref-os .infobox,
html.skin-theme-clientpref-os .infobox-full-data:not(.notheme) > div:not(.notheme)[style] {
background: #fff !important;
color: #
border: 1px solid #202122 !important;
}
}
| |||