-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
70 lines (58 loc) · 2.07 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<meta name="description" content="A fun little recreation of the classic Asteroids game in 100% vanilla JavaScript">
<meta name="keywords" content="javascript,asteroids,game,minigame,classic,retro">
<meta name="author" content="Rayzr522">
<meta property="og:type" content="object" />
<meta property="og:site_name" content="rayzr.dev" />
<meta property="og:title" content="Asteroids - by Rayzr522" />
<meta property="og:image" content="https://rayzr.dev/asteroids/icon.png" />
<meta property="og:url" content="https://rayzr.dev/asteroids" />
<meta property="og:description" content="A fun little recreation of the classic Asteroids game in 100% vanilla JavaScript" />
<title>Asteroids - by Rayzr522</title>
<link rel="icon" href="favicon.ico" type="image/x-icon"/>
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon"/>
<style>
body {
background: black;
}
canvas {
outline: 1px solid white;
margin: auto;
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
}
#footer {
display: block;
position: absolute;
left: 0;
right: 0;
bottom: 5px;
text-align: center;
}
a {
color: white;
text-decoration: none;
font-family: monospace;
font-size: 1em;
}
a:hover {
text-decoration: underline;
}
</style>
</head>
<body>
<div id="footer">
<a href="https://github.com/Rayzr522/asteroids">Made with <span style="color:salmon"><3</span> by Rayzr</a>
</div>
<div id="game"></div>
<script type="text/javascript" src="app.js"></script>
</body>
</html>