diff --git a/static/src/css/pylote.css b/static/src/css/pylote.css index 249b099c427e104661ea68a263e50cf11a974361..e7cd2329bc2ec3e0d8b8e535be3ee66ea200bb53 100644 --- a/static/src/css/pylote.css +++ b/static/src/css/pylote.css @@ -1157,7 +1157,7 @@ a.link-name-blog{ .image-post img { margin: 0 auto; object-fit: cover; - height: 320px; + max-height: 320px; } .blogpost-content{ @@ -1673,9 +1673,3 @@ h2.o_default_snippet_text:after{ margin-top: 0px; width: 100%; } - -@media (min-width: 768px) - .image-box img { - height: auto; - } -} diff --git a/static/src/css/pylote_mobil.css b/static/src/css/pylote_mobil.css index 36457ff6bee67895f07aa251c95aa51718c06de4..89779f008a31416ab2c0c9e7b20a2d7a14b02f0c 100644 --- a/static/src/css/pylote_mobil.css +++ b/static/src/css/pylote_mobil.css @@ -5,7 +5,7 @@ } .home-header-title h1{ - font-size: 53px; + font-size: 53px; line-height: 57px; } @@ -35,7 +35,7 @@ .navbar-collapse{ height: inherit; - background-color: inherit; + background-color: inherit; } #wrapwrap .o_header_affix.affixed{ @@ -75,7 +75,7 @@ flex-direction: row; text-align: left; } - + .mission-flex{ text-align: left; } @@ -93,7 +93,7 @@ .mentions-border { text-align: left; - border: none; + border: none; padding: 0px 30px; border-left: 1px solid #fff; } @@ -120,7 +120,7 @@ } .contact-btn{ - text-align: right; + text-align: right; } .o_footer .d-flex{ @@ -133,8 +133,8 @@ } #menu-news .nav-link span{ - border-right: 1px solid #56A099; - border-left: 1px solid #56A099; + border-right: 1px solid #56A099; + border-left: 1px solid #56A099; padding: 0px 20px; } @@ -148,7 +148,7 @@ } .on-environment-banner .d-flex{ - justify-content: space-around; + justify-content: space-around; } .home-bloc{ @@ -171,10 +171,10 @@ left: 5px; } - .home-banner, - .banner-safer, - .banner-greener, - .banner-cleaner, + .home-banner, + .banner-safer, + .banner-greener, + .banner-cleaner, .banner-cleaner-second, .banner-cleaner-third, .our-company-banner{ @@ -233,8 +233,9 @@ } .image-box img{ - height: 210px; width: 215px; + height: auto; + max-height: 210px; } .content-box{ @@ -305,8 +306,8 @@ @media (min-width: 992px) { .on-environment-banner .d-flex{ - justify-content: space-between; - } + justify-content: space-between; + } .trait-title{ display: block; @@ -358,7 +359,7 @@ .link-bottom a{ margin: 0; display: initial; - margin-right: 10px; + margin-right: 10px; } .link-bottom h5{ @@ -373,6 +374,6 @@ } @media (min-width: 1200px) { .on-environment-banner .d-flex{ - justify-content: space-between; + justify-content: space-between; } }