From 1fbb0ede508d9e4e4616d7e17a7f67d1c9c32bcb Mon Sep 17 00:00:00 2001 From: ElnuDev Date: Sat, 15 Apr 2023 15:37:23 -0700 Subject: [PATCH] Remove title, flex center --- demo/index.html | 1 - demo/style.css | 10 +++++++--- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/demo/index.html b/demo/index.html index 1288b2d..5285963 100644 --- a/demo/index.html +++ b/demo/index.html @@ -8,7 +8,6 @@
-

()ちゃんしりとり

diff --git a/demo/style.css b/demo/style.css index ac17757..0478275 100644 --- a/demo/style.css +++ b/demo/style.css @@ -5,10 +5,14 @@ body { background: slategrey; font-size: 1.75em; + display: flex; + height: 100vh; + align-items: center; + justify-content: center; } div#content { - width: max-content; - margin: auto; + width: 32em; + max-width: 100%; } div#shiritori p { margin: 0; @@ -67,7 +71,7 @@ p#shiritori-players { } #split { display: flex; - gap: 1em; + gap: 0.5em; flex-direction: row; } #split > * {