styles.css: Difference between revisions

Fixes phab:T369874. Please see talk page and do not revert without discussion. See also meta:User:Jon_(WMF)/Edit_for_dark_mode_support
 
m 1 revision imported
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
/* {{pp-template}} */
/* {{pp-template}} */
.mw-tmpl-kbd {
.mw-tmpl-kbd {
background: #EEE;
background: #eaecf0;
color: var(--color-base);
color: var(--color-base);
}
}
Line 8: Line 8:
@media screen {
@media screen {
     html.skin-theme-clientpref-night .mw-tmpl-kbd {
     html.skin-theme-clientpref-night .mw-tmpl-kbd {
background: #171a1d;
background: #202122;
}
}
}
}
Line 15: Line 15:
@media screen and (  prefers-color-scheme: dark ) {
@media screen and (  prefers-color-scheme: dark ) {
html.skin-theme-clientpref-os .mw-tmpl-kbd {
html.skin-theme-clientpref-os .mw-tmpl-kbd {
background: #171a1d;
background: #202122;
}
}
}
}