commit 265cc32516307d41de575bf63d396f4312f3a383
parent 9cc9ffc5a7edd5bcd4e51bd6b32dfdba5082dd24
Author: f0x52 <f0x@cthu.lu>
Date: Thu, 11 May 2023 20:36:14 +0200
use more semantic headers for profile page (#1765)
Diffstat:
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/web/source/css/profile.css b/web/source/css/profile.css
@@ -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;
diff --git a/web/template/profile.tmpl b/web/template/profile.tmpl
@@ -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>