This repository has been archived by the owner on Mar 7, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
68 lines (60 loc) · 2.01 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
<!DOCTYPE html>
<html prefix="og: http://ogp.me/ns#">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<meta name="description" content="voxel-cat is an entry for the JS1k 2019 "X" JavaScript code golfing competition, where the goal is to create a fancy demo up to 1024 bytes.">
<meta name="copyright" content="Copyright (c) 2019 Gabor Bata">
<meta name="twitter:card" content="summary">
<meta name="twitter:site" content="@gabor_bata">
<meta name="twitter:creator" content="@gabor_bata">
<meta property="og:title" content="voxel-cat">
<meta property="og:description" content="voxel-cat is an entry for the JS1k 2019 "X" JavaScript code golfing competition, where the goal is to create a fancy demo up to 1024 bytes.">
<meta property="og:type" content="product">
<meta property="og:url" content="https://gaborbata.github.io/voxel-cat/">
<meta property="og:image" content="https://gaborbata.github.io/voxel-cat/voxel-cat.png">
<title>voxel-cat</title>
<style type="text/css">
body {
background-color: #7ce;
margin: 0;
}
#wrapper {
display: table;
position: absolute;
height: 100%;
width: 100%;
}
#container {
display: table-cell;
vertical-align: middle;
}
#a {
display: block;
height: auto;
margin: 0 auto;
max-height: 500px;
max-width: 500px;
width: 100%;
}
#footer {
bottom: 0;
color: #557;
font-family: sans-serif;
font-size: 12px;
height: 30px;
left: 0;
position: fixed;
text-align: center;
width: 100%;
}
</style>
<div id="footer">
voxel-cat | js1k-2019 "X" | © Gabor Bata
</div>
<div id="wrapper">
<div id="container">
<canvas id="a" width="500" height="500"></canvas>
</div>
</div>
<script src="voxel-cat.min.js"></script>
</html>