From 1d8fdbcc34afecf95df1d0d1c45f9094e8e630ac Mon Sep 17 00:00:00 2001 From: aliamanuba Date: Thu, 2 May 2024 19:38:33 +0800 Subject: [PATCH] Add Preload for Web - Update base.html --- bskyweb/templates/base.html | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/bskyweb/templates/base.html b/bskyweb/templates/base.html index cb0cea24..311f2d3d 100644 --- a/bskyweb/templates/base.html +++ b/bskyweb/templates/base.html @@ -47,6 +47,14 @@ font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Liberation Sans", Helvetica, Arial, sans-serif; } + #preload { + width: 100px; + position: fixed; + left: 50%; + top: 50%; + transform: translate(-50%, -50%); + } + /* Buttons and inputs have a font set by UA, so we'll have to reset that */ button, input, textarea { font: inherit; @@ -262,6 +270,11 @@ {%- block body_all %} +
+ + +
+