index.html: black background and center the canvas

This commit is contained in:
Iris Lightshard 2021-02-09 00:15:59 -05:00
parent 00c8c6969e
commit 3d496c1207
Signed by: Iris Lightshard
GPG key ID: 3B7FBC22144E6398

View file

@ -7,6 +7,10 @@
<link rel="manifest" href="./manifest.json">
<title>Catbug: in the see-through zone!</title>
<style>
body
{
background: #000000;
}
*{padding: 0; margin: 0;}
@font-face
{
@ -156,10 +160,14 @@
}
canvas
{
position: absolute;
font-family: 'kong';
background: #444444;
display: block;
margin: 0 auto;
margin: 0;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 100%;
height: auto;
max-width: 640px;