diff options
| author | 2023-05-11 20:36:14 +0200 | |
|---|---|---|
| committer | 2023-05-11 20:36:14 +0200 | |
| commit | 265cc32516307d41de575bf63d396f4312f3a383 (patch) | |
| tree | 5b0e539a52b2e4fbdd3afb2614e70d27545a5f0a /web | |
| parent | [frontend] Profiles with fields & more (#1764) (diff) | |
| download | gotosocial-265cc32516307d41de575bf63d396f4312f3a383.tar.xz | |
use more semantic headers for profile page (#1765)
Diffstat (limited to 'web')
| -rw-r--r-- | web/source/css/profile.css | 2 | ||||
| -rw-r--r-- | web/template/profile.tmpl | 6 | 
2 files changed, 4 insertions, 4 deletions
| diff --git a/web/source/css/profile.css b/web/source/css/profile.css index 125db3513..2c4e4dd68 100644 --- 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 index a9842b44c..fe1ac092d 100644 --- 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> | 
