-
Notifications
You must be signed in to change notification settings - Fork 26
Expand file tree
/
Copy pathindex.html
More file actions
66 lines (60 loc) · 1.54 KB
/
Copy pathindex.html
File metadata and controls
66 lines (60 loc) · 1.54 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
55
56
57
58
59
60
61
62
63
64
65
66
<!DOCTYPE html>
<html>
<head>
<title>Asteroids</title>
<script src="/zelda/jquery.min.js"></script>
<script src="/zelda/jquery.mobile-1.4.5.min.js"></script>
<script type="text/javascript" src="asteroids.js"></script>
</head>
<body>
<style>
* {
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
-webkit-user-drag: none;
-webkit-user-modify: none;
-webkit-highlight: none;
outline: none;
}
body {
height: 602px;
width: 602px;
margin: 0;
padding: 0;
}
html {
background-color: black;
width: 600px;
}
#asteroids {
background-color: black;
border: 1pt solid white;
}
.text {
color: white;
font-family: 'Press Start 2P', cursive;
font-size: 16px;
text-align: center;
}
/* jQuery Mobile Overrides*/
.ui-loader {
display: none;
}
.ui-page[style] {
height: 602px !important;
min-height: 602px !important;
overflow: hidden;
outline: none;
}
</style>
<canvas id="asteroids" width="600" height="600"></canvas>
<img id="ship" src="ship.png" style="display: none;"/>
<img id="ship-move" src="ship_move.png" style="display: none;"/>
<img id="asteroid-16" src="asteroid_16.png" style="display: none;"/>
<img id="asteroid-32" src="asteroid_32.png" style="display: none;"/>
</body>
</html>