Web Dev Solutions

Catalin Mititiuc

aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCatalin Mititiuc <webdevcat@proton.me>2024-04-27 18:28:59 -0700
committerCatalin Mititiuc <webdevcat@proton.me>2024-04-27 18:30:03 -0700
commit0c1f7e2fde7ed6e05271c8aeb8d4babbf4f2188d (patch)
treeb15c46880f7aa4e252df7928dbc5a2a2f5eef366 /public/map.css
parentce98e325656b8419b80d8c248e0469f3a9708322 (diff)
Add ability to change maps
Diffstat (limited to 'public/map.css')
-rw-r--r--public/map.css5
1 files changed, 3 insertions, 2 deletions
diff --git a/public/map.css b/public/map.css
index 932d224..dbabab9 100644
--- a/public/map.css
+++ b/public/map.css
@@ -203,11 +203,11 @@ g.selected use {
transform: translate(19px, 31px) scale(4);
}
-g.start-locations > g:first-child {
+g.start-locations > g:first-child:not([data-y]) {
--i: -2;
}
-g.start-locations > g:last-child {
+g.start-locations > g:last-child:not([data-y]) {
--i: 52;
}
@@ -249,6 +249,7 @@ g[data-y]:nth-child(odd) {
transform: translateX(calc(var(--x-step) * var(--i))) scale(var(--scale));
}
+g[data-y="-2"] { --i: -2; }
g[data-y="0"] { --i: 0; }
g[data-y="1"] { --i: 1; }
g[data-y="2"] { --i: 2; }