This commit is contained in:
Nicolas Bally 2020-02-25 02:56:27 +01:00
parent 34f75eaad8
commit a77c20ac9c

View File

@ -17,7 +17,7 @@
-background = (@m_odr.background_image_file ? @m_odr.background_image_file.file.url : "") -background = (@m_odr.background_image_file ? @m_odr.background_image_file.file.url : "")
:scss :scss
body{ body{
background:url('#{background}'); background:url('#{background}') fixed;
background-size:100%; background-size:100%;
background-size: cover; background-size: cover;
} }
@ -31,7 +31,7 @@
-if @m_odr.start_at > Date.today -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"} %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)) -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"} .clock{:style => "margin:2em;display:inline-block;width:auto;margin:0 auto;position:relative;top:35px"}
-if count > 1 -if count > 1
jours ! jours !