From 746901357a5fe077f9028379a8f445d92eccd124 Mon Sep 17 00:00:00 2001 From: albert Date: Wed, 7 Dec 2011 16:53:48 -0500 Subject: [PATCH] fix coloring for tags --- app/assets/stylesheets/specific/posts.css.scss | 6 +++--- app/views/comments/partials/index/_header.html.erb | 2 +- app/views/wiki_pages/_recent_changes.html.erb | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/app/assets/stylesheets/specific/posts.css.scss b/app/assets/stylesheets/specific/posts.css.scss index c54ef22ab..318f54f70 100644 --- a/app/assets/stylesheets/specific/posts.css.scss +++ b/app/assets/stylesheets/specific/posts.css.scss @@ -40,15 +40,15 @@ article.post-preview.post-status-flagged img { } div#c-posts { - li.category-1 a { + .category-1 a { color: #A00; } - li.category-3 a { + .category-3 a { color: #A0A; } - li.category-4 a { + .category-4 a { color: #0A0; } diff --git a/app/views/comments/partials/index/_header.html.erb b/app/views/comments/partials/index/_header.html.erb index 674b5c6fb..9b0811a2c 100644 --- a/app/views/comments/partials/index/_header.html.erb +++ b/app/views/comments/partials/index/_header.html.erb @@ -25,7 +25,7 @@
Tags <% post.tag_array.each do |tag_name| %> - + <%= link_to(tag_name.tr("_", " "), posts_path(:tags => tag_name)) %> <% end %> diff --git a/app/views/wiki_pages/_recent_changes.html.erb b/app/views/wiki_pages/_recent_changes.html.erb index 43b2a154e..fd60098f9 100644 --- a/app/views/wiki_pages/_recent_changes.html.erb +++ b/app/views/wiki_pages/_recent_changes.html.erb @@ -2,7 +2,7 @@

Recent Changes (<%= link_to "all", wiki_pages_path(:meta_sort => "updated_at.desc") %>)

    <% WikiPage.recent.each do |page| %> -
  • <%= link_to page.pretty_title, wiki_page_path(page) %>
  • +
  • <%= link_to page.pretty_title, wiki_page_path(page) %>
  • <% end %>