Skip to content

Commit

Permalink
dark loading
Browse files Browse the repository at this point in the history
  • Loading branch information
hazae41 committed Nov 2, 2024
1 parent 98ae602 commit 5754b3a
Showing 1 changed file with 23 additions and 2 deletions.
25 changes: 23 additions & 2 deletions public/start.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,28 @@
<!DOCTYPE html>
<html style="height: 100%; width: 100%;">
<html>
<head>
<link rel="canonical" href="/">
<style>
html {
height: 100%;
width: 100%;
}

body {
height: 100%;
width: 100%;
display: flex;
justify-content: center;
align-items: center;
overflow: hidden;
}

@media (prefers-color-scheme: dark) {
body {
background-color: #000;
}
}
</style>
<script type="module">
try {
const latestScriptUrl = new URL(`/service_worker.latest.js`, location.href)
Expand Down Expand Up @@ -45,7 +66,7 @@
}
</script>
</head>
<body style="height: 100%; width: 100%; display: flex; justify-content: center; align-items: center; overflow: hidden;">
<body>
<img style="width: 100px; height: 100px;"
src="/favicon.png"
alt="favicon" />
Expand Down

0 comments on commit 5754b3a

Please sign in to comment.