From 1277996241c7ee47a7175b689d625aa9172e7e1b Mon Sep 17 00:00:00 2001 From: Kevin Date: Tue, 7 Jul 2020 18:53:09 +0200 Subject: [PATCH] fix css --- web/app/themes/la_mine/asset/dist/style.css | 36 +++++++++++++++++---- 1 file changed, 30 insertions(+), 6 deletions(-) diff --git a/web/app/themes/la_mine/asset/dist/style.css b/web/app/themes/la_mine/asset/dist/style.css index 79ae8346..ac695496 100644 --- a/web/app/themes/la_mine/asset/dist/style.css +++ b/web/app/themes/la_mine/asset/dist/style.css @@ -17,7 +17,7 @@ html{ /*START PARALAX*/ .paralax{ z-index: -1; - position: absolute; + position: absolute!important; width: 50%; } @@ -42,24 +42,33 @@ html{ top:0; width: 50%; } + .les-projets .paralax{ z-index: -1; } + .la-collecte .paralax{ z-index: -1; - width: 80%; + width: 50%; + top: 0; } + .la-benevole-zone .paralax{ z-index: -1; - width: 80%; + width: 50%; + top: 0; } + .privatiser-lespace .paralax{ z-index: -1; - width: 80%; + width: 30%; + top: 0; } + .privacy-policy .paralax{ z-index: -1; width: 70%; + top: 0; } /*END PARALAX*/ body { @@ -1082,7 +1091,22 @@ body.la-collecte .__header h3{ padding-bottom: 56.25%; /* 16:9 */ height: 0; } - #section_MineVideo .wrapper__content iframe { + .slide .video{ + position: relative; + width: 100%; + padding-bottom: 50%; + padding-top: 35px; + height: 100%; + overflow: hidden; + } + .slide .video iframe{ + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + } + #section_MineVideo .wrapper__content iframe{ position: absolute; top: 0; left: 0; @@ -1265,7 +1289,7 @@ body.la-collecte .__header h3{ -o-object-fit: cover; object-fit: cover; } - body.les-temps-forts section{ + body.les-temps-forts #content section{ margin-top: 100px; } body.les-temps-forts .title, body.les-temps-forts .next_edition {