Module:WikiProject banner/sandbox/styles.css: Difference between revisions

Content deleted Content added
add css from module
test out dark mode support
Line 113:
text-align: center;
white-space: nowrap;
}
 
 
html.skin-theme-clientpref-night .wpbs .wpb .wpb-main,
html.skin-theme-clientpref-night .wpbs .wpb-header {
/* same hue/saturation as light */
background-color: #302f2d;
}
html.skin-theme-clientpref-night .wpbs .banner-shell-inner {
/* matching dark color from Module:Message box/tmbox.css */
background-color: #2e2505;
}
@media (prefers-color-scheme: dark) {
html.skin-theme-clientpref-os .wpbs .wpb .wpb-main,
html.skin-theme-clientpref-os .wpbs .wpb-header {
/* same hue/saturation as light */
background-color: #302f2d;
}
html.skin-theme-clientpref-os .wpbs .banner-shell-inner {
/* matching dark color from Module:Message box/tmbox.css */
background-color: #2e2505;
}
}