Template:Kbd/styles.css: Difference between revisions

From Rest of What I Know
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
 
(No difference)

Latest revision as of 21:27, 17 October 2024

/* {{pp-template}} */
.mw-tmpl-kbd {
	background: #EEE;
	color: var(--color-base);
}


@media screen {
    html.skin-theme-clientpref-night .mw-tmpl-kbd {
		background: #171a1d;
	}
}


@media screen and (  prefers-color-scheme: dark ) {
	html.skin-theme-clientpref-os .mw-tmpl-kbd {
		background: #171a1d;
	}
}