From e39fa50cd836f8a67cd1dad335a452cf24af7eae Mon Sep 17 00:00:00 2001 From: Nicolas Bally Date: Fri, 1 Jul 2011 12:07:41 +0200 Subject: [PATCH] divers css --- app/assets/stylesheets/public/public.scss | 9 ++++++--- app/views/public/home/show.html.haml | 7 ++++++- app/views/public/shared/_contact_block.html.haml | 3 ++- 3 files changed, 14 insertions(+), 5 deletions(-) diff --git a/app/assets/stylesheets/public/public.scss b/app/assets/stylesheets/public/public.scss index 6864de6..0172e38 100644 --- a/app/assets/stylesheets/public/public.scss +++ b/app/assets/stylesheets/public/public.scss @@ -34,7 +34,8 @@ body { h1, h2, h3, h4, h5, h6 { font-family: Georgia; font-weight: normal; - margin-top: 0px; } + margin-top: 0px; +color:#93c01f;} .menu a { color: RGB(100, 74, 60); text-decoration: none; @@ -183,6 +184,7 @@ border:1px solid #42210b; font-size: 18px; color: white; background: #93c01f; +text-align:center; &:first-child{ border-radius:9px 9px 0px 0px; -moz-border-radius:9px 9px 0px 0px; @@ -225,9 +227,10 @@ border:1px solid #42210b; width: 960px; margin: auto; #promotions_header{ - background: #6d563e; + background: #93c01f; + text-align:center; font-family: georgia; - font-size: 18px; + font-size: 22px; color: white; padding:10px; margin-bottom:20px; diff --git a/app/views/public/home/show.html.haml b/app/views/public/home/show.html.haml index b6871a1..5ac3f17 100644 --- a/app/views/public/home/show.html.haml +++ b/app/views/public/home/show.html.haml @@ -50,7 +50,8 @@ #promotions_header Promotions .column_1.column - + .cat + Cosmétiques -if @home.promotion_1 -promotion = @home.promotion_1 @@ -66,6 +67,8 @@ .description =link_to simple_format(promotion.description), "/pages/promotions.html" .column_2.column + .cat + Bébés -if @home.promotion_2 -promotion = @home.promotion_2 @@ -81,6 +84,8 @@ .description =link_to simple_format(promotion.description), "/pages/promotions.html" .column_3.column + .cat + Hygiène -if @home.promotion_3 -promotion = @home.promotion_3 diff --git a/app/views/public/shared/_contact_block.html.haml b/app/views/public/shared/_contact_block.html.haml index 1030fb1..0dc516f 100644 --- a/app/views/public/shared/_contact_block.html.haml +++ b/app/views/public/shared/_contact_block.html.haml @@ -48,7 +48,8 @@ =link_to "Plan d'accès", "/pages/infos-utiles.html" %br %br - info@pharmacieboissier.com + email : + =link_to "contact@pharmacieboissier.com", "mailto:contact@pharmacieboissier.com" %br %br tel : 04 76 65 35 69