-
Notifications
You must be signed in to change notification settings - Fork 5
/
index.html
57 lines (52 loc) · 1.11 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
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/maze.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Shoot or run</title>
<style>
body {
margin: 0;
padding: 0;
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
background: #000;
color: #fff;
}
#app {
position: absolute;
width: 100vw;
min-width: 1024px;
min-height: 768px;
display: flex;
justify-content: center;
align-items: center;
}
#ui {
position: absolute;
z-index: 2;
}
#minimap {
position: absolute;
right: 20px;
z-index: 3;
}
#weapon {
position: absolute;
z-index: 4;
}
#ui,
#camera,
#weapon {
min-width: 50%;
}
</style>
</head>
<body>
<div id="app">Loading..</div>
<script type="module" src="/src/main.ts"></script>
</body>
</html>