From db57a5df2484c1d6ea74c7ebbf3c5b6909547752 Mon Sep 17 00:00:00 2001 From: Muhammad Nauman Raza Date: Mon, 25 Dec 2023 20:24:54 +0000 Subject: [PATCH] chore: some more scaling --- index.html | 2 +- style.css | 16 ++++++++++++---- 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/index.html b/index.html index 5c1a740..9491cbe 100644 --- a/index.html +++ b/index.html @@ -8,7 +8,7 @@ -
+

Devraza

diff --git a/style.css b/style.css index 99b3e0d..cc3cd61 100644 --- a/style.css +++ b/style.css @@ -2,7 +2,7 @@ body { background-color: #151517; color: #ece5ea; font-family: monospace; - font-size: 12pt; + font-size: 11pt; } h3 { @@ -15,14 +15,22 @@ h3 { display: block; margin-left: auto; margin-right: auto; - margin-top: 6%; - width: 17rem; + width: 15rem; +} + +.center { + margin: 0; + position: absolute; + top: 50%; + left: 50%; + -ms-transform: translate(-50%, -50%); + transform: translate(-50%, -50%); } .devraza { margin-top: 16px; margin-bottom: 0; - font-size: 70pt; + font-size: 60pt; text-align: center; font-weight: 900; }