From 3dec7b3400c1e75027881a65620c5c908365a36c Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Sun, 31 Jul 2022 00:37:17 +0200 Subject: Color tables to match. --- play.html | 57 ++++++++++++++++++++++++++++++++++++++++++++++----------- 1 file changed, 46 insertions(+), 11 deletions(-) (limited to 'play.html') diff --git a/play.html b/play.html index 40b45a0..fd7f607 100644 --- a/play.html +++ b/play.html @@ -189,10 +189,14 @@ header.your_turn { background-color: orange; } table { border-collapse: collapse; font-size: 12px; user-select: none; } td.blank { background-color: transparent; border: none } -td,th { border: 1px solid black; text-align: center; padding: 2px 4px; } -td { background-color: white; min-width: 20px; } +td,th { border: 1px solid #222; text-align: center; padding: 2px 4px; } +th { background-color: #222; color: #e6d9c1; } +td { background-color: #e6d9c1; min-width: 20px; } +table .required_target { background-color: #b8d9ca } +table .must_fire_first { background-color: #f7dc68 } +table .only_unsupported { background-color: #f0b0af } +td span { padding: 0 4px } td img { vertical-align: middle } -th { background-color: gainsboro; } /* MAP */ @@ -304,6 +308,17 @@ svg .hex.action.forced_march { stroke-width: 2; } +svg .hex.exit { + fill: black; + fill-opacity: 0.125; +} + +svg .hex.refit.action { + visibility: hidden; + stroke: lightskyblue; + stroke-width: 2; +} + svg .hex.from { fill: gold; fill-opacity: 0.2; @@ -717,21 +732,41 @@ svg .hex.tip { + + + +
TARGET UNIT -
+
FIRING UNIT - (SF)DFSF[TF] -
SF(SF)SF[TF] -
DFSFSF[TF] -
SF*DF*DF*SF* + +(SF) +DF +SF +[TF] +
+SF +(SF) +SF +[TF] +
+DF +SF +SF +[TF] +
+SF* +DF* +DF* +SF*
-- cgit v1.2.3