From a6b7cd08a9be7a7de1e8fbc45b202b6d6b8c4139 Mon Sep 17 00:00:00 2001 From: hendr-ik Date: Mon, 13 Nov 2023 20:57:20 +0100 Subject: [PATCH] splash screen fix (#6) (#7) Reviewed-on: https://git.offen.dev/offen.software/website/pulls/6 Reviewed-on: https://git.offen.dev/offen.software/website/pulls/7 --- website/theme/static/css/styles.css | 8 +++++++- website/theme/templates/index.html | 32 ++++++++++++++--------------- 2 files changed, 23 insertions(+), 17 deletions(-) diff --git a/website/theme/static/css/styles.css b/website/theme/static/css/styles.css index 90f2a5c..ebefbc4 100644 --- a/website/theme/static/css/styles.css +++ b/website/theme/static/css/styles.css @@ -38,7 +38,7 @@ COLORS LAYOUT ----------------------------------------------------*/ .splashContent { - min-height: 86vh; + min-height: calc(100vh -190px); } .splashCta { position: -webkit-sticky; @@ -107,6 +107,12 @@ IMAGES object-fit: none; } } +@media only screen and (max-height: 650px) { + .imageCropSplash { + height: 192px; + object-fit: none; + } +} .imageCrop { object-fit: none; } diff --git a/website/theme/templates/index.html b/website/theme/templates/index.html index 19f79d8..bf57a8e 100644 --- a/website/theme/templates/index.html +++ b/website/theme/templates/index.html @@ -5,26 +5,26 @@
-
-
- pattern -
+
+
+ pattern
- -
-

- We think up, create and ship software for organisations and individuals who embrace societal change. -

-
- -
- -
- + +
+

+ We think up, create and ship software for organisations and individuals who embrace societal change. +

+
+
+
+ +
+