-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
76 lines (74 loc) · 1.8 KB
/
index.html
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
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="theme-color" content="#303030" />
<title>Hellō Playground</title>
<link rel="icon" href="dark-favicon.png" media="(prefers-color-scheme: light)" />
<link rel="icon" href="light-favicon.png" media="(prefers-color-scheme: dark)" />
<link rel="stylesheet" href="https://cdn.hello.coop/css/hello-button.css" />
<script src="https://cdn.hello.coop/js/hello-dev-wc-footer.js" defer></script>
<script src="/purge-cache.js" defer></script>
<style type="text/css">
body {
min-width: 320px;
}
.spinner {
position: absolute;
left: 50%;
top: 50%;
height: 40px;
width: 40px;
margin: -26px 0 0 -26px;
box-sizing: content-box;
animation: rotation 1s infinite linear;
border-width: 6px;
border-style: solid;
border-radius: 100%;
}
#spinner {
height: 3.2rem;
width: 3.2rem;
animation: rotation 1s linear infinite;
}
@keyframes rotation {
from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
}
@media (prefers-color-scheme: dark) {
:root {
color-scheme: dark;
}
body {
color: #d4d4d4;
background: #151515;
}
.spinner {
border-color: rgba(116, 116, 116, 0.3);
border-top-color: rgb(116, 116, 116);
}
}
@media (prefers-color-scheme: light) {
body {
color: #303030;
background: white;
color-scheme: light;
}
.spinner {
border-color: rgba(75, 75, 75, 0.3);
border-top-color: rgb(75, 75, 75);
}
}
</style>
</head>
<body>
<div id="load-spinner" class="spinner"></div>
<div id="app"></div>
<script type="module" src="/src/main.js"></script>
</body>
</html>