From e73f785e5353c5b7b0fc437c8ce2cbbc82adbd1e Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Thu, 19 Jan 2023 16:14:26 +0100 Subject: Garrison image. --- play.html | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) (limited to 'play.html') diff --git a/play.html b/play.html index a11e38e..4096add 100644 --- a/play.html +++ b/play.html @@ -206,24 +206,20 @@ body.Teutons #plan_actions .russian { display: none } } #garrison { - background-color: #d1c07e; - border-color: #f2e19d #b1a05f #b1a05f #f2e19d; - box-shadow: 0 0 0 1px #584800, 1px 2px 4px #0008; - border-radius: 12px; - border-width: 2px; - border-style: solid; -} - -#garrison { + background-repeat: no-repeat; + background-position: center; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; width: 376px; - height: 48px; + height: 80px; gap: 2px; } +.attacker #garrison { background-image: url(images/garrison_attacker.svg); } +.defender #garrison { background-image: url(images/garrison_defender.svg); } + #garrison:empty { display: none } -- cgit v1.2.3