-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
53 lines (49 loc) · 1.35 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
<html lang="en">
<head>
<title>NOHZDYVE by errbint</title>
<link rel="shortcut icon" href="assets/icon.svg" type="image/x-icon">
</head>
<body>
<div class="container">
<div class="macintosh"></div>
<canvas id="canvas"></canvas>
</div>
<script src="game/imageHandler.js"></script>
<script src="game/control.js"></script>
<script src="game/constructor/Player.js"></script>
<script src="game/main.js"></script>
<style>
body{
background: #2F3857;
width: 100%;
display: flex;
justify-content: flex-start;
align-items: center;
margin: 0;
}
.container{
margin: 0 auto;
display: flex;
justify-content: flex-start;
align-items: center;
flex-direction: column;
min-width: 524px;
min-height: 933px;
}
.macintosh{
position: absolute;
width: 524px;
height: 933px;
background: url('assets/img/macintosh.png');
background-repeat: no-repeat;
background-size: contain;
background-position: center;
}
canvas{
margin-top: 108px;
position: absolute;
background: #000;
}
</style>
</body>
</html>