From bf6c5d7feb7f08c5357389326f85ebb9441446b2 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Sun, 19 Dec 2021 17:03:16 +0100 Subject: Prettier logs with formatting and colors. --- play.html | 41 ++++++++++++++++------------------------- 1 file changed, 16 insertions(+), 25 deletions(-) (limited to 'play.html') diff --git a/play.html b/play.html index 0b9bd30..8d6a0c7 100644 --- a/play.html +++ b/play.html @@ -17,13 +17,19 @@ .grid_center { background-color: slategray; } .grid_role { background-color: gainsboro; } .card_info { background-color: silver; } -.grid_log { background-color: gainsboro; } .grid_top { background-color: silver; } .Tripolitania .grid_top.your_turn { background-color: salmon; } .United_States .grid_top.your_turn { background-color: skyblue; } .one .role_name { background-color: skyblue; } .two .role_name { background-color: salmon; } +#log { background-color: white; } +#log .st { background-color: gray; color: white; font-weight: bold; padding:3px; text-align: center; } +#log .ss { background-color: gainsboro; color: dimgray; font-weight: bold; padding:3px; text-align: center; } +#log .end { font-style: italic; } +#log .us_tip { color: blue; text-decoration: dotted underline; cursor: help; } +#log .tr_tip { color: #d00; text-decoration: dotted underline; cursor: help; } + #turn { padding: 8px 0px 8px 8px; border-bottom: 1px solid black; @@ -66,18 +72,17 @@ .card_info .card { margin: 0 auto; - width: 100px; - height: 140px; - border-radius: 5px; + width: 125px; + height: 175px; + border-radius: 6px; } -.role_info { - padding: 5px 15px; +#tr_info, #us_info { white-space: pre-line; font-family: "Source Serif SmText"; font-size: 12px; - line-height: 18px; - padding: 4px 8px; + text-align: center; + padding: 3px; } #tooltip.card { @@ -90,18 +95,6 @@ display: block; } -.log span.us_tip { - cursor: help; - text-decoration: underline dotted; - color: navy; -} - -.log span.tr_tip { - cursor: help; - text-decoration: underline dotted; - color: darkred; -} - /* MAP */ .mapwrap { @@ -340,7 +333,7 @@ body.United_States #popup div.us_always { display: block; }
30
-
-
Hand: Draw: Discard:
+
Hand: X / Draw: X / Discard: X
@@ -348,14 +341,12 @@ body.United_States #popup div.us_always { display: block; }
0
-
-
Hand: Draw: Discard:
+
Hand: X / Draw: X / Discard: X
-
-
-
+
-- cgit v1.2.3