From c5778f13563e975b893d6d81921b7dafcf414ef3 Mon Sep 17 00:00:00 2001 From: Arno Kaimbacher Date: Tue, 21 Dec 2021 14:58:22 +0100 Subject: [PATCH] - search page styling --- src/assets/scss/main-styles.scss | 29 +++++ src/components/vs-input/vs-input.vue | 114 +++++++++++++----- .../dataset-detail.component.vue | 1 + .../search-view/search-view-component.vue | 28 +---- 4 files changed, 113 insertions(+), 59 deletions(-) diff --git a/src/assets/scss/main-styles.scss b/src/assets/scss/main-styles.scss index 93c523d..97852b7 100644 --- a/src/assets/scss/main-styles.scss +++ b/src/assets/scss/main-styles.scss @@ -443,6 +443,35 @@ body { } +// search banner +.banner { + background-image: url(./../../assets/site/img/main-search-banner.jpg); + background-size: cover; + background-position-x: center; + background-position-y: 25%; + background-repeat: no-repeat; + padding: 6.2em 0 6.2em 0; + min-height: 400px; + width: 100%; + /* display: flex; + flex-direction: column; */ + justify-content: center; + align-items: center; +} + +.mz-5 { + margin-bottom: 1.5 rem; +} + +@media (max-width: 576px) { + .banner { + align-items: flex-start; + height: 400px; + } +} + + + @media only screen and (max-width: 580px) { .mobile-space { diff --git a/src/components/vs-input/vs-input.vue b/src/components/vs-input/vs-input.vue index 9b45084..04b7618 100644 --- a/src/components/vs-input/vs-input.vue +++ b/src/components/vs-input/vs-input.vue @@ -1,34 +1,39 @@