From a742c6e4b4852ea149e90def47d5cffb2373f617 Mon Sep 17 00:00:00 2001 From: Ayush Mukherjee Date: Wed, 11 Nov 2020 14:22:11 +0530 Subject: [PATCH] refactor about section --- src/scss/pages/_home.scss | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/src/scss/pages/_home.scss b/src/scss/pages/_home.scss index 58489c8..ac62b2a 100644 --- a/src/scss/pages/_home.scss +++ b/src/scss/pages/_home.scss @@ -60,16 +60,16 @@ main { width: 100%; margin-top: 150px; display: flex; + flex-direction: column; justify-content: center; align-items: center; .profile { background: white; - max-width: 300px; - margin-right: 40px; - border: 4px solid $quaternary; + max-width: 200px; + margin-bottom: 40px; border-radius: 50%; - box-shadow: 0 3px 10px rgba($secondary, 20%); + box-shadow: 0 3px 10px rgba(black, 0.2); img { width: 100%; @@ -77,19 +77,18 @@ main { } .content { - max-width: 600px; + max-width: 1000px; + display: flex; + flex-direction: column; + justify-content: center; + align-items: center; .heading { span { - color: $primary; - font-size: $font-heading; + font-size: $font-hero; font-weight: $font-bold; } } - - .body { - margin: 30px 0; - } } }