index.html: vertically center canvas

This commit is contained in:
Matthias Schiffer 2018-11-04 20:03:33 +01:00
parent 9f2e4e6996
commit 7a14936af2
Signed by: neocturne
GPG key ID: 16EF3F64CB201D9C

6
dist/index.html vendored
View file

@ -13,10 +13,16 @@
text-align: center;
}
canvas {
position: relative;
top: calc(50% - 384px);
}
* {
margin: 0px;
padding: 0px;
border: 0px;
background: #223;
}
</style>
</head>