fix coloring for tags
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
<div class="row list-of-tags">
|
||||
<strong>Tags</strong>
|
||||
<% post.tag_array.each do |tag_name| %>
|
||||
<span class="tag-type-<%= Tag.category_for(tag_name) %>">
|
||||
<span class="category-<%= Tag.category_for(tag_name) %>">
|
||||
<%= link_to(tag_name.tr("_", " "), posts_path(:tags => tag_name)) %>
|
||||
</span>
|
||||
<% end %>
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<h1>Recent Changes (<%= link_to "all", wiki_pages_path(:meta_sort => "updated_at.desc") %>)</h1>
|
||||
<ul>
|
||||
<% WikiPage.recent.each do |page| %>
|
||||
<li class="tag-category-<%= page.category_name %>"><%= link_to page.pretty_title, wiki_page_path(page) %></li>
|
||||
<li class="category-<%= page.category_name %>"><%= link_to page.pretty_title, wiki_page_path(page) %></li>
|
||||
<% end %>
|
||||
</ul>
|
||||
</section>
|
||||
|
||||
Reference in New Issue
Block a user