From b7eed20515cadc7bc576ba1e1b98c438a932da41 Mon Sep 17 00:00:00 2001 From: Henry Russell Date: Sun, 26 May 2024 00:06:35 +0100 Subject: [PATCH] Update style.css --- css/style.css | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/css/style.css b/css/style.css index d59099b..f8b6bc5 100644 --- a/css/style.css +++ b/css/style.css @@ -18,6 +18,9 @@ font-family: 'Press Start 2P', cursive; } +button { + margin-top: 20px; +} button:hover { cursor: pointer; @@ -29,6 +32,7 @@ body { overflow-x: hidden; max-height: 100vh; overflow-y: hidden; + } @@ -61,15 +65,17 @@ body { grid-template-rows: 1fr 1fr; height: 100vh; background: var(--sky); - - } .sky { - display: grid; place-items: center; text-align: center; + display: -webkit-flex; + -webkit-justify-content: center; + justify-content: center; + -webkit-align-items: center; + align-items: center; } .cloud { @@ -157,6 +163,11 @@ body { } .message { + display: -webkit-flex; + -webkit-justify-content: center; + justify-content: center; + -webkit-align-items: center; + align-items: center; position: absolute; color: var(--pudding); padding: 1em; @@ -268,4 +279,4 @@ body { .jiggle { animation: jiggle 0.5s linear; -} \ No newline at end of file +}