diff options
-rw-r--r-- | play.css | 4 | ||||
-rw-r--r-- | play.html | 10 | ||||
-rw-r--r-- | play.js | 6 |
3 files changed, 12 insertions, 8 deletions
@@ -87,7 +87,7 @@ body.Communist header.your_turn { background-color: hsl(355, 70%, 75%); } .space.Poland.action { border-color: yellow; } .space.Czechoslovakia.action { border-color: lightgreen; } .space.Hungary.action { border-color: gold; } -.space.Romania.action { border-color: peachpuff; } +.space.Romania.action { border-color: pink; } .space.Bulgaria.action { border-color: palegreen; } .space.selected { @@ -449,4 +449,4 @@ body.Communist header.your_turn { background-color: hsl(355, 70%, 75%); } .card.power_49 { background-image: url(cards75/power_49.avif) } .card.power_50 { background-image: url(cards75/power_50.avif) } .card.power_51 { background-image: url(cards75/power_51.avif) } -.card.power_52 { background-image: url(cards75/power_52.avif) }
\ No newline at end of file +.card.power_52 { background-image: url(cards75/power_52.avif) } @@ -53,11 +53,11 @@ <div id="map"> <div id="spaces"></div> <div id="markers"> - <div id="marker_turn" class="marker" style="left: 653px; top: 79px;"></div> - <div id="marker_action_round" class="marker dem" style="left: 708px; top: 141px;"></div> + <div id="marker_turn" class="marker" style="left: 600px; top: 79px;"></div> + <div id="marker_action_round" class="marker dem" style="left: 655px; top: 141px;"></div> <div id="marker_stability_track" class="marker" style="left: 1380px; top: 1080px;"></div> - <div id="marker_dem_tst" class="marker" style="left: 52px; top: 2127px;"></div> - <div id="marker_com_tst" class="marker" style="left: 52px; top: 2256px;"></div> + <div id="marker_dem_tst" class="marker" style="left: 12px; top: 2117px;"></div> + <div id="marker_com_tst" class="marker" style="left: 12px; top: 2246px;"></div> <div id="marker_vp" class="marker" style="left: 846px; top: 2425px;"></div> <!-- PERMANENT EVENT MARKERS ON THE BOARD --> @@ -130,4 +130,4 @@ <footer id="status"></footer> -</html>
\ No newline at end of file +</html> @@ -538,12 +538,16 @@ function layout_stability_marker() { ui.stability.style.top = y - 25 + "px" } -let TST_X = [ 0, 53, 53 + 69, 53 + 69 * 2, 53 + 69 * 3, 53 + 69 * 4, 53 + 69 * 5, 53 + 69 * 6, 556 ] +let TST_X = [ 53, 53, 53 + 69, 53 + 69 * 2, 53 + 69 * 3, 53 + 69 * 4, 53 + 69 * 5, 53 + 69 * 6, 556 ] let TST_Y = [ 2128, 2257 ] function layout_tst_marker(e, v, top) { let x = TST_X[v] + 24 let y = TST_Y[top] + 24 + if (v === 0) { + x -= 40 + y -= 10 + } e.style.left = x - 25 + "px" e.style.top = y - 25 + "px" } |