-
Notifications
You must be signed in to change notification settings - Fork 23
/
Copy pathindex.html
64 lines (59 loc) · 1.85 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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>FernetJS Invaders</title>
<script type="text/javascript" src="game.js"></script>
<script type="text/javascript" src="scripts/index.js"></script>
<style type="text/css">
.ctn {
width: 600px;
height: 400px;
position: relative;
}
#splash {
position: absolute;
width: 600px;
height: 400px;
top: 0;
left:0;
background-image: url('fernetjs-invaders.png');
opacity: 0;
display:none;
z-index: 2;
text-align: right;
float: right;
}
#splash a {
font-family: Verdana;
font-size: 12pt;
text-decoration: none;
color: #323330;
margin: 40px;
line-height: 4;
}
#game-canvas {
border-radius: 10px;
-moz-border-radius: 10px;
-webkit-border-radius: 10px;
border: 1px solid silver;
background-color:#000;
}
</style>
</head>
<body>
<h1>FernetJS Invaders 404</h1>
<div class="ctn">
<canvas id="game-canvas" width="600" height="400">
FernetJS Invaders 404 - Not Found
</canvas>
<div id="splash">
<a href="#" onclick="play();" style="font-size: 26px;">Jugar!</a>
<br/>
<a href="https://github.com/pjnovas/invaders404" target="_blank">[código fuente]</a>
</div>
</div>
<span id="fps"></span>
</body>
</html>