diff --git a/app/views/public/m_odrs/show.html.haml b/app/views/public/m_odrs/show.html.haml index 2d5deff..384fb23 100644 --- a/app/views/public/m_odrs/show.html.haml +++ b/app/views/public/m_odrs/show.html.haml @@ -17,9 +17,9 @@ -background = (@m_odr.background_image_file ? @m_odr.background_image_file.file.url : "") :scss body{ - background:url('#{background}'); + background:url('#{background}') fixed; background-size:100%; - background-size:cover; + background-size: cover; } .odr_logo,.odr_banner{ width:90%; @@ -31,7 +31,7 @@ -if @m_odr.start_at > Date.today %div{:style => "font-weight:bold;font-weight:800;font-size:2em;text-transform:uppercase;font-family: 'Open Sans','Helvetica Neue', Helvetica, sans-serif;text-align:center;line-height:200px;position:relative;top:-35px"} -count = ((@m_odr.start_at) - (Date.today)) - Plus que + Démarrage dans .clock{:style => "margin:2em;display:inline-block;width:auto;margin:0 auto;position:relative;top:35px"} -if count > 1 jours !