From 5d3654b04689b34bc05a31cb143ecb304d4eb4d2 Mon Sep 17 00:00:00 2001 From: hendr-ik Date: Mon, 13 Nov 2023 20:55:38 +0100 Subject: [PATCH] splash screen fix --- 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. +

+
+
+
+ +
+