diff --git a/app/assets/stylesheets/public.scss b/app/assets/stylesheets/public.scss index e2f8fd8..6f62949 100644 --- a/app/assets/stylesheets/public.scss +++ b/app/assets/stylesheets/public.scss @@ -723,3 +723,27 @@ article{ } } + + +.actu_link{ + float:right; + margin:10px; + padding:8px 15px; + border:1px solid #69952f; + font-weight:bold; + color:#69952f; + margin-right:0; + + &:hover{ + background:#69952f; + color:white; + text-decoration:none; + } + + +} + +.actu_title{ + + margin-bottom:60px; +} \ No newline at end of file diff --git a/app/views/public/articles/index.html.haml b/app/views/public/articles/index.html.haml index a4e5781..1160940 100644 --- a/app/views/public/articles/index.html.haml +++ b/app/views/public/articles/index.html.haml @@ -1,5 +1,7 @@ -%h1=@index_title -%p=link_to "Actualités du réseau", reseau_path +=link_to "Actualités du réseau", reseau_path, :class => "actu_link" + +%h1.actu_title=@index_title + =render :partial => "index" diff --git a/app/views/public/articles/reseau.html.haml b/app/views/public/articles/reseau.html.haml index 7c4d7b7..eebd644 100644 --- a/app/views/public/articles/reseau.html.haml +++ b/app/views/public/articles/reseau.html.haml @@ -1,5 +1,6 @@ -%h1=@index_title -%p=link_to "Actualités du Pic Vert", articles_path +=link_to "Actualités du Pic Vert", articles_path, :class => "actu_link" + +%h1.actu_title=@index_title =render :partial => "index"