Replace some h3 with h2.

This commit is contained in:
voussoir 2021-10-31 16:28:34 -07:00
parent bfe11cccd5
commit e2e0e13fb5
No known key found for this signature in database
GPG key ID: 5F7554F8C26DACCB
3 changed files with 15 additions and 15 deletions

View file

@ -24,7 +24,7 @@
{
max-height: 150px;
}
#album_metadata h2 .editor_input
#album_metadata h1 .editor_input
{
font-size: inherit;
font-weight: inherit;
@ -231,7 +231,7 @@ const ALBUM_ID = undefined;
<div id="left">
<div id="hierarchy_self" class="panel">
<div id="album_metadata">
<h2><span id="title_text">{{-album.display_name-}}</span></h2>
<h1><span id="title_text">{{-album.display_name-}}</span></h1>
<pre
id="description_text"
@ -258,12 +258,12 @@ const ALBUM_ID = undefined;
<div id="hierarchy_parents" class="panel">
{% set parents = album.get_parents() %}
{% if parents %}
<h3>{{parents|length}} Parents</h3>
<h2>{{parents|length}} Parents</h2>
{% for parent in parents %}
{{cards.create_album_card(parent, view=view)}}
{% endfor %}
{% else %}
<h3>1 Parent</h3>
<h2>1 Parent</h2>
{{cards.create_album_card("root", view=view)}}
{% endif %}
</div>
@ -271,7 +271,7 @@ const ALBUM_ID = undefined;
{% set sub_albums = album.get_children() %}
{% if sub_albums %}
<div id="hierarchy_children" class="panel">
<h3>{{sub_albums|length}} Children</h3>
<h2>{{sub_albums|length}} Children</h2>
{% for sub_album in sub_albums|sort(attribute='title') %}
{{cards.create_album_card(sub_album, view=view, unlink_parent=album, draggable=true)}}
{% endfor %}
@ -281,7 +281,7 @@ const ALBUM_ID = undefined;
{% set photos = album.get_photos() %}
{% if photos %}
<div id="hierarchy_photos" class="photos_holder panel">
<h3>{{photos|length}} Photos</h3>
<h2>{{photos|length}} Photos</h2>
<div id="photo_list">
{% for photo in photos|sort(attribute='basename', case_sensitive=False) %}
{{cards.create_photo_card(photo, view=view)}}
@ -294,7 +294,7 @@ const ALBUM_ID = undefined;
{% set has_child_photos = album.has_any_subalbum_photo() %}
{% if has_local_photos or has_child_photos %}
<div id="download_links" class="panel">
<h3>Download</h3>
<h2>Download</h2>
{% if has_local_photos %}
<p><a id="download_link_single" href="/album/{{album.id}}.zip?recursive=no">These files &ndash; {{album.sum_bytes(recurse=False)|bytestring}}</a></p>
{% endif %}

View file

@ -126,7 +126,7 @@
{% set parents = specific_tag.get_parents() %}
{% if parents %}
<div id="hierarchy_parents" class="panel">
<h3>{{parents|length}} Parents</h3>
<h2>{{parents|length}} Parents</h2>
<ul id="parent_list">
{% for ancestor in specific_tag.get_parents() %}
<li>
@ -142,7 +142,7 @@
<div id="hierarchy_tags" class="panel">
{% if specific_tag %}
<h3>{{tag_count - 1}} Descendants</h3>
<h2>{{tag_count - 1}} Descendants</h2>
{% else %}
<h1>{{tag_count}} Tags</h1>
{% endif %}
@ -218,7 +218,7 @@
{% if specific_tag and include_synonyms %}
{% set synonyms = specific_tag.get_synonyms() %}
<div id="hierarchy_synonyms" class="panel">
<h3>{{synonyms|length}} Synonyms</h3>
<h2>{{synonyms|length}} Synonyms</h2>
<ul>
{% for synonym in synonyms %}
<li>
@ -250,7 +250,7 @@
{% if specific_tag %}
<div id="hierarchy_recentphotos" class="panel">
<h3><a href="/search?tag_musts={{specific_tag.name}}&orderby=tagged_at-desc">Recent photos</a></h3>
<h2><a href="/search?tag_musts={{specific_tag.name}}&orderby=tagged_at-desc">Recent photos</a></h2>
<iframe
class="embedded_search"
src="/search_embed?tag_musts={{specific_tag.name}}&orderby=tagged_at-desc&yield_albums=no&limit=10"

View file

@ -36,7 +36,7 @@
{% set photos = user.get_photos(direction='desc')|islice(0, 15)|list %}
{% if photos %}
<div id="hierarchy_photos" class="panel">
<h3><a href="/search?author={{user.username}}">Photos by <span class="dynamic_user_display_name">{{user.display_name}}</span></a></h3>
<h2><a href="/search?author={{user.username}}">Photos by <span class="dynamic_user_display_name">{{user.display_name}}</span></a></h2>
{% for photo in photos %}
{{cards.create_photo_card(photo)}}
{% endfor %}
@ -46,7 +46,7 @@
{% set tags = user.get_tags(direction='desc')|islice(0, 100)|list %}
{% if tags %}
<div id="hierarchy_tags" class="panel">
<h3>Tags by <span class="dynamic_user_display_name">{{user.display_name}}</span></h3>
<h2>Tags by <span class="dynamic_user_display_name">{{user.display_name}}</span></h2>
{% for tag in tags %}
{{cards.create_tag_card(tag, with_alt_description=True)}}
{% endfor %}
@ -56,7 +56,7 @@
{% set albums = user.get_albums()|islice(0, 20)|list %}
{% if albums %}
<div id="hierarchy_albums" class="panel">
<h3>Albums by <span class="dynamic_user_display_name">{{user.display_name}}</span></h3>
<h2>Albums by <span class="dynamic_user_display_name">{{user.display_name}}</span></h2>
{% for album in albums %}
{{cards.create_album_card(album)}}
{% endfor %}
@ -66,7 +66,7 @@
{% set bookmarks = user.get_bookmarks()|islice(0, 50)|list %}
{% if bookmarks %}
<div id="hierarchy_bookmarks" class="panel">
<h3>Bookmarks by <span class="dynamic_user_display_name">{{user.display_name}}</span></h3>
<h2>Bookmarks by <span class="dynamic_user_display_name">{{user.display_name}}</span></h2>
{% for bookmark in bookmarks %}
{{cards.create_bookmark_card(bookmark, add_author=False)}}
{% endfor %}