From 9f0912e274bce58d2a21d90d32bf356e36a0d5ee Mon Sep 17 00:00:00 2001 From: Miodec Date: Wed, 12 Jan 2022 20:53:20 +0100 Subject: [PATCH] updated noscript message added a message thats visible when the css failed to load --- src/sass/core.scss | 5 +++ static/index.html | 78 +++++++++++++++++++++++++++++++++++++++++++--- 2 files changed, 79 insertions(+), 4 deletions(-) diff --git a/src/sass/core.scss b/src/sass/core.scss index a3cbf5d91..998b399b6 100644 --- a/src/sass/core.scss +++ b/src/sass/core.scss @@ -24,6 +24,11 @@ /* Firefox */ } +#nocss { + display: none !important; + pointer-events: none; +} + .ffscroll { scrollbar-width: thin; scrollbar-color: var(--sub-color) transparent; diff --git a/static/index.html b/static/index.html index 121c19725..21c5746d4 100644 --- a/static/index.html +++ b/static/index.html @@ -6,10 +6,6 @@ if (e.key == "Escape") e.preventDefault(); }); - Monkeytype @@ -113,6 +109,80 @@
+ +
+
+ :( + + It seems like the CSS failed to load. Please clear your cache to + redownload the styles. If that doesn\'t help contact support. + + (ctrl/cmd + shift + r on Chromium browsers) +
+