-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
executable file
·41 lines (37 loc) · 1.13 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta content="text/html;charset=utf-8" http-equiv="Content-Type">
<meta content="utf-8" http-equiv="encoding">
<link rel="shortcut icon" href="#" />
<link href="https://fonts.googleapis.com/css2?family=Space+Mono&display=swap" rel="stylesheet">
<style>
/* the following set of instructions is just so that the browser doesn't break monospace fonts */
pre,
code,
kbd,
samp,
tt{
font-family:monospace,monospace;
font-size:1em;
}
html, body {
min-width: 1100px;
min-height: 750px;
width: 100%;
height: 100%;
margin: 0;
/* background-color: #ff00ff; USE THIS FOR DEBUGGING CANVAS DRAWING ISSUES */
background-color: black;
}
#gameCanvas {
display: block;
}
@font-face { font-family: "ZingDiddlyDooZapped"; src: url('./fonts/Zing_Diddly_Doo_Zapped.ttf'); }
</style>
</head>
<body>
<canvas id="gameCanvas"></canvas>
<script type="module" src="js/main.js" ></script>
</body>
</html>