-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
94 lines (91 loc) · 1.68 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
<!DOCTYPE html>
<html>
<head>
<title>Glacial</title>
<link rel="icon" type="image/png" href="images/favicon.png">
<script src="lib/require.js"></script>
<script>
requirejs.config({
baseUrl: 'build',
paths: {
jquery: '../lib/jquery',
seedrandom: '../lib/seedrandom'
}
});
requirejs(['requirejs-main'])
</script>
<script src="lib/traceur-runtime.js"></script>
<style>
* {
margin: 0px;
padding: 0px;
}
body {
background: black;
}
@font-face {
font-family: 'IBM-BIOS';
src: url('fonts/PxPlus_IBM_BIOS.ttf');
}
p.font-loader {
font-family: IBM-BIOS;
position: absolute;
top: -10px;
left: -10px;
}
#canvas {
position: absolute;
left: 0px;
top: 0px;
}
#hud {
position: absolute;
font-family: IBM-BIOS;
width: 1024px;
height: 16px;
top: 640px;
left: 0px;
background-color: #000000;
color: #ffffff;
display: none;
}
#stats {
position: absolute;
right: 0px;
text-align: right;
}
#ability {
position: absolute;
left: 0px;
text-align: left;
}
#message {
position: absolute;
left: 224px;
text-align: left;
}
#overlay {
position: absolute;
font-family: IBM-BIOS;
left: 0px;
top: 0px;
width: 1024px;
height: 640px;
background-color: #000000;
color: #ffffff;
}
</style>
</head>
<body>
<p class='font-loader'>.</p>
<canvas id="canvas" width=1024 height=640></canvas>
<div id="hud">
<div id="ability"></div>
<div id="message"></div>
<div id="stats"></div>
</div>
<div id="overlay">
Loading...
</div>
</body>
</html>