From c41b9834c835555c8a595ae88af630da2e357537 Mon Sep 17 00:00:00 2001 From: iainp5 Date: Tue, 10 Dec 2024 20:27:19 +0000 Subject: Add icons --- play.css | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'play.css') diff --git a/play.css b/play.css index 12dc196..0ad71f5 100644 --- a/play.css +++ b/play.css @@ -72,6 +72,23 @@ body.Communist header.your_turn { background-color: hsl(355, 70%, 75%); } #log .card_name:hover { text-decoration: underline; } #log .space_tip:hover { cursor: pointer; text-decoration: underline; } +#log .icon { + display: inline-block; + vertical-align: -2px; + width: 12px; + height: 12px; + box-shadow: none; + border: none; + background-size: contain; + background-position: center; + background-repeat: no-repeat; +} + +#log .com_nc { background-image: url(images/SVd_blank.gif);} +#log .com_c {background-image: url(images/SV_blank.gif);} +#log .dem_nc { background-image: url(images/USd_blank.gif);} +#log .dem_c {background-image: url(images/favicon_dem.svg);} + /* MAP */ #mapwrap { -- cgit v1.2.3