-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
61 lines (51 loc) · 1014 Bytes
/
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset='utf-8'>
<meta name='viewport' content='width=device-width,initial-scale=1'>
<title>Scuff</title>
<style>
body {
margin: 0;
padding: 0;
}
#scuff-loading {
width: 100vw;
height: 100vh;
background-color: #111;
display: flex;
align-items: center;
justify-content: center;
}
#scuff-loading>div {
width: min(50px, 5vw);
height: min(50px, 5vw);
border-radius: 50%;
border: 15px solid transparent;
border-top-color: #07d;
border-bottom-color: #07d;
animation: spin 1s linear infinite;
}
@keyframes spin {
to {
transform: rotate(360deg);
}
}
</style>
<script type="importmap">
{
"imports": {
"scuff": "./bundle/core/scuff.mjs",
"scuff-scratch": "./bundle/scratch/scuff-scratch.mjs"
}
}
</script>
<script src='lib/require.js'></script>
<script src='bundle/index.mjs' defer></script>
</head>
<body>
<div id="scuff-loading">
<div></div>
</div>
</body>
</html>