This repository has been archived by the owner on Dec 27, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 29
/
Copy pathindex.html
48 lines (48 loc) · 1.41 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
<!DOCTYPE HTML>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>hurry!</title>
<style type="text/css">
body, html {
padding: 0;
margin: 0;
background: #222;
}
#highscore {
position: absolute;
top: 50%;
left: 50%;
color: #fff;
font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
font-weight: 500;
font-size: 16px;
margin-top: 265px;
width: 400px;
margin-left: -200px;
text-align: center;
}
#main {
border: 1px dotted #fff;
-webkit-box-shadow: 0 0 30px -12px #fff;
-moz-box-shadow: 0 0 30px -12px #fff;
-ms-box-shadow: 0 0 30px -12px #fff;
-o-box-shadow: 0 0 30px -12px #fff;
box-shadow: 0 0 30px -12px #fff;
width: 800px;
height: 550px;
position: absolute;
top: 50%;
left: 50%;
margin-left: -400px;
margin-top: -300px;
}
</style>
</head>
<body>
<a href="/~https://github.com/hughsk/ludum-dare-27"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://s3.amazonaws.com/github/ribbons/forkme_right_orange_ff7600.png" alt="Fork me on GitHub"></a>
<div id="highscore">best score: <span id="score">0</span></div>
<canvas id="main"></canvas>
<script src="bundle.js" type="text/javascript"></script>
</body>
</html>