More actions
testing background colour styles |
test |
||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
< | <style name="info_style"> | ||
@media screen { | @media screen { | ||
html.skin-theme-clientpref-night .infobox { background-color: black; color: white; } | html.skin-theme-clientpref-night .infobox { background-color: black; color: white; } | ||
Line 9: | Line 8: | ||
} | } | ||
</style> | </style> | ||
<templatestyles src="info_style"/> | |||
</noinclude> | </noinclude> | ||
Revision as of 03:08, 27 March 2025
<style name="info_style">
@media screen {
html.skin-theme-clientpref-night .infobox { background-color: black; color: white; }
} @media screen and (prefers-color-scheme: dark) {
html.skin-theme-clientpref-os .infobox { background-color: black; color: white; }
}
</style> Page Template:Info style has no content.
[[File:|250px]] | |
Election | [[{{{election}}} presidential election|{{{election}}}]] |
Presidential candidate | [[{{{president}}}]] |
Vice presidential candidate | [[{{{vice_president}}}]] |
Party | [[{{{party}}}]] |
Votes | {{{votes}}} |
Percentage | {{{percentage}}}% |
Result | {{{result}}} |