From cf5e8959998d30c4a70850a7d43e9e981a11d034 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kristj=C3=A1n=20Eldj=C3=A1rn?= Date: Sat, 23 Jul 2022 10:26:59 -0700 Subject: [PATCH] Reduced size of newsletter graphic #91 --- .../common/footer/footer.module.scss | 26 ++----------------- 1 file changed, 2 insertions(+), 24 deletions(-) diff --git a/src/components/common/footer/footer.module.scss b/src/components/common/footer/footer.module.scss index 90d4291..44ef7bd 100644 --- a/src/components/common/footer/footer.module.scss +++ b/src/components/common/footer/footer.module.scss @@ -17,12 +17,12 @@ &--section { background-image: url('/images/laconic_newsletter_dark.png'); background-position: 50%; - background-size: cover; + background-size: contain; display: flex; position: relative; align-items: center; justify-content: center; - height: calc(var(--vw) * 70); + height: calc(var(--vw) * 60); &::after, &::before { @@ -34,28 +34,6 @@ h2 { text-shadow: 0 0 tovw(40px, 'default', 40px) rgb(255 255 255 / 0.4); } - - .video { - position: absolute; - top: 0; - left: 0; - z-index: -2; - width: 100%; - height: 100%; - pointer-events: none; - user-select: none; - } - - .img { - position: absolute; - top: 35px; - left: 0; - z-index: -1; - width: 100%; - height: auto; - pointer-events: none; - user-select: none; - } } .form {