summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDerek Stevens <nilix@nilfm.cc>2021-02-09 00:15:59 -0500
committerDerek Stevens <nilix@nilfm.cc>2021-02-09 00:15:59 -0500
commit3d496c12075e0ac3f80add7da11cc81bf33d54de (patch)
treee002929858571d5d8a863d1e803ebe2f34125f87
parent00c8c6969ef850c865bc925035785270a2f6e5ec (diff)
index.html: black background and center the canvas
-rwxr-xr-xindex.html10
1 files changed, 9 insertions, 1 deletions
diff --git a/index.html b/index.html
index d80cad7..7d3469c 100755
--- a/index.html
+++ b/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;