Use h1 consistently on user pages

instead of h2s. This also removes odd one-time class usages on Account
Settings page.
This commit is contained in:
Matt Baer 2020-02-10 15:06:13 -05:00
parent 9fb12eea74
commit 5d754176e0
5 changed files with 6 additions and 9 deletions

View File

@ -794,9 +794,6 @@ input {
&.snug {
max-width: 40em;
}
&.regular {
font-size: 1em;
}
.app {
+ .app {
margin-top: 1.5em;

View File

@ -10,7 +10,7 @@
{{template "user-silenced"}}
{{end}}
<h2 id="posts-header">drafts</h2>
<h1 id="posts-header">Drafts</h1>
{{ if .AnonymousPosts }}
<p>These are your draft posts. You can share them individually (without a blog) or move them to your blog when you're ready.</p>

View File

@ -10,7 +10,7 @@
{{if .Silenced}}
{{template "user-silenced"}}
{{end}}
<h2>blogs</h2>
<h1>Blogs</h1>
<ul class="atoms collections">
{{range $i, $el := .Collections}}<li class="collection"><h3>
<a class="title" href="/{{.Alias}}/">{{if .Title}}{{.Title}}{{else}}{{.Alias}}{{end}}</a>

View File

@ -2,7 +2,7 @@
{{template "header" .}}
<div class="snug content-container">
<h2 id="posts-header">Export</h2>
<h1 id="posts-header">Export</h1>
<p>Your data on {{.SiteName}} is always free. Download and back-up your work any time.</p>
<table class="classy export">

View File

@ -6,11 +6,11 @@
h3 { font-weight: normal; }
.section > *:not(input) { font-size: 0.86em; }
</style>
<div class="content-container snug regular">
<div class="content-container snug">
{{if .Silenced}}
{{template "user-silenced"}}
{{end}}
<h2>{{if .IsLogOut}}Before you go...{{else}}Account Settings {{if .IsAdmin}}<a href="/admin">admin settings</a>{{end}}{{end}}</h2>
<h1>{{if .IsLogOut}}Before you go...{{else}}Account Settings {{if .IsAdmin}}<a href="/admin">admin settings</a>{{end}}{{end}}</h1>
{{if .Flashes}}<ul class="errors">
{{range .Flashes}}<li class="urgent">{{.}}</li>{{end}}
</ul>{{end}}
@ -20,7 +20,7 @@ h3 { font-weight: normal; }
<p class="introduction">Please add an <strong>email address</strong> and/or <strong>passphrase</strong> so you can log in again later.</p>
</div>
{{ else }}
<div class="option">
<div>
<p>Change your account settings here.</p>
</div>