From 425a7232da18dab69ce396992b26f8bc4bb05d25 Mon Sep 17 00:00:00 2001 From: Caroline Girard Date: Tue, 26 Mar 2019 11:39:39 +0100 Subject: [PATCH] sub-footer --- app/assets/stylesheets/public.scss | 33 +++++++++++++++++++----------- app/views/layouts/public.html.haml | 4 ++++ 2 files changed, 25 insertions(+), 12 deletions(-) diff --git a/app/assets/stylesheets/public.scss b/app/assets/stylesheets/public.scss index f261108..fa6e62b 100644 --- a/app/assets/stylesheets/public.scss +++ b/app/assets/stylesheets/public.scss @@ -562,18 +562,7 @@ img, table{ margin-top: 0px; } //footer - #sub_footer #logos img { - height: 75px; - } - #sub_footer p { - padding: 0; - margin: 0; - position: relative; - right: 35%; -} - #footer .submit { - text-align: left; - } + //grandescultures @@ -631,4 +620,24 @@ img, table{ .rea-gal { text-align: center; } + + #sub_footer { + padding: 5px 0 !important; + text-align: center; + #logos { + padding: 20px; + img { + margin: 5px 12px !important; + } + } + + #place { + padding-right: 4% !important; + padding-left: 6% !important; + } + + img { + height: 70px !important; + } + } } diff --git a/app/views/layouts/public.html.haml b/app/views/layouts/public.html.haml index 16bddd8..b39cc95 100644 --- a/app/views/layouts/public.html.haml +++ b/app/views/layouts/public.html.haml @@ -211,6 +211,10 @@ #sub_footer #logos + + =link_to "https://groupe-payre.fr", :target => "_blank" do + =image_tag "/logo.png" + =link_to "https://payreagriculture.fr", :target => "_blank" do =image_tag "/payre-agriculture.png"