This commit is contained in:
Nicolas Bally 2020-04-21 14:24:15 +02:00
parent 442dbda85a
commit 792fd9b603
2 changed files with 86 additions and 47 deletions

View File

@ -163,43 +163,39 @@
=link_to add_banner_public_banners_path(), :remote => true, :onclick => "$('#banner').show();$('#small_banner').closest('#small_banner').hide();" do =link_to add_banner_public_banners_path(), :remote => true, :onclick => "$('#banner').show();$('#small_banner').closest('#small_banner').hide();" do
#small_banner{:style => ("display:none;" if !session[:no_banner])} #small_banner{:style => ("display:none;" if !session[:no_banner])}
%span{:style => "font-size:20px;"} =image_tag "/covid.png"
=ic(:warning)
%br
Informations
%br
COVID-2019
#banner{:style => ("display:none;" if session[:no_banner])} #banner{:style => ("display:none;" if session[:no_banner])}
.left .banner_wrapper
%span{:style => "font-size:25px;"}=ic(:warning) .left
%br =image_tag "/covid.png"
COVID-2019 .right
.right %h4 Continuité de production
%p %p
%strong Jipé continue à produire %strong Jipé continue à produire
en prenant les mesures nécessaires pour en prenant les mesures nécessaires pour
%strong %strong
assurer la sécurité assurer la sécurité
de ses de ses
%strong collaborateurs, %strong collaborateurs,
de ses de ses
%strong prestataires %strong prestataires
et et
%strong fournisseurs. %strong fournisseurs.
%p %h4 Solutions durgence et pour laprès confinement
Après avoir fourni des %p
%strong structures pour faire face à lurgence, Après avoir fourni des
nous pouvons %strong structures pour faire face à lurgence,
%strong dès maintenant nous pouvons
vous proposer des %strong dès maintenant
%strong solutions pour gérer laprès confinement vous proposer des
(salles externes, douches de décontamination, sanitaires, lieux disolement…) %strong solutions pour gérer laprès confinement
(salles externes, douches de décontamination, sanitaires, lieux disolement…)
%p.actions %p.actions
=link_to "En savoir plus", "/fr/blog/covid-19-jipe-continue-a-produire-et-propose-des-solutions.html" =link_to "En savoir plus", "/fr/blog/covid-19-jipe-continue-a-produire-et-propose-des-solutions.html"
=link_to "Nous contacter", "/fr/contact.html" =link_to "Nous contacter", "/fr/contact.html"
@ -208,27 +204,36 @@
.clear .clear
:scss :scss
.banner_wrapper{
max-width:950px;
margin:auto;
}
#small_banner{ #small_banner{
position:absolute; position:absolute;
top:50px; top:70px;
left:0; left:0;
background:#ffedcd; background:#F9F1E4;
color:#333f48; color:#DB3028;
color:#BF2F2A;
font-size:14px; font-size:14px;
text-align:center; text-align:center;
padding:10px 30px; padding:10px 40px;
z-index:10; z-index:10;
font-weight:bold; font-weight:bold;
img{
width:100px;
}
} }
#banner{ #banner{
background:#ffedcd; background:#F9F1E4;
color:#333f48; color:#333f48;
padding:20px 20px; padding:30px 20px;
font-size:14px; font-size:14px;
position:relative; position:relative;
p{ p{
@ -238,10 +243,11 @@
.actions{ .actions{
a{ a{
padding:4px 8px; padding:4px 8px;
border:1px solid #BF2F2A; border:1px solid #DB3028;
display:inline-block; display:inline-block;
margin-right:8px; margin-right:8px;
margin-top:8px; margin-top:8px;
color:#DB3028;
} }
} }
@ -251,18 +257,51 @@
} }
.right{ .right{
margin-left:200px; margin-left:230px;
h4{
margin-bottom:-4px;
color:#DB3028;
}
} }
.left{ .left{
color:#BF2F2A; color:#BF2F2A;
font-size:18px; font-size:18px;
float:left; float:left;
text-align:center; text-align:left;
width:200px; width:250px;
img{
max-width:180px;display:block;margin:30px 10px;
}
margin-left:-10px; margin-left:-10px;
padding-top:30px;
}
}
@media screen and (max-width: 820px){
#small_banner{
img{
width:50px;
}
padding:8px 15px;
}
#banner{
.right{
margin:0;
padding-bottom:50px;
}
.left{
float:none;
width:100%;
img{
margin:auto;
}
}
} }
} }

BIN
public/covid.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB