From 16f33e30627700e09e39e42230988ce1815f4351 Mon Sep 17 00:00:00 2001
From: Benoit Lavenier <benoit.lavenier@e-is.pro>
Date: Wed, 18 Mar 2020 13:20:11 +0100
Subject: [PATCH] [fix] Fix home image max width
---
lib/style.css | 29 +++++++++++++++++++++++------
1 file changed, 23 insertions(+), 6 deletions(-)
diff --git a/lib/style.css b/lib/style.css
index 0410a05..31e0112 100644
--- a/lib/style.css
+++ b/lib/style.css
@@ -670,8 +670,7 @@ p.CTA-button button:hover
body#home main > section:nth-child(n+2)
{
color: var(--home-text-color);
- background-color: var(--home-bg-color);
- background: linear-gradient(0deg, rgba(238,239,231,1) 0%, rgba(246,247,239,1) 100%);
+ background: var(--home-bg-color) linear-gradient(0deg, rgba(238, 239, 231, 1) 0%, rgba(246, 247, 239, 1) 100%);
padding-bottom: 1rem;
/*overflow: hidden;*/
}
@@ -705,17 +704,35 @@ body#home #showcase h2#USP
text-align: center;
}
-body#home #showcase :not(figure) {
-
+body#home #showcase h2
+{
+ text-shadow: 3px 3px 5px rgba(26,35,126,0.9);
+}
+
+body#home #showcase p
+{
+ text-shadow: 1px 1px 2px rgba(26,35,126,0.9);
+}
+
+body#home #showcase a {
+ text-shadow: none;
+}
+
+body#home #showcase :not(figure)
+{
z-index: 666;
}
body#home #showcase h2#USP + p
{
- margin-top: 0rem;
+ margin-top: 0;
margin-bottom: 2rem;
}
+body#home #showcase div img {
+ max-height: 529px; // Avoid to large resizing
+}
+
@media screen and (max-width: 767px)
{
body#home #showcase div
@@ -1731,4 +1748,4 @@ a.current
{
font-weight: bold;
font-size: 1.25rem;
-}
\ No newline at end of file
+}
--
GitLab