From e5975714d50be01485499822543e1c1fb5dad1f3 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Sat, 6 Aug 2022 13:39:41 +0200 Subject: Improve battle dialogs. --- play.html | 28 ++++++++++++++++++++++++---- 1 file changed, 24 insertions(+), 4 deletions(-) (limited to 'play.html') diff --git a/play.html b/play.html index dd24f84..8866d36 100644 --- a/play.html +++ b/play.html @@ -148,6 +148,7 @@ header.your_turn { background-color: orange; } #pursuit { background-color: #d6c4a9; background: url(texture_mountain.png); } #pursuit_header { background-color: brown; color: gold } #pursuit_hits { background-color: #c4ab8b; } +#pursuit_buttons { background-color: #c4ab8b; } #pursuit_message { background-color: #d6c4a9; } #pursuit { @@ -185,6 +186,16 @@ header.your_turn { background-color: orange; } border-top: 1px solid black; } +#pursuit_buttons { + padding: 12px; + min-height: 28px; + display: flex; + flex-wrap: wrap; + justify-content: center; + gap: 12px; + border-top: 1px solid black; +} + /* TABLES */ table { border-collapse: collapse; font-size: 12px; user-select: none; } @@ -453,6 +464,10 @@ svg .side.allied_supply.axis_supply { box-shadow: 0 0 0 2px white; } +.unit.action.hit { + box-shadow: 0 0 0 2px black, 0 0 2px 2px black; +} + .unit.selected { box-shadow: 0 0 0 2px yellow; } @@ -607,10 +622,11 @@ svg .side.allied_supply.axis_supply {
- - - - + + + + +
@@ -620,6 +636,10 @@ svg .side.allied_supply.axis_supply {
0 hits
+
+ + +
-- cgit v1.2.3