summaryrefslogtreecommitdiff
path: root/play.html
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-01-19 16:14:26 +0100
committerTor Andersson <tor@ccxvii.net>2023-02-18 13:02:39 +0100
commite73f785e5353c5b7b0fc437c8ce2cbbc82adbd1e (patch)
tree7d1763492c6d2c60e3fc71cd75b9c6f1f9ad0328 /play.html
parent2251bab21f032ef8b3f3a1c7d2d977b163da6161 (diff)
downloadnevsky-e73f785e5353c5b7b0fc437c8ce2cbbc82adbd1e.tar.gz
Garrison image.
Diffstat (limited to 'play.html')
-rw-r--r--play.html16
1 files changed, 6 insertions, 10 deletions
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
}