summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2022-05-21 13:53:06 +0200
committerTor Andersson <tor@ccxvii.net>2022-05-21 13:53:06 +0200
commitf6c6cfa47e922907aa80bd892308e1aec10e9954 (patch)
tree18c214940079a902e56d6233dfd25d3f90894050
parent9be7f7d8beb3d037cc656b06d8289c7133d1249e (diff)
downloadwashingtons-war-f6c6cfa47e922907aa80bd892308e1aec10e9954.tar.gz
Full map.
-rw-r--r--data.js2
-rw-r--r--images/WWmap-3-150.jpgbin0 -> 2829286 bytes
-rw-r--r--images/WWmap-3-150.webpbin0 -> 1707842 bytes
-rw-r--r--images/WWmap-3-75.jpgbin0 -> 744599 bytes
-rw-r--r--images/WWmap-3-75.webpbin0 -> 605662 bytes
-rw-r--r--play.css24
6 files changed, 14 insertions, 12 deletions
diff --git a/data.js b/data.js
index 8e692a5..ef4932d 100644
--- a/data.js
+++ b/data.js
@@ -36,10 +36,12 @@ function getEdge(A, B) {
let info = {};
function box(category, A, x, y) {
+ x += 40; y += 36;
BOXES[A] = { name: A, category: category, x: x, y: y };
}
function space(colony, name, x, y, type) {
+ x += 40; y += 36;
if (type == 'winter-quarters') {
x += 1; y += 1;
}
diff --git a/images/WWmap-3-150.jpg b/images/WWmap-3-150.jpg
new file mode 100644
index 0000000..8e30ff7
--- /dev/null
+++ b/images/WWmap-3-150.jpg
Binary files differ
diff --git a/images/WWmap-3-150.webp b/images/WWmap-3-150.webp
new file mode 100644
index 0000000..9dd1358
--- /dev/null
+++ b/images/WWmap-3-150.webp
Binary files differ
diff --git a/images/WWmap-3-75.jpg b/images/WWmap-3-75.jpg
new file mode 100644
index 0000000..8b4abfe
--- /dev/null
+++ b/images/WWmap-3-75.jpg
Binary files differ
diff --git a/images/WWmap-3-75.webp b/images/WWmap-3-75.webp
new file mode 100644
index 0000000..542acb3
--- /dev/null
+++ b/images/WWmap-3-75.webp
Binary files differ
diff --git a/play.css b/play.css
index 436377f..4b2604f 100644
--- a/play.css
+++ b/play.css
@@ -74,17 +74,17 @@ aside {
/* MAP WITH MARKERS, CUs, LEADERS, AND SPACES */
/* 3300x5100 */
+/* 1650x2550 */
#mapwrap {
- width: 1576px;
- height: 2480px;
- margin-top: 40px;
+ width: 1650px;
+ height: 2550px;
}
#map {
- width: 1576px;
- height: 2480px;
- background-image: url("/washingtons-war/images/map-75.jpg");
+ width: 1650px;
+ height: 2550px;
+ background-image: url(images/WWmap-3-75.webp);
background-size: cover;
box-shadow: 0 0 20px black;
}
@@ -279,8 +279,8 @@ aside {
}
#war_ends {
- left:1034px;
- top:1611px;
+ left:1074px;
+ top:1647px;
position:absolute;
width: 186px;
height: 262px;
@@ -312,12 +312,12 @@ aside {
display: block;
}
-#played_british_reinforcements { left: 871px; }
-#played_american_reinforcements_1 { left: 1104px; }
-#played_american_reinforcements_2 { left: 1336px; }
+#played_british_reinforcements { left: 911px; }
+#played_american_reinforcements_1 { left: 1144px; }
+#played_american_reinforcements_2 { left: 1376px; }
.reinforcements {
position:absolute;
- top: 1886px;
+ top: 1922px;
width: 186px;
height: 262px;
background-position: -1px -1px;