-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
81 lines (80 loc) · 1.93 KB
/
index.html
File metadata and controls
81 lines (80 loc) · 1.93 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/ico" href="/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Table of Contents</title>
<link
href="https://resources.jetbrains.com/storage/jetbrains-sans/JetBrainsSans-Regular.woff2"
rel="preconnect"
/>
<style>
#loader-wrapper {
inset: 0;
position: fixed;
display: flex;
align-items: center;
justify-content: center;
background-color: #fff;
}
#loader {
width: 48px;
height: 48px;
background: #19191c;
border-radius: 50%;
position: relative;
animation: roll 1s ease-in-out infinite alternate;
}
#loader:after {
content: '';
position: absolute;
inset: 5px;
border-radius: 50%;
border: 5px solid;
border-color: #6b57ff transparent;
}
.hide {
animation: fadeOut 0.3s forwards;
}
@keyframes fadeOut {
0% {
opacity: 1;
}
100% {
opacity: 0;
z-index: -1;
display: none;
}
}
@keyframes roll {
0% {
transform: translateX(-150%) rotate(0deg);
}
100% {
transform: translateX(150%) rotate(360deg);
}
}
@media (prefers-color-scheme: dark) {
#loader-wrapper {
background-color: #19191c;
}
#loader {
background: #fff;
}
}
</style>
</head>
<body>
<div id="loader-wrapper">
<div id="loader"></div>
</div>
<div id="root"></div>
<script>
document.addEventListener('DOMContentLoaded', function () {
document.getElementById('loader-wrapper').classList.add('hide')
})
</script>
<script type="module" src="/src/main.tsx"></script>
</body>
</html>