enwiki>Planettop922025年9月18日 (四) 10:32的版本 (→top:moved generic class selectors up to show semantic ordering. and added white background for red)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
/* {{pp-template}} */.blacksuits,.clubs,.spades{color:black;}.redsuits,.diamonds,.hearts{color:red;}/* Dark mode fixes - padding prevents black text touching background */@mediascreen{html.skin-theme-clientpref-night.blacksuits,html.skin-theme-clientpref-night.clubs,html.skin-theme-clientpref-night.spades,html.skin-theme-clientpref-night.playingcards{padding-left:0.2em;padding-right:0.2em;border-radius:0.2em;background:white;color:black;}html.skin-theme-clientpref-night.redsuits,html.skin-theme-clientpref-night.diamonds,html.skin-theme-clientpref-night.hearts{padding-left:0.2em;padding-right:0.2em;border-radius:0.2em;background:white;color:red;}}@mediascreenand(prefers-color-scheme:dark){html.skin-theme-clientpref-os.blacksuits,html.skin-theme-clientpref-os.clubs,html.skin-theme-clientpref-os.spades,html.skin-theme-clientpref-os.playingcards{padding-left:0.2em;padding-right:0.2em;border-radius:0.2em;background:white;color:black;}html.skin-theme-clientpref-os.redsuits,html.skin-theme-clientpref-os.diamonds,html.skin-theme-clientpref-os.hearts{padding-left:0.2em;padding-right:0.2em;border-radius:0.2em;background:white;color:red;}}