From 9430992aef8592a06e10352902308dce2c7dc644 Mon Sep 17 00:00:00 2001 From: hendr-ik Date: Mon, 13 Nov 2023 21:33:29 +0100 Subject: [PATCH] splash screen fix 2 --- website/theme/static/css/styles.css | 6 +++--- website/theme/templates/index.html | 10 ++++++---- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/website/theme/static/css/styles.css b/website/theme/static/css/styles.css index ebefbc4..83ec1f5 100644 --- a/website/theme/static/css/styles.css +++ b/website/theme/static/css/styles.css @@ -38,7 +38,7 @@ COLORS LAYOUT ----------------------------------------------------*/ .splashContent { - min-height: calc(100vh -190px); + min-height: 100vh; } .splashCta { position: -webkit-sticky; @@ -101,13 +101,13 @@ IMAGES height: 448px; object-fit: none; } -@media only screen and (max-height: 800px) { +@media only screen and (max-height: 850px) { .imageCropSplash { height: 320px; object-fit: none; } } -@media only screen and (max-height: 650px) { +@media only screen and (max-height: 700px) { .imageCropSplash { height: 192px; object-fit: none; diff --git a/website/theme/templates/index.html b/website/theme/templates/index.html index bf57a8e..3dae1b3 100644 --- a/website/theme/templates/index.html +++ b/website/theme/templates/index.html @@ -17,14 +17,16 @@ - - -
-
+ +
+ + +