style intro page

This commit is contained in:
r888888888
2013-07-03 13:10:23 -07:00
parent 742dc1e189
commit b21a0329ec
3 changed files with 5 additions and 3 deletions

View File

@@ -1,3 +1,5 @@
@import "../common/000_vars.css.scss";
div#c-explore-posts {
header {
text-align: center;
@@ -18,7 +20,7 @@ div#c-explore-posts {
}
div#a-intro {
width: 60em;
width: 870px;
margin: 0 auto;
text-align: center;
}

View File

@@ -6,7 +6,7 @@ module PostSets
def posts
@posts ||= begin
temp = ::Post.tag_match("#{tag_string} favcount:>10").paginate(page, :search_count => nil, :limit => 6)
temp = ::Post.tag_match("#{tag_string} favcount:>3").paginate(page, :search_count => nil, :limit => 5)
temp.all
temp
end

View File

@@ -14,7 +14,7 @@
<% @presenter.each do |tag, post_set| %>
<div class="posts">
<h2><%= link_to tag, posts_path(:tags => tag), :class => "tag-type-3" %></h2>
<h2><%= link_to tag, posts_path(:tags => tag) %></h2>
<%= post_set.presenter.post_previews_html(self) %>
<div class="clearfix"></div>
</div>