From 70634f878ab78b49f4f8e619b2a13c87ec4a6f9b Mon Sep 17 00:00:00 2001 From: Byte Dice Date: Tue, 14 Jan 2025 19:17:14 +0100 Subject: [PATCH] hopefully made it mobile-compatible --- index.html | 4 ++-- style.css | 11 +++++++++++ 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index dc55ff4..c672c00 100644 --- a/index.html +++ b/index.html @@ -3,7 +3,7 @@ - + Byte Dice @@ -14,7 +14,7 @@ - +
diff --git a/style.css b/style.css index afdd5fb..20ee344 100644 --- a/style.css +++ b/style.css @@ -1,8 +1,17 @@ +html { + overflow: hidden; + width: 100vw; + height: 100vh; +} + body { height: 100vh; background-color: #323232; + color: #ffffff; overflow: hidden; margin: 0%; + width: 100vw; + height: 100vh; } .synthSun { width: calc(40px * var(--pxDensity)); @@ -25,6 +34,8 @@ body { transform: translate(-50%, -50%); } #mainDiv { + overflow: hidden; + width: 100wv; height: 100vh; } .bgGradient {