Repository navigation
Expand file tree
/
Copy pathindex.html
More file actions
43 lines (43 loc) · 1.47 KB
/
Copy pathindex.html
File metadata and controls
43 lines (43 loc) · 1.47 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
43
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<!-- viewport-fit=cover lets the canvas reach under the iPhone notch/home bar -->
<meta
name="viewport"
content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, viewport-fit=cover"
/>
<meta name="theme-color" content="#2a1a07" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
<meta name="apple-mobile-web-app-title" content="Cheese Ninja" />
<link rel="icon" type="image/png" href="assets/icons/icon-192.png" />
<link rel="apple-touch-icon" href="assets/icons/icon-192.png" />
<title>Cheese Ninja</title>
<style>
/* Fill the screen, no scrolling, no tap highlight, no text selection.
These keep mobile browsers from interfering with swipes. */
html,
body {
margin: 0;
padding: 0;
width: 100%;
height: 100%;
overflow: hidden;
background: #2a1a07;
overscroll-behavior: none; /* kill pull-to-refresh */
touch-action: none; /* kill scroll/zoom gestures on touch */
-webkit-user-select: none;
user-select: none;
-webkit-tap-highlight-color: transparent;
}
canvas {
display: block;
touch-action: none;
}
</style>
</head>
<body>
<script type="module" src="/src/main.ts"></script>
</body>
</html>