index.html: black background and center the canvas
This commit is contained in:
parent
00c8c6969e
commit
3d496c1207
1 changed files with 9 additions and 1 deletions
10
index.html
10
index.html
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue