diff --git a/sass/screen.scss b/sass/screen.scss index 0e065a9..cbf25ba 100644 --- a/sass/screen.scss +++ b/sass/screen.scss @@ -28,3 +28,36 @@ text-align: left; } } + +@keyframes fader-fade { + 0% { + opacity: 1; + background: black; + } + to { + opacity: 0; + pointer-events: none; + } +} + +.fader { + background: black; + z-index: 3; + + animation: fader-fade 3s; + animation-delay: 2s; + animation-fill-mode: forwards; + + color: white; + font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; + + display: flex; + align-items: center; + justify-content: center; + text-align: center; + p { + animation: fader-fade 1s; + animation-delay: 1.5s; + animation-fill-mode: forwards; + } +} \ No newline at end of file diff --git a/static/load.gif b/static/load.gif new file mode 100644 index 0000000..e8b8acc Binary files /dev/null and b/static/load.gif differ diff --git a/templates/base.html b/templates/base.html index 86a1fb2..6cff80d 100644 --- a/templates/base.html +++ b/templates/base.html @@ -24,5 +24,19 @@

+
+
+

+
+ Loading... + + + Credit for loading gif to + + BDragon1727 + + +

+
\ No newline at end of file