Update style.css

Removed margins for <p> and added padding
This commit is contained in:
Nihaal Sharma
2023-05-20 13:16:32 +01:00
committed by GitHub
parent 8b80419a71
commit 51599deec1

View File

@@ -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 {