-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
53 lines (51 loc) · 1.12 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
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/fav.png" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>doom.fish.industries</title>
<style>
* {
box-sizing: border-box;
}
#root,
html,
body {
margin: 0;
width: 100%;
image-rendering: pixelated;
height: 100%;
text-align: center;
}
body {
background-color: #000;
background-image: url("/image.webp");
background-size: cover;
background-position:
center center,
0px 0px;
background-repeat: no-repeat;
}
#root {
position: absolute;
top: 0;
left: 0;
z-index: 0;
}
img {
aspect-ratio: 1 /1;
max-height: 80vmin;
}
.text {
margin-top: 15vh;
position: relative;
max-width: 50%;
}
</style>
</head>
<body>
<canvas id="root"></canvas>
<script type="module" src="/src/main.ts"></script>
</body>
</html>