From c4053ad8b7d14aa636b4ac9e14c3d332f085fe94 Mon Sep 17 00:00:00 2001 From: Daddy32 Date: Tue, 16 Dec 2025 20:04:49 +0100 Subject: [PATCH] feat: Make pause button width consistent and rearrange HUD Makes the pause button width consistent across 'Pause' and 'Resume' states to prevent layout shifts. Uses 'rem' units for responsive scaling. Also rearranges the HUD elements for a more logical grouping. --- index.html | 31 +++++++++++++++---------------- styles.css | 2 ++ 2 files changed, 17 insertions(+), 16 deletions(-) diff --git a/index.html b/index.html index ef8270c..09b6258 100644 --- a/index.html +++ b/index.html @@ -17,7 +17,6 @@

Physilinks

- Physics Link same-colored balls to clear them.
@@ -48,10 +47,21 @@
- Spawn + Scene + +
+
+ Goal + +
+
+
- Min link + Score 0 +
+
+ High score 0
Active color @@ -62,21 +72,10 @@ 0
- Score 0 + Spawn
- High score 0 -
-
- Goal - -
-
-
-
-
- Scene - + Min link
diff --git a/styles.css b/styles.css index 34b9a44..c6545bd 100644 --- a/styles.css +++ b/styles.css @@ -88,6 +88,8 @@ header .pill { padding: 8px 12px; font-weight: 700; cursor: pointer; + width: 6rem; + text-align: center; transition: transform 120ms ease, filter 120ms ease;