From de8345dc464b3f61ae8031681d2e25c5489a3c61 Mon Sep 17 00:00:00 2001 From: A Farzat Date: Fri, 22 Nov 2024 01:23:22 +0900 Subject: Fix margins --- sass/_main.scss | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'sass') diff --git a/sass/_main.scss b/sass/_main.scss index 26903f0..6651816 100644 --- a/sass/_main.scss +++ b/sass/_main.scss @@ -5,18 +5,23 @@ } .hero { display: flex; + justify-content: space-between; flex-wrap: wrap-reverse; - gap: 40*$px; + row-gap: 20*$px; + column-gap: 40*$px; + &__title { + margin: auto; + } &__img { flex: 1; + margin: auto; min-width: 320*$px; + max-width: 600*$px; max-height: 50vmax; } } .profile-pic { max-width: 100%; max-height: 100%; - display: block; - margin: auto; border-radius: 5*$px; } -- cgit v1.2.3-70-g09d2