From 1908e03eeca5e67b2402da92d9c1f6ad40303351 Mon Sep 17 00:00:00 2001 From: eylon707 <96633129+eylon707@users.noreply.github.com> Date: Sun, 28 Jan 2024 17:47:52 +0200 Subject: [PATCH] a few tweaks to the normal file --- index.html | 155 +++++++++++++++++++++++++++++++++++++++++++---------- 1 file changed, 128 insertions(+), 27 deletions(-) diff --git a/index.html b/index.html index 2157c6e..e9ce7ed 100644 --- a/index.html +++ b/index.html @@ -7,7 +7,7 @@ html { height: 100%; } - + body { height: 100%; margin: 0; @@ -15,9 +15,10 @@ display: flex; justify-content: center; align-items: center; - background: linear-gradient(to bottom, #172b36 0%, #d9e8e3 100%); + background: linear-gradient(45deg, #55007F, #FF007F); + transition: background 5s linear; /* Smooth background transition over 5 seconds */ } - + #container { display: flex; width: min(100%, 70vh); @@ -26,7 +27,7 @@ flex-direction: column; height: 100%; } - + #pongCanvas { display: block; border-radius: 4px; @@ -35,7 +36,7 @@ margin-top: auto; box-shadow: 0 0 20px rgba(0, 0, 0, 0.2); } - + #score { font-family: monospace; margin-top: 30px; @@ -43,7 +44,7 @@ padding-left: 20px; color: #172b36; } - + #made { font-family: monospace; margin-top: auto; @@ -51,16 +52,24 @@ font-size: 12px; padding-left: 20px; } - + #made a { color: #172b36; } -
+
+
+
+ + + +
+ +

made by Koen van Gilst | source on @@ -70,7 +79,6 @@