From ab0d0d9fe5f882b8c608d07894b4d3dfe876fbe3 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Sat, 19 Jun 2021 13:19:04 +0200 Subject: 300: Various HTML and menu cleanups. Disable "toggle log" button. Hide resign menu. Add debug menu. --- about.html | 8 ++++++++ play.html | 28 ++++++++++++++-------------- 2 files changed, 22 insertions(+), 14 deletions(-) diff --git a/about.html b/about.html index f87d2e3..3e9110a 100644 --- a/about.html +++ b/about.html @@ -4,9 +4,17 @@ from the Ionian Revolt in 499 BCE to the Peace of Callias around 449 BCE. One player leads the Greek army, assembled around Athens and Sparta, and the other leads the Persian army. +
+

Designer: Yasushi Nakaguro

© 2018 Bonsai Games & © 2020 Nuts! Publishing + +

diff --git a/play.html b/play.html index be0a8f9..81db5f9 100644 --- a/play.html +++ b/play.html @@ -16,8 +16,8 @@ .grid_role { background-color: gainsboro; } .grid_log { background-color: gainsboro; } .grid_top { background-color: silver; } -.grid_top.Persia.your_turn { background-color: skyblue; } -.grid_top.Greece.your_turn { background-color: salmon; } +.Persia .grid_top.your_turn { background-color: skyblue; } +.Greece .grid_top.your_turn { background-color: salmon; } .grid_top.disconnected { background-color: red; } .role_info { background-color: silver; } .one .role_name { background-color: salmon; } @@ -78,11 +78,10 @@ } #tooltip.card { - position: absolute; + position: fixed; z-index: 100; right: 270px; top: 60px; - margin-left: -250px; width: 375px; height: 525px; } @@ -118,6 +117,8 @@ height: 878px; background-image: url("map.jpg"); background-size: cover; + box-shadow: 0px 1px 10px rgba(0,0,0,0.5); + margin: 0 auto; } .map.hide_markers > div { @@ -248,17 +249,16 @@ - - - - - - - + + + + + + + -
Connecting...
@@ -276,12 +276,12 @@
-
Greece ($USER)
+
Greece – $USER
0 cards in hand
-
Persia ($USER)
+
Persia – $USER
0 cards in hand
-- cgit v1.2.3