From 63c4940bced464ab828fd513c4e6de79ce4451cc Mon Sep 17 00:00:00 2001 From: LJ5O <75009579+LJ5O@users.noreply.github.com> Date: Thu, 15 Feb 2024 09:22:19 +0100 Subject: [PATCH] Added some text before the game loads This "Loading..." will help people to understand that the website is loading, and isn't just a blank page. I'll consider creating a nice css animation later, but I just wanted something quick and easy for now --- index.html | 3 +++ public/style.css | 10 ++++++++++ 2 files changed, 13 insertions(+) diff --git a/index.html b/index.html index 82a5a46..6c5cd56 100644 --- a/index.html +++ b/index.html @@ -6,6 +6,9 @@ +
+

Chargement...
Loading...

+

diff --git a/public/style.css b/public/style.css index 299725d..371d4ac 100644 --- a/public/style.css +++ b/public/style.css @@ -13,6 +13,16 @@ a { color: #2E86AB; } +#loading{ + position: absolute; + top:50%; + left:50%; + transform: translate(-50%, -50%); + font-family: Arial, Helvetica, sans-serif; + font-size: 2em; + z-index:-1; +} + #notification_bar { position: absolute; top:20px;