From 8b2a8c139dbe4186118da59cb000f27c51c434fd Mon Sep 17 00:00:00 2001 From: Nicolas Bally Date: Thu, 25 Jul 2013 18:19:12 +0200 Subject: [PATCH] =?UTF-8?q?image=20arri=C3=A8re=20plan=20accueil?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/assets/stylesheets/public/structure.less | 51 ++++++++++++++------ 1 file changed, 35 insertions(+), 16 deletions(-) diff --git a/app/assets/stylesheets/public/structure.less b/app/assets/stylesheets/public/structure.less index 4cc6c72..1374a5e 100644 --- a/app/assets/stylesheets/public/structure.less +++ b/app/assets/stylesheets/public/structure.less @@ -6,9 +6,10 @@ width:100%; z-index: 1; img{ - width:100%; + width:88%; position:absolute; - top:-100px; + top:0px; + left:350px; } } @@ -21,21 +22,7 @@ opacity:0.2; } -#midground { - background: url(/midground.png) repeat 20% 20%; - position: fixed; - top: 0; left: 0; right: 0; bottom: 0; - z-index: 1; - opacity:0.2; -} -#foreground { - background: url(/foreground.png) repeat 90% 110%; - position: fixed; - top: 0; left: 0; right: 0; bottom: 0; - z-index: 2; - opacity:0.2; -} #color_background{ @@ -238,6 +225,18 @@ display:none; @media only screen and (max-width: 1100px) { +#background1 { + + img{ + width:88%; + + top:0px; + left:280px; + } + +} + + #bandeau{ @@ -263,6 +262,26 @@ left:339px; @media only screen and (max-width: 800px) { + +#accueil{ +margin-left:1em !important; + + +} +#background1 { + + img{ + width:120%; + max-width:120%; + + top:100px; + left:0px; + + } + +} + + #bandeau{ position:static;