-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathindex.html
More file actions
42 lines (42 loc) · 1.87 KB
/
Copy pathindex.html
File metadata and controls
42 lines (42 loc) · 1.87 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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover" />
<title>CEL THUNDER</title>
<link rel="preconnect" href="https://fonts.googleapis.com" />
<style>
:root { color-scheme: dark; }
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; overflow: hidden; background: #0a0d12; }
body { font-family: ui-sans-serif, system-ui, "Segoe UI", Roboto, sans-serif; }
#app { position: fixed; inset: 0; }
canvas { display: block; width: 100%; height: 100%; touch-action: none; }
#ui { position: fixed; inset: 0; pointer-events: none; }
#boot {
position: fixed; inset: 0; display: grid; place-items: center;
background: radial-gradient(120% 90% at 50% 20%, #1b2b3f 0%, #0a0d12 70%);
color: #e8eef5; z-index: 100; transition: opacity .6s ease;
}
#boot .title {
font-size: clamp(38px, 9vw, 104px); font-weight: 900; letter-spacing: .12em;
text-shadow: 0 0 30px rgba(120,190,255,.35); margin-bottom: 18px;
}
#boot .bar { width: min(420px, 70vw); height: 4px; background: #1e2a38; border-radius: 2px; overflow: hidden; }
#boot .bar > i { display: block; height: 100%; width: 0%; background: linear-gradient(90deg,#4fa8ff,#8ee6ff); transition: width .25s ease; }
#boot .msg { margin-top: 12px; font-size: 13px; opacity: .65; letter-spacing: .08em; }
</style>
</head>
<body>
<div id="app"></div>
<div id="ui"></div>
<div id="boot">
<div style="display:grid;place-items:center">
<div class="title">CEL THUNDER</div>
<div class="bar"><i id="boot-bar"></i></div>
<div class="msg" id="boot-msg">initialising renderer…</div>
</div>
</div>
<script type="module" src="/src/main.ts"></script>
</body>
</html>