]> git.ardis.lu - alu.bz/commitdiff
Remove loader block
authorArdis Lu <ardisglu@gmail.com>
Sat, 18 Feb 2023 04:32:47 +0000 (20:32 -0800)
committerArdis Lu <ardisglu@gmail.com>
Sat, 18 Feb 2023 04:32:47 +0000 (20:32 -0800)
It doesn't actually work, the rest of the page is blocking too

index.html

index e639d8ae68bdf362bf462dd360ee6ae548e9d8a9..8bb53417958a17ae57a377eebf7971916f347a6d 100644 (file)
   <link rel="icon" href="data:,">
   <link rel="stylesheet" href="style.css">
   <title>alu.bz</title>
-  <style>
-    .loader-block {
-      position: fixed;
-      top: 0;
-      left: 0;
-      z-index: 1;
-      inline-size: 100dvi;
-      block-size: 100dvb;
-      background: inherit;
-      display: grid;
-      place-items: center;
-    }
-
-    @keyframes spin {
-      100% {
-        transform: rotate(360deg);
-      }
-    }
-
-    .loader {
-      width: 128px;
-      height: 128px;
-      color: transparent;
-      border: 8px solid transparent;
-      border-block-start: 8px solid black;
-      border-radius: 50%;
-      animation: spin 1s infinite;
-    }
-  </style>
   <script>
     (async () => {
       if (location.pathname !== '' && location.pathname !== '/') {
 </head>
 
 <body>
-  <div class="loader-block">
-    <div class="loader"></div>
-  </div>
-
   <header>
     <h1>alu.bz</h1>
     <nav>
This page took 0.035093 seconds and 4 git commands to generate.