-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathembed.html
34 lines (34 loc) · 985 Bytes
/
embed.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="mobile-web-app-capable" content="yes">
<link rel="stylesheet" type="text/css" href="asteroids.css">
<script src="//cdn.firebase.com/js/client/2.0.6/firebase.js"></script>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script src="assets/vector_battle_regular.typeface.js"></script>
<script src="anchor.js"></script>
<script src="game.js"></script>
<base target="_blank">
<style>
body.embed {
width: 100%;
background: #000;
}
.embed canvas {
border: none;
margin: 0;
}
</style>
</head>
<body class="embed">
<div id="asteroids">
<div id="game-pane">
<div id="game-container">
<canvas id="canvas" width="900" height="700" style="border: none; margin: 0; max-width: 100%; max-height: 100%"></canvas>
</div>
</div>
</div>
</body>
</html>