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