From 45e785167c8974d155bd4ceb8cb03751c5c7b6dd Mon Sep 17 00:00:00 2001 From: Kiyomichi Kosaka Date: Sat, 14 Jun 2025 23:23:49 +0200 Subject: [PATCH] Fix analog clock hands hidden behind markers --- analog.html | 2 ++ style.css | 2 ++ 2 files changed, 4 insertions(+) diff --git a/analog.html b/analog.html index 1525c19..59fbe8a 100644 --- a/analog.html +++ b/analog.html @@ -51,6 +51,7 @@ color: #ffffff; text-shadow: 0 0 8px rgba(0, 255, 255, 0.8); transform: translate(-50%, -50%); + z-index: 0; } .hand { position: absolute; @@ -59,6 +60,7 @@ transform-origin: bottom; transition: transform 0.5s ease-in-out; border-radius: 2px; + z-index: 1; } .hand.xeno { width: 4px; diff --git a/style.css b/style.css index cdca80d..d762149 100644 --- a/style.css +++ b/style.css @@ -412,6 +412,7 @@ color: #ffffff; text-shadow: 0 0 8px rgba(0, 255, 255, 0.8); transform: translate(-50%, -50%); + z-index: 0; } .hand { @@ -421,6 +422,7 @@ transform-origin: bottom; transition: transform 0.5s ease-in-out; border-radius: 2px; + z-index: 1; } .hand.xeno {