From 7a14936af2fb97716a84fdc94cba9caa2827c51d Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Sun, 4 Nov 2018 20:03:33 +0100 Subject: index.html: vertically center canvas --- dist/index.html | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'dist/index.html') diff --git a/dist/index.html b/dist/index.html index 35def01..c7d97f5 100644 --- a/dist/index.html +++ b/dist/index.html @@ -13,15 +13,21 @@ text-align: center; } + canvas { + position: relative; + top: calc(50% - 384px); + } + * { margin: 0px; padding: 0px; border: 0px; + background: #223; } - + -- cgit v1.2.3