-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
executable file
·54 lines (54 loc) · 1.46 KB
/
index.html
File metadata and controls
executable file
·54 lines (54 loc) · 1.46 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
44
45
46
47
48
49
50
51
52
53
54
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<title>Hopkit</title>
<link rel="icon" href="./icon.png" type="image/png">
<meta property="og:title" content="Hopkit">
<meta property="og:description" content="Play Hopkit on chicknturtle.ninja">
<meta property="og:type" content="website">
<meta property="og:url" content="https://chicknturtle.ninja/projects/hopkit/">
<meta property="og:image" content="https://chicknturtle.ninja/assets/thumbnails/hopkit.png">
<meta property="og:image:width" content="1210">
<meta property="og:image:height" content="767">
<meta property="og:image:type" content="image/png">
<meta name="theme-color" content="#0098dc">
<style>
body {
margin: 0;
background-color: rgb(0,0,0);
overflow: hidden;
}
canvas {
position: fixed;
inset: 0;
width: 100vw;
height: 100vh;
height: 100dvh;
display: block;
overflow: hidden;
touch-action: none;
-webkit-tap-highlight-color: transparent;
}
input {
visibility: hidden;
position: fixed;
inset: 0;
width: 100vw;
height: 100vh;
height: 100dvh;
display: block;
overflow: hidden;
touch-action: none;
-webkit-tap-highlight-color: transparent;
z-index: -100;
}
</style>
</head>
<body>
<input type="text" id="textInput" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false">
<input type="file" id="fileInput">
<canvas id="gameCanvas"></canvas>
<script src="code/init.js" type="module"></script>
</body>
</html>