From bf3242f00c38a9958866bffde4cde6b7e6829f19 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Sat, 12 Jun 2021 16:36:07 +0200 Subject: tripoli: Remove "Harbor" suffix from city/harbor spaces. --- data.js | 18 +-- play.html | 52 ++++---- rules.js | 450 ++++++++++++++++++++++++++++++++------------------------------ ui.js | 2 +- 4 files changed, 271 insertions(+), 251 deletions(-) diff --git a/data.js b/data.js index cd53eb0..4efc819 100644 --- a/data.js +++ b/data.js @@ -1,19 +1,19 @@ const SPACES = [ "United States Supply", "Tripolitan Supply", - "Alexandria Harbor", - "Algiers Harbor", + "Alexandria", + "Algiers", "Algiers Patrol Zone", - "Benghazi Harbor", - "Derne Harbor", - "Gibraltar Harbor", + "Benghazi", + "Derne", + "Gibraltar", "Gibraltar Patrol Zone", - "Malta Harbor", - "Tangier Harbor", + "Malta", + "Tangier", "Tangier Patrol Zone", - "Tripoli Harbor", + "Tripoli", "Tripoli Patrol Zone", - "Tunis Harbor", + "Tunis", "Tunis Patrol Zone", "1801", "1802", diff --git a/play.html b/play.html index c8e4a7f..ce8e6ac 100644 --- a/play.html +++ b/play.html @@ -35,11 +35,21 @@ font-family: "Source Serif SmText"; } +/* XXX: Work around z-stacking drawing glitch in Firefox 90 on Linux */ +#status { min-height: 1px; } +#status:empty { background-color: slategray; } + .hand { min-height: 300px; justify-content: left; } +.hand_separator { + color: gainsboro; + border-bottom: 2px dotted gainsboro; + text-align: center; +} + .card { width: 250px; height: 350px; @@ -57,13 +67,6 @@ border-radius: 5px; } -.card_separator { - margin-top: 130px; - user-select: none; - font-size: 48px; - color: aliceblue; -} - .card_info .card:hover { transform: scale(2) translateY(-30px); } @@ -339,15 +342,15 @@ - - - - - - - - - + + + + + + + + + @@ -423,13 +426,7 @@ -
-
-
-
-
-
-
+
@@ -479,6 +476,15 @@
+
+
+
+
+
+
+
+
+