From 85247d155e9d4e8555dd5c81732d73bc90b19499 Mon Sep 17 00:00:00 2001 From: Nicolas Bally Date: Sun, 12 Feb 2012 17:40:53 +0100 Subject: [PATCH] lien blog --- app/assets/stylesheets/public.css.scss | 15 +++++++++++++++ app/views/public/home/home.html.haml | 2 +- 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/app/assets/stylesheets/public.css.scss b/app/assets/stylesheets/public.css.scss index f12c8a1..362a5ad 100644 --- a/app/assets/stylesheets/public.css.scss +++ b/app/assets/stylesheets/public.css.scss @@ -274,6 +274,21 @@ body{ #articles{ margin-top:20px; width:560px; + + #bloglink{ + + display:block; + float:right; + font-size:16px; + padding-right:20px; + text-decoration:none; + &:hover{ + text-decoration:underline; + + } + + } + } diff --git a/app/views/public/home/home.html.haml b/app/views/public/home/home.html.haml index c114acb..a562d4f 100644 --- a/app/views/public/home/home.html.haml +++ b/app/views/public/home/home.html.haml @@ -79,7 +79,7 @@ #articles =render Article.recents.limit 3 - =link_to "Voir tout les articles du blog", articles_path() + =link_to "Voir tout les articles du blog", articles_path(), :id => "bloglink" %p{:style => "clear:both"}