-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
56 lines (48 loc) · 1000 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
47
48
49
50
51
52
53
54
55
56
<!DOCTYPE html>
<html>
<head>
<style>
* {
image-rendering: pixelated;
}
html {
background-color: #000;
color: #FFF;
font-family: 'Roboto', sans-serif;
}
html,
body,
canvas,
.click-to-fullscreen {
overflow: hidden;
width: 100%;
height: 100%;
}
canvas,
.click-to-fullscreen {
position: absolute;
left: 0;
top: 0;
}
.click-to-fullscreen {
background-color: #000000CC;
padding: 0;
margin: 0;
}
.click-to-fullscreen p {
text-align: center;
font-size: 50px;
height: 100%;
margin: 0;
padding: 0;
line-height: 50px;
transform: translateY(50%);
}
</style>
<script type="module" src="src/main.js"></script>
</head>
<body>
<canvas id="canvas"></canvas>
<!-- <div class="click-to-fullscreen"><p>Click to enter fullscreen mode</p></div> -->
</body>
</html>