-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
63 lines (58 loc) · 1.19 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
58
59
60
61
62
63
<!DOCTYPE html>
<html>
<head>
<script src="lib/matter.js"></script>
<script src="lib/initialize-game.js"></script>
<script src="lib/create-icebox.js"></script>
<script src="lib/create-icebox-spawner.js"></script>
<script src="lib/create-camera.js"></script>
<script src="main.js"></script>
<style>
html {
background-color: rgb(24, 24, 29);
overflow: hidden;
}
.noselect {
-webkit-touch-callout: none;
/* iOS Safari */
-webkit-user-select: none;
/* Safari */
-khtml-user-select: none;
/* Konqueror HTML */
-moz-user-select: none;
/* Firefox */
-ms-user-select: none;
/* Internet Explorer/Edge */
user-select: none;
/* Non-prefixed version, currently
supported by Chrome and Opera */
}
canvas {
height: 100%;
position: absolute;
margin: 0 auto;
left: 0;
right: 0;
}
#info {
z-index: 15;
font-family: "Arial Black", Gadget, sans-serif;
position: absolute;
text-align: center;
width: 100%;
left: 0;
right: 0;
font-size: 200%;
color: #FFFFFF;
}
</style>
</head>
<body>
<div id="info">
<h1 class="noselect" id="scoreH1"></h1>
</div>
<div id="gamecanvasdiv">
</div>
</body>
<script>main();</script>
</html>