-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
42 lines (40 loc) · 953 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
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta
name="viewport"
content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"
/>
<title>Droste's Lair</title>
<style>
html,
body {
background-color: #1b1b19;
margin: 0;
height: 100dvh;
overflow: hidden;
overscroll-behavior: none;
touch-action: none;
position: relative;
}
* {
user-select: none;
-webkit-user-select: none;
}
#c-container {
position: absolute;
top: env(safe-area-inset-top);
bottom: env(safe-area-inset-bottom);
left: env(safe-area-inset-left);
right: env(safe-area-inset-right);
}
</style>
</head>
<body>
<script type="module" src="/src/ui.ts"></script>
<div id="c-container">
<canvas id="c"></canvas>
</div>
</body>
</html>