From 51599deec1569b701752381f3a4965fa93c2645b Mon Sep 17 00:00:00 2001 From: Nihaal Sharma <69979447+neon443@users.noreply.github.com> Date: Sat, 20 May 2023 13:16:32 +0100 Subject: [PATCH] Update style.css Removed margins for

and added padding --- style.css | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/style.css b/style.css index 9f0b891..de8dd23 100644 --- a/style.css +++ b/style.css @@ -1,4 +1,4 @@ -* { +*{ box-sizing: border-box; } b{color:#007AFF} @@ -11,18 +11,18 @@ body{ } p{ font-size: 20px; - position: absolute; - top: 50%; - left: 50%; + padding: 20px; } h1{ font-size: 45px; font-weight: 800; + padding: 20px; } h2{ font-size: 30px; font-weight:300; margin-top:-38; + padding: 20px; } @media (prefers-color-scheme: dark) { body {