From 82306b76ddbe6d9cb233353b5512c378b558d0ee Mon Sep 17 00:00:00 2001 From: Degradin <42292046+Degradin@users.noreply.github.com> Date: Wed, 5 Mar 2025 16:23:09 +0300 Subject: [PATCH] Minor loader fixes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit z-index в последнем коммите оставался поверх всего, исправил наложение --- public/index.html | 20 +++++++++++--------- public/styles/main.css | 25 +++++++++++++------------ 2 files changed, 24 insertions(+), 21 deletions(-) diff --git a/public/index.html b/public/index.html index c6f852c..9312151 100644 --- a/public/index.html +++ b/public/index.html @@ -1,20 +1,19 @@ - + - - Document + + CampFire ID -
-
- -
+
+
+
+
-
Picture @@ -40,8 +39,11 @@ none

Ачивка

- +
+ + + \ No newline at end of file diff --git a/public/styles/main.css b/public/styles/main.css index 0eae5dd..6c86a64 100644 --- a/public/styles/main.css +++ b/public/styles/main.css @@ -150,13 +150,14 @@ body { } .containerloader { - background-color: var(--black); - z-index: 10 !important; - position: absolute; - width: 120%; - height: 120%; - opacity: 100%; - transform: translate(-8%, -21%); + position: fixed; + top: 0; + left: 0; + width: 100%; + height: 100%; + background-color: var(--black); + z-index: 100; + opacity: 1; padding: 35%; animation: loadscreen 1s 1 normal forwards; @@ -200,15 +201,15 @@ body { @keyframes loadscreen { 0% { - z-index: 1; - opacity: 100%; + z-index: 100; + opacity: 1; } 80% { - z-index: 1; - opacity: 100%; + z-index: 100; + opacity: 1; } 100% { - opacity: 0%; + opacity: 0; z-index: -1 } }