More actions
Final margin size: 40px |
testing background colour styles |
||
Line 1: | Line 1: | ||
<noinclude> | |||
<templatestyles src="Template:Example/styles.css" /> | |||
<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> | |||
</noinclude> | |||
{| class="infobox" style="width: 22em; border: 1px solid #ddd; padding: 10px; margin: 40px; background-color: #f9f9f9; float: right;" | {| class="infobox" style="width: 22em; border: 1px solid #ddd; padding: 10px; margin: 40px; background-color: #f9f9f9; float: right;" | ||
|+ <big>'''{{{header}}}'''</big> | |+ <big>'''{{{header}}}'''</big> |
Revision as of 02:58, 27 March 2025
Page Template:Example/styles.css has no content. <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>
[[File:|250px]] | |
Election | [[{{{election}}} presidential election|{{{election}}}]] |
Presidential candidate | [[{{{president}}}]] |
Vice presidential candidate | [[{{{vice_president}}}]] |
Party | [[{{{party}}}]] |
Votes | {{{votes}}} |
Percentage | {{{percentage}}}% |
Result | {{{result}}} |