From 28b5ac9215f00f019a5db1010e0504292b279a8a Mon Sep 17 00:00:00 2001 From: silverpill Date: Thu, 12 May 2022 18:32:04 +0000 Subject: [PATCH] Fix landing page layout --- src/views/LandingPage.vue | 112 +++++++++++++++++++++----------------- 1 file changed, 61 insertions(+), 51 deletions(-) diff --git a/src/views/LandingPage.vue b/src/views/LandingPage.vue index d9ee9db..6dfd15e 100644 --- a/src/views/LandingPage.vue +++ b/src/views/LandingPage.vue @@ -1,52 +1,54 @@ @@ -179,19 +181,24 @@ button { } .landing-page { - align-items: flex-start; background-color: #000; background-image: url("../assets/startpage.png"); background-repeat: no-repeat; background-size: cover; box-sizing: border-box; color: $text-color; + min-height: 100vh; + padding-top: 20vh; +} + +.instance-group { + align-items: flex-start; display: flex; flex-direction: row; gap: $content-gap; - justify-content: center; - min-height: 100vh; - padding-top: 20vh; + justify-content: space-between; + margin: 0 auto; + max-width: $wide-content-width + $content-gap + $wide-sidebar-width; } .instance-info { @@ -208,7 +215,7 @@ button { } .instance-description { - font-size: 28px; + font-size: 24px; line-height: 1.75; a { @@ -373,9 +380,12 @@ button { @media screen and (max-width: $screen-breakpoint-small) { .landing-page { + padding-top: $content-gap; + } + + .instance-group { flex-wrap: wrap; justify-content: flex-start; - padding-top: $content-gap; } .registration-form {