-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
46 lines (46 loc) · 1021 Bytes
/
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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Rendezvous - A small space game</title>
<style>
body {
margin: 0;
background-image: url("https://wallpapercave.com/wp/fHW4OSL.jpg");
background-size: cover;
height: 100%;
}
#info {
position: absolute;
right: 10px;
top: 10px;
width: 200px;
height: 150px;
padding: 10px;
font-size: 20px;
border: solid 1px #ccc;
border-radius: 4px;
background: #fff;
}
#theend {
position: absolute;
top: 40%;
left: 0;
width: 100%;
background: rgb(255, 136, 0);
font-family: Arial, Helvetica, sans-serif;
font-size: 100px;
text-align: center;
display: none;
}
</style>
</head>
<body>
<audio control loop>
<source src="Construction.mp3"type="audio/mpeg">
</audio>
<section id="info"></section>
<section id="theend"></section>
<script type="module" src="game.js"></script>
</body>
</html>