From e9c094fc2f47a5f0851acf17cc3474af8e9bcdd5 Mon Sep 17 00:00:00 2001 From: danielgrippi Date: Wed, 16 Mar 2011 17:53:25 -0700 Subject: [PATCH] add styling on tag header --- app/views/posts/index.html.haml | 8 ++------ public/stylesheets/sass/application.sass | 11 ++++++++++- 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/app/views/posts/index.html.haml b/app/views/posts/index.html.haml index a3129fa9f..535c59bc0 100644 --- a/app/views/posts/index.html.haml +++ b/app/views/posts/index.html.haml @@ -14,12 +14,8 @@ = include_javascripts :home .span-24.last - %h1 - - if params[:tag] - = "##{params[:tag]}" - - - else - = t('.whatup', :pod => @pod_url) + %h1.tag + = "##{params[:tag]}" .span-15 #main_stream.stream diff --git a/public/stylesheets/sass/application.sass b/public/stylesheets/sass/application.sass index 332ee1b05..8ae7b603b 100644 --- a/public/stylesheets/sass/application.sass +++ b/public/stylesheets/sass/application.sass @@ -26,7 +26,7 @@ p :word-wrap break-word h1, h2, h3, h4, h5 - :color #444 + :color #333 :position relative :font :weight bold @@ -2774,6 +2774,7 @@ ul.show_comments :display none .tag + :display inline-block &:hover :text :decoration none @@ -2787,6 +2788,14 @@ ul.show_comments :font :weight bold +h1.tag + :border + :bottom 2px dotted $blue + &:hover + :border + :bottom 2px dotted $blue + + .info :overflow hidden :white-space nowrap