summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--play.css4
-rw-r--r--play.html10
-rw-r--r--play.js6
3 files changed, 12 insertions, 8 deletions
diff --git a/play.css b/play.css
index dc801f8..1de0d40 100644
--- a/play.css
+++ b/play.css
@@ -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) }
diff --git a/play.html b/play.html
index 713bb8b..2d77270 100644
--- a/play.html
+++ b/play.html
@@ -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>
diff --git a/play.js b/play.js
index 4b1edc6..311572e 100644
--- a/play.js
+++ b/play.js
@@ -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"
}