summaryrefslogtreecommitdiff
path: root/play.css
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2024-10-29 17:23:12 +0100
committerTor Andersson <tor@ccxvii.net>2024-10-29 17:24:14 +0100
commit8651ae9fec82c0a47dd1e17a883664f2054636b7 (patch)
tree967990b5c4f60fcbe4f8b67b4974426fc3548986 /play.css
parent5231a78b3ea434fbf6adb65665b90d901706824d (diff)
downloadvijayanagara-8651ae9fec82c0a47dd1e17a883664f2054636b7.tar.gz
Use SVG paths for spaces.
Diffstat (limited to 'play.css')
-rw-r--r--play.css22
1 files changed, 8 insertions, 14 deletions
diff --git a/play.css b/play.css
index 46a37c2..1859938 100644
--- a/play.css
+++ b/play.css
@@ -109,28 +109,22 @@ main { background-color: #777; }
/* SPACES */
-path { fill: transparent; stroke-width: 4; }
-path.action { fill: white; fill-opacity: 0.3; stroke: white; }
+path { fill: none; stroke-width: 4; }
+path.action { fill: yellowgreen; fill-opacity: 0.3; stroke: lightgreen; }
+path.mongol.action { fill: gold; fill-opacity: 0.3; stroke: gold; }
path.selected { stroke: yellow; }
path.tip { stroke: white; stroke-dasharray: 4 4; }
.space {
position: absolute;
- border: 2px solid lime;
-}
-
-.space.action {
- background-color: white; opacity: 0.3; stroke: white;
-}
-
-.space.selected {
- background-color: gold; opacity: 0.3; stroke: white;
-}
-
-.space.province {
border-radius: 50%;
+ border: 4px solid transparent;
}
+.space.action { border-color: lightgreen; box-shadow: 0 0 2px 1px black, inset 0 0 2px 1px black; }
+.space.selected { border-color: yellow; box-shadow: 0 0 2px 1px black, inset 0 0 2px 1px black; }
+.space.tip { border: 4px dotted white; }
+
.box{position:absolute;box-sizing:border-box;border:4px solid transparent}
.box.action{border-color:lemonchiffon;}
.box.selected{border-color:yellow;}