From dc9377593aa0c97488af696acf0643094460ff96 Mon Sep 17 00:00:00 2001 From: hendr-ik Date: Mon, 13 Nov 2023 21:46:28 +0100 Subject: [PATCH] splash screen fix 3 (#10) Reviewed-on: https://git.offen.dev/offen.software/website/pulls/10 --- website/theme/static/css/styles.css | 6 +++--- website/theme/templates/index.html | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/website/theme/static/css/styles.css b/website/theme/static/css/styles.css index ebefbc4..8d2466f 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: calc(100vh- 4rem); } .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..aa12f6d 100644 --- a/website/theme/templates/index.html +++ b/website/theme/templates/index.html @@ -17,14 +17,14 @@ - - -
-
+ +
+