From 59686a9b9b5dc216de321317110f5f190d969e77 Mon Sep 17 00:00:00 2001 From: Ayush Mukherjee Date: Sun, 15 Nov 2020 10:40:14 +0530 Subject: [PATCH] fix random issues --- src/scss/pages/_home.scss | 17 ++++++++++++----- src/views/Home.vue | 39 ++++++++++++++++++++++++--------------- 2 files changed, 36 insertions(+), 20 deletions(-) diff --git a/src/scss/pages/_home.scss b/src/scss/pages/_home.scss index ac62b2a..1b64a4a 100644 --- a/src/scss/pages/_home.scss +++ b/src/scss/pages/_home.scss @@ -3,6 +3,9 @@ main { display: flex; justify-content: space-between; padding: 60px 60px; + margin: 0 auto; + margin-bottom: 180px; + max-width: 1920px; .content { margin-top: 60px; @@ -27,8 +30,9 @@ main { .underline { display: inline-block; + z-index: 2; position: relative; - color: $primary; + color: $primary-dark; &::after { position: absolute; @@ -49,6 +53,7 @@ main { flex-direction: column; justify-content: center; align-items: center; + margin-bottom: 180px; .panel:nth-child(2) { @@ -58,11 +63,12 @@ main { .about { width: 100%; - margin-top: 150px; display: flex; flex-direction: column; justify-content: center; align-items: center; + margin-bottom: 180px; + padding-bottom: 100px; .profile { background: white; @@ -77,7 +83,7 @@ main { } .content { - max-width: 1000px; + max-width: 70%; display: flex; flex-direction: column; justify-content: center; @@ -123,7 +129,8 @@ main { } .contact { - margin: 120px 0; + margin-top: 50px; + margin-bottom: 180px; display: flex; flex-direction: column; justify-content: center; @@ -134,7 +141,7 @@ main { padding: 15px 30px; max-width: 500px; width: 100%; - background: $quaternary; + background: $tertiary; border-radius: 5px; box-shadow: 0 3px 15px rgba($secondary, 20%); diff --git a/src/views/Home.vue b/src/views/Home.vue index 8b90d50..ad7c264 100644 --- a/src/views/Home.vue +++ b/src/views/Home.vue @@ -1,25 +1,29 @@