From ba74c68026ddd4496cf73910d7d5d6f7d40466f0 Mon Sep 17 00:00:00 2001 From: Richard Zink Date: Wed, 7 Oct 2026 08:58:19 +0200 Subject: [PATCH] Equal spacing on all sides (top, right, bottom = 2vh) --- index.html | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/index.html b/index.html index e3dfaab..044dadc 100644 --- a/index.html +++ b/index.html @@ -10,9 +10,9 @@ #vanta { width: 100vw; height: 100vh; position: fixed; top: 0; left: 0; } #info-panel { position: fixed; - top: 50%; - right: 1.5vw; - transform: translateY(-50%); + top: 2vh; + right: 2vh; + bottom: 2vh; color: #e6dfd1; background: rgba(28, 27, 31, 0.7); padding: 1.5vh 1.5vw; @@ -21,7 +21,6 @@ font-size: clamp(11px, 1.4vh, 16px); line-height: 1.5; width: clamp(280px, min(35vh, 30vw), 40vw); - max-height: 96vh; display: flex; flex-direction: column; overflow-y: auto; @@ -31,7 +30,6 @@ @media (orientation: portrait) and (max-width: 700px) { #info-panel { width: 90vw; - right: 5vw; } } #analog-clock {