fix tag header sizes
This commit is contained in:
@@ -6,9 +6,11 @@ $highlight_color: lighten($link_color, 45%);
|
||||
$h1_size: 2em;
|
||||
$h2_size: 1.5em;
|
||||
$h3_size: 1.16667em;
|
||||
$h4_size: 1em;
|
||||
$h1_padding: 1.25em 0;
|
||||
$h2_padding: 1.45833em 0;
|
||||
$h3_padding: 1.51785em 0;
|
||||
$h4_padding: 1.51785em 0;
|
||||
$baseline: 1em;
|
||||
$basefont: 100%;
|
||||
|
||||
|
||||
@@ -122,6 +122,10 @@ div#c-posts {
|
||||
}
|
||||
}
|
||||
|
||||
aside#sidebar #tag-list h2 {
|
||||
font-size: $h4_size;
|
||||
}
|
||||
|
||||
aside#sidebar > section#pool-sidebar {
|
||||
span.ui-icon {
|
||||
color: #666;
|
||||
|
||||
@@ -26,7 +26,7 @@ class TagSetPresenter < Presenter
|
||||
html = ""
|
||||
|
||||
if copyright_tags.any?
|
||||
html << '<h1>Copyrights</h1>'
|
||||
html << '<h2>Copyrights</h2>'
|
||||
html << "<ul>"
|
||||
copyright_tags.keys.each do |tag|
|
||||
html << build_list_item(tag, template, options)
|
||||
@@ -35,7 +35,7 @@ class TagSetPresenter < Presenter
|
||||
end
|
||||
|
||||
if character_tags.any?
|
||||
html << '<h1>Characters</h1>'
|
||||
html << '<h2>Characters</h2>'
|
||||
html << "<ul>"
|
||||
character_tags.keys.each do |tag|
|
||||
html << build_list_item(tag, template, options)
|
||||
@@ -44,7 +44,7 @@ class TagSetPresenter < Presenter
|
||||
end
|
||||
|
||||
if artist_tags.any?
|
||||
html << '<h1>Artist</h1>'
|
||||
html << '<h2>Artist</h2>'
|
||||
html << "<ul>"
|
||||
artist_tags.keys.each do |tag|
|
||||
html << build_list_item(tag, template, options)
|
||||
@@ -53,7 +53,7 @@ class TagSetPresenter < Presenter
|
||||
end
|
||||
|
||||
if general_tags.any?
|
||||
html << '<h1>Tags</h1>'
|
||||
html << '<h2>Tags</h2>'
|
||||
html << "<ul>"
|
||||
general_tags.keys.each do |tag|
|
||||
html << build_list_item(tag, template, options)
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
</section>
|
||||
<% end %>
|
||||
|
||||
<section>
|
||||
<section id="tag-list">
|
||||
<%= @post.presenter.split_tag_list_html(self) %>
|
||||
</section>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user