use more semantic headers for profile page (#1765)

This commit is contained in:
f0x52 2023-05-11 20:36:14 +02:00 committed by GitHub
parent 9cc9ffc5a7
commit 265cc32516
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -169,7 +169,7 @@
border-top-right-radius: $br;
padding: 0.75rem;
h3 {
h1, h2 {
font-size: 1.2rem;
line-height: 1.3rem;
margin: 0;

View File

@ -61,7 +61,7 @@
<section class="about-user">
<div class="col-header">
<h3>About</h3>
<h1>About</h1>
</div>
<div class="fields">
@ -99,7 +99,7 @@
<section class="toots">
{{ if .pinned_statuses }}
<div class="col-header">
<h3>Pinned posts</h3>
<h2>Pinned posts</h2>
<a href="#recent">jump to recent</a>
</div>
<section class="thread">
@ -112,7 +112,7 @@
{{ end }}
<div class="col-header">
<h3 id="recent" tabindex="-1">Recent posts</h3>
<h2 id="recent" tabindex="-1">Recent posts</h2>
{{ if .rssFeed }}
<a href="{{ .rssFeed }}" class="rss-icon" aria-label="RSS feed">
<i class="fa fa-rss-square" aria-hidden="true"></i>