summaryrefslogtreecommitdiff
path: root/play.html
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2022-12-22 17:27:19 +0100
committerTor Andersson <tor@ccxvii.net>2023-02-18 13:02:38 +0100
commitdb19134bda62ae02105d105cb381f11371e05354 (patch)
tree59676429c4383259d79e53b7893e7b54b5dc71bc /play.html
parent469118ad0f0d260b411ad5c57cf5297d90f2af75 (diff)
downloadnevsky-db19134bda62ae02105d105cb381f11371e05354.tar.gz
Relief sally.
Diffstat (limited to 'play.html')
-rw-r--r--play.html74
1 files changed, 44 insertions, 30 deletions
diff --git a/play.html b/play.html
index 6ce99c3..0a87045 100644
--- a/play.html
+++ b/play.html
@@ -146,31 +146,37 @@ body.Teutons #plan_actions .russian { display: none }
#battle.defender { background-image: url(images/mat_battle_defender.png); }
#battle.attacker { background-image: url(images/mat_battle_attacker.png); }
+#battle.defender #array_garrison { top: 172px; left: 8px; }
#battle.defender #array_attacker_reserves { top: 4px; left: 8px; }
-#battle.defender #array_attacker_left { top: 96px; left: 32px; }
-#battle.defender #array_attacker_center { top: 96px; left: 162px; }
-#battle.defender #array_attacker_right { top: 96px; right: 32px; }
-#battle.defender #array_defender_garrison { top: 172px; left: 8px; }
-#battle.defender #array_defender_left { top: 220px; left: 32px; }
-#battle.defender #array_defender_center { top: 220px; left: 162px; }
-#battle.defender #array_defender_right { top: 220px; right: 32px; }
-#battle.defender #array_sally_left { bottom: 60px; left: 4px; }
-#battle.defender #array_sally_center { bottom: 60px; right: 200px; }
-#battle.defender #array_sally_right { bottom: 60px; right: 4px; }
#battle.defender #array_defender_reserves { bottom: 4px; left: 8px; }
-
+#battle.defender #array_attacker_x { top: 96px; left: 32px; }
+#battle.defender #array_attacker_c { top: 96px; left: 162px; }
+#battle.defender #array_attacker_y { top: 96px; right: 32px; }
+#battle.defender #array_defender_x { top: 220px; left: 32px; }
+#battle.defender #array_defender_c { top: 220px; left: 162px; }
+#battle.defender #array_defender_y { top: 220px; right: 32px; }
+#battle.defender #array_reserve_x { bottom: 60px; left: 4px; }
+#battle.defender #array_reserve_c { bottom: 60px; right: 200px; }
+#battle.defender #array_reserve_y { bottom: 60px; right: 4px; }
+#battle.defender #array_sally_x { bottom: 48px; left: 64px; }
+#battle.defender #array_sally_c { bottom: 48px; left: 200px; }
+#battle.defender #array_sally_y { bottom: 48px; right: 64px; }
+
+#battle.attacker #array_garrison { bottom: 172px; left: 8px; }
#battle.attacker #array_attacker_reserves { bottom: 4px; left: 8px; }
-#battle.attacker #array_attacker_left { bottom: 96px; right: 32px; }
-#battle.attacker #array_attacker_center { bottom: 96px; left: 162px; }
-#battle.attacker #array_attacker_right { bottom: 96px; left: 32px; }
-#battle.attacker #array_defender_garrison { bottom: 172px; left: 8px; }
-#battle.attacker #array_defender_left { bottom: 220px; right: 32px; }
-#battle.attacker #array_defender_center { bottom: 220px; left: 162px; }
-#battle.attacker #array_defender_right { bottom: 220px; left: 32px; }
-#battle.attacker #array_sally_left { top: 60px; right: 4px; }
-#battle.attacker #array_sally_center { top: 60px; left: 200px; }
-#battle.attacker #array_sally_right { top: 60px; left: 4px; }
#battle.attacker #array_defender_reserves { top: 4px; left: 8px; }
+#battle.attacker #array_attacker_x { bottom: 96px; right: 32px; }
+#battle.attacker #array_attacker_c { bottom: 96px; left: 162px; }
+#battle.attacker #array_attacker_y { bottom: 96px; left: 32px; }
+#battle.attacker #array_defender_x { bottom: 220px; right: 32px; }
+#battle.attacker #array_defender_c { bottom: 220px; left: 162px; }
+#battle.attacker #array_defender_y { bottom: 220px; left: 32px; }
+#battle.attacker #array_reserve_x { top: 60px; right: 4px; }
+#battle.attacker #array_reserve_c { top: 60px; left: 200px; }
+#battle.attacker #array_reserve_y { top: 60px; left: 4px; }
+#battle.attacker #array_sally_x { top: 48px; right: 64px; }
+#battle.attacker #array_sally_c { top: 48px; right: 200px; }
+#battle.attacker #array_sally_y { top: 48px; left: 64px; }
#battle > div {
position: absolute;
@@ -180,6 +186,11 @@ body.Teutons #plan_actions .russian { display: none }
align-items: center;
}
+#battle.defender #array_attacker_reserves { justify-content: end; }
+#battle.defender #array_defender_reserves { justify-content: start; }
+#battle.attacker #array_attacker_reserves { justify-content: start; }
+#battle.attacker #array_defender_reserves { justify-content: end; }
+
#battle .reserves {
width: 356px;
height: 48px;
@@ -1231,15 +1242,18 @@ body.shift .mustered_vassals {
<div class="garrison" id="array_defender_garrison"></div>
<div class="reserves" id="array_attacker_reserves"></div>
<div class="reserves" id="array_defender_reserves"></div>
-<div class="array" id="array_attacker_right"></div>
-<div class="array" id="array_attacker_center"></div>
-<div class="array" id="array_attacker_left"></div>
-<div class="array" id="array_defender_left"></div>
-<div class="array" id="array_defender_center"></div>
-<div class="array" id="array_defender_right"></div>
-<div class="array" id="array_sally_left"></div>
-<div class="array" id="array_sally_center"></div>
-<div class="array" id="array_sally_right"></div>
+<div class="array" id="array_attacker_x"></div>
+<div class="array" id="array_attacker_c"></div>
+<div class="array" id="array_attacker_y"></div>
+<div class="array" id="array_defender_x"></div>
+<div class="array" id="array_defender_c"></div>
+<div class="array" id="array_defender_y"></div>
+<div class="array" id="array_reserve_x"></div>
+<div class="array" id="array_reserve_c"></div>
+<div class="array" id="array_reserve_y"></div>
+<div class="array" id="array_sally_x"></div>
+<div class="array" id="array_sally_c"></div>
+<div class="array" id="array_sally_y"></div>
</div>
</div>