From 4eddf0241342eb080cb8590bd380341a025ba3b8 Mon Sep 17 00:00:00 2001 From: HouTeng Chan <ht-chen21@mails.tsinghua.edu.cn> Date: Mon, 30 Sep 2024 03:47:33 +0000 Subject: [PATCH] Update file home.html --- wiki/pages/home.html | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/wiki/pages/home.html b/wiki/pages/home.html index 3fad4469..d0e98a05 100644 --- a/wiki/pages/home.html +++ b/wiki/pages/home.html @@ -149,9 +149,33 @@ margin: 20px; } } + .loader-container { + position: fixed; + top: 0; + left: 0; + width: 100%; + height: 100%; + background-color: #ffffff; /* Solid white background */ + display: flex; + flex-direction: column; + justify-content: center; + align-items: center; + z-index: 9999; + } + + .loader-gif { + width: 150px; + height: 150px; + } + </style> </head> <body> + + <div class="loader-container"> + <img src="https://static.igem.wiki/teams/5187/art/loading.gif" alt="Loading" class="loader-gif"> +</div> + <div id="menu"> {% include 'menu.html' %} </div> -- GitLab