From b2a99e6f91c8254550a150ef7217ec4d11c8c0c5 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Fri, 18 Jun 2021 15:11:21 +0200 Subject: tripoli: Use divs for turn and season markers too. --- play.html | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'play.html') diff --git a/play.html b/play.html index a1b8f98..eb71cbd 100644 --- a/play.html +++ b/play.html @@ -96,7 +96,7 @@ svg image { svg circle, .piece { transition-property: x, y, cx, cy, top, left; - transition-duration: 700ms; + transition-duration: 1s; transition-timing-function: ease; } @@ -104,7 +104,7 @@ svg circle, .piece { position: absolute; pointer-events: none; background-size: cover; - background-repeat: none; + background-repeat: no-repeat; filter: drop-shadow(1px 1px 4px rgba(0,0,0,0.5)); } @@ -128,6 +128,7 @@ svg circle, .piece { .piece.ar_infantry { width: 21px; height: 21px; background-image: url("icons/ar_infantry.svg"); } .piece.tr_infantry { width: 21px; height: 21px; background-image: url("icons/tr_infantry.svg"); } .piece.gold { width: 40px; height: 40px; background-image: url("icons/gold.png"); } +.piece.marker { width: 50px; height: 50px; border-radius: 50%; background-color: #444; border: 2px solid black; } .harbor { fill-opacity: 0; @@ -332,10 +333,6 @@ svg circle, .piece { - - - -
@@ -417,6 +414,8 @@ svg circle, .piece {
+
+
-- cgit v1.2.3