Template:Kbd/styles.css: Difference between revisions

From Warbird Philosophy
Jump to navigation Jump to search
m 1 revision imported: Content from Template:Location map+ on Wikipedia
m 1 revision imported: Content from Template:Location map+ on Wikipedia
 
(One intermediate revision by one other user not shown)
Line 5: Line 5:
}
}


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


@media ( 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: #171a1d;
}
}
}
}

Latest revision as of 04:37, 3 March 2025

/* {{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;
	}
}