Skip to content
Snippets Groups Projects
Commit 16f33e30 authored by Benoit Lavenier's avatar Benoit Lavenier
Browse files

[fix] Fix home image max width

parent 1e29d736
No related branches found
No related tags found
No related merge requests found
...@@ -670,8 +670,7 @@ p.CTA-button button:hover ...@@ -670,8 +670,7 @@ p.CTA-button button:hover
body#home main > section:nth-child(n+2) body#home main > section:nth-child(n+2)
{ {
color: var(--home-text-color); color: var(--home-text-color);
background-color: var(--home-bg-color); background: var(--home-bg-color) linear-gradient(0deg, rgba(238, 239, 231, 1) 0%, rgba(246, 247, 239, 1) 100%);
background: linear-gradient(0deg, rgba(238,239,231,1) 0%, rgba(246,247,239,1) 100%);
padding-bottom: 1rem; padding-bottom: 1rem;
/*overflow: hidden;*/ /*overflow: hidden;*/
} }
...@@ -705,17 +704,35 @@ body#home #showcase h2#USP ...@@ -705,17 +704,35 @@ body#home #showcase h2#USP
text-align: center; 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; z-index: 666;
} }
body#home #showcase h2#USP + p body#home #showcase h2#USP + p
{ {
margin-top: 0rem; margin-top: 0;
margin-bottom: 2rem; margin-bottom: 2rem;
} }
body#home #showcase div img {
max-height: 529px; // Avoid to large resizing
}
@media screen and (max-width: 767px) @media screen and (max-width: 767px)
{ {
body#home #showcase div body#home #showcase div
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment