From a16e24c705fd1f98caf4332b734ff9d616705f4f Mon Sep 17 00:00:00 2001 From: iainp5 Date: Sat, 21 Sep 2024 19:13:16 +0100 Subject: Updates to new visuals --- play.css | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'play.css') diff --git a/play.css b/play.css index f70fc16..b92274d 100644 --- a/play.css +++ b/play.css @@ -4,12 +4,12 @@ header.your_turn { background-color: orange; } #role_Dem { background-color: hsl(210,30%,80%); } #role_Com { background-color: hsl(35,40%,80%); } #turn_info { background-color: white; } -.aside_events { +/*.aside_events { font-family: "Source Sans"; font-style: normal; font-size: 16px; line-height: 1.5; -} +}*/ #log { background-color: whitesmoke; } #log .h1 { font-weight: bold; padding-top:2px; padding-bottom:2px; text-align: center; } @@ -115,7 +115,7 @@ header.your_turn { background-color: orange; } padding: 3px 1em; } -#events_panel, #played_card_panel { +#events_panel, #played_card_panel, #table_panel { min-width: 200px; width: auto; display: inline-block; @@ -123,6 +123,10 @@ header.your_turn { background-color: orange; } border-radius: 5px; } +#events { + display: flex; +} + #discard_panel { min-width: 200px; width: auto; @@ -420,6 +424,7 @@ left: 660px} .event-marker.aside { border: solid black 1.5px; + margin: 3px; } #turn_info { -- cgit v1.2.3 From a1e9567b3b4c2b2326abefae47c99ba874ee2c26 Mon Sep 17 00:00:00 2001 From: iainp5 Date: Sat, 21 Sep 2024 19:59:10 +0100 Subject: Updates to styling --- play.css | 21 +-------------------- rules.js | 6 +++++- 2 files changed, 6 insertions(+), 21 deletions(-) (limited to 'play.css') diff --git a/play.css b/play.css index b92274d..37cfbee 100644 --- a/play.css +++ b/play.css @@ -425,6 +425,7 @@ left: 660px} .event-marker.aside { border: solid black 1.5px; margin: 3px; + position: relative; } #turn_info { @@ -444,27 +445,11 @@ left: 660px} } -#eco_glasnost { - position: relative; - /*top: 1500px; - left: 1050px;*/ -} - -#helsinki_final_act { - position: relative; - display: flex; -} #solidarity_legalised { top: 216px; left: 612px; } -#st_nicholas_church { - position: relative; - /*top: 181px; - left: 320px;*/ -} - #systematization { height: 65px; width: 65px; @@ -480,10 +465,6 @@ left: 660px} left: 170px; } -#we_are_the_people { - position: relative; -} - /* =========== CARDS ================= */ /* diff --git a/rules.js b/rules.js index 1265b8d..ed69ff5 100644 --- a/rules.js +++ b/rules.js @@ -873,7 +873,11 @@ states.tst_goddess = { log_side() } game.phase = 0 - game.state = 'choose_card' + if (game.persistent_events['general_strike']) { + game.state = 'general_strike' + } else { + game.state = 'choose_card' + } } } -- cgit v1.2.3