Template:Kbd/styles.css

< Template:Kbd
Revision as of 18:11, 8 August 2024 by wikipedia>Jon (WMF) (Fixes phab:T369874. Please see talk page and do not revert without discussion. See also meta:User:Jon_(WMF)/Edit_for_dark_mode_support)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
/* {{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;
	}
}