forked from addiebart/spaceworld2000
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
92 lines (92 loc) · 2.51 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="robots" content="noindex,nofollow,noarchive">
<title>Document</title>
<style>
html, body {
width: 100%;
height: 100%;
margin: 0;
}
body {
display: flex;
flex-flow: column;
align-items: stretch;
}
.top {
display: block;
text-align: center;
margin: auto;
width: fit-content;
padding: 4px;
}
h1 {
font-family: 'title';
font-size: 4em;
-webkit-text-stroke-width: 1px;
-webkit-text-stroke-color: #aaa;
}
@font-face {
font-family: title;
src: url(assets/title.ttf);
}
.bg {
width: 3400px;
height: 3400px;
min-height: 100%;
min-width: 100%;
position: fixed;
top: 0;
left: 0;
z-index: -1;
}
.grid {
display: grid;
align-items: center;
justify-items: center;
gap: 12px;
flex: 1;
overflow: auto;
}
a {
height: 75%;
width: 350px;
background-color: #aaa;
border: 4px solid #222;
display: grid;
align-items: center;
justify-items: center;
text-decoration: none;
color: currentColor;
}
a:hover {
color: firebrick;
cursor: pointer;
}
.itemdiv * {
margin: 0;
}
</style>
</head>
<body>
<img src="assets/nebula.jpg" alt="" class="bg">
<div class="top">
<h1>Space World<br><span>2000</span></h1>
</div>
<div class="grid">
<a href="play/index.html">
<div class="itemdiv"><h1>PLAY!</h1></div>
</a>
<a onclick="alert('Space World 200 is a tech demo 2D platformer make for HackKU23 with the Phaser JavaScript Library. Made by with love by Addie, Hunter, Tommy, and Anya.')">
<div class="itemdiv"><h1>ABOUT</h1></div>
</a>
<a href="https://github.com/addiebart/spaceworld2000" referrerpolicy="no-referrer">
<div class="itemdiv"><h1>SOURCE</h1></div>
</a>
</div>
</body>
</html>