From cb94eb1dad6e1b535be9139f302974612c5f9e9e Mon Sep 17 00:00:00 2001 From: G2-Games Date: Fri, 9 Dec 2022 17:22:05 -0600 Subject: [PATCH] Minor changes --- public/css/style.css | 37 ++++++++++++++++++++++++--- public/index.html | 60 +++++++++++++++++++++++++++----------------- src/lib/classes.ts | 4 +-- src/lib/logic.ts | 28 +++++++++++++++------ src/sockets/game.ts | 5 ++++ 5 files changed, 98 insertions(+), 36 deletions(-) diff --git a/public/css/style.css b/public/css/style.css index fd46495..c82d8ff 100644 --- a/public/css/style.css +++ b/public/css/style.css @@ -195,11 +195,42 @@ html { color: #1e1e2e; font-size: 60pt; border-radius: 20px; + z-index: 21; } -#readiness { - width: 98vw; - text-align: center; +#status { + padding: 20px; + background-color: #585b70; + border-radius: 5px; + margin-top: 10px; + margin-bottom: 20px; + overflow: scroll; + height: 50px; + display: flex; + flex-direction: column-reverse; + overflow-x: hidden; +} + +.highlight { + filter: drop-shadow(0px 0px 10px #74c7ec); + transition-duration: 0.2s; + cursor: pointer; +} + +.highlight:hover { + transform: translate(-5px,-5px); +} + +.cover { + height: 100vh; + width: 100vw; + position: absolute; + top:0; + left:0; + background-color: #0008; + z-index: 20; + backdrop-filter: blur(2px); + transition-duration: 0.2s; } /* Mobile CSS */ diff --git a/public/index.html b/public/index.html index bae2866..52a4acc 100644 --- a/public/index.html +++ b/public/index.html @@ -49,22 +49,26 @@ -
+ -
+
-
- -