Use h1 consistently on user pages

instead of h2s. This also removes odd one-time class usages on Account
Settings page.
pull/262/head
Matt Baer 5 years ago
parent 9fb12eea74
commit 5d754176e0
  1. 3
      less/core.less
  2. 2
      templates/user/articles.tmpl
  3. 2
      templates/user/collections.tmpl
  4. 2
      templates/user/export.tmpl
  5. 6
      templates/user/settings.tmpl

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

@ -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>

@ -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>

@ -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">

@ -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>

Loading…
Cancel
Save