diff --git a/app/assets/stylesheets/public.scss b/app/assets/stylesheets/public.scss index 1204c81..6338c2d 100755 --- a/app/assets/stylesheets/public.scss +++ b/app/assets/stylesheets/public.scss @@ -727,12 +727,37 @@ padding:5px 8px; } } +.mobile_only{ + + display:none; + + +} +.desktop_only{ + + display:block; + + +} @media screen and (max-width:880px) { + .desktop_only{ + + display:none; + + + } + + .mobile_only{ + + display:block; + + + } #services-bloc{ img{ margin-top:40px; diff --git a/app/views/layouts/public.html.haml b/app/views/layouts/public.html.haml index df48de0..3f81fb3 100755 --- a/app/views/layouts/public.html.haml +++ b/app/views/layouts/public.html.haml @@ -137,22 +137,24 @@ %h2{:style => "text-align:center;"} Contact %div{:style => "padding:30px 0;padding-top:0"} - %h3 Vous voulez travailler avec nous ? + %h3 Vous voulez travailler avec nous ? .row .columns.span_6 - .row - %table - %tr - %td - =image_tag "/icone-telephone.png" - %td - 09 50 11 76 71 - %br - 06 62 95 47 70 - %td - ou - %td - =image_tag "/icone-mail.png" + + .desktop_only + .row + %table + %tr + %td + =image_tag "/icone-telephone.png" + %td + 09 50 11 76 71 + %br + 06 62 95 47 70 + %td + ou + %td + =image_tag "/icone-mail.png" .row.idn_sign .columns.span_5{:style => "width:170px;"} @@ -167,6 +169,14 @@ %br %br =link_to "contact@idncommunication.com", "mailto:contact@idncommunication.com" + .mobile_only + %br + + 09 50 11 76 71 + %br + 06 62 95 47 70 + %br + %br .columns.span_6 .contact_form