diff options
author | dataCobra <datacobra@thinkbot.de> | 2020-12-05 21:04:16 +0300 |
---|---|---|
committer | dataCobra <datacobra@thinkbot.de> | 2020-12-05 21:04:16 +0300 |
commit | b2cfe733e611123d0e43d4f39dae0b66653110c6 (patch) | |
tree | 3aedbe3c8efc2ca0bc9ce3ea17682c886dd6d4c8 | |
parent | 59a5e07b03ead913f2f86af4556014055833f1ed (diff) |
Adjust appearance of page, list and term headings
Adjustment of the CSS of the h1 headlines of pages, lists and terms to
achieve a well-rounded look and feel.
-rw-r--r-- | layouts/404.html | 2 | ||||
-rw-r--r-- | layouts/_default/list.html | 4 | ||||
-rw-r--r-- | layouts/_default/terms.html | 2 | ||||
-rw-r--r-- | static/css/main.css | 5 |
4 files changed, 7 insertions, 6 deletions
diff --git a/layouts/404.html b/layouts/404.html index 279b549..397d77e 100644 --- a/layouts/404.html +++ b/layouts/404.html @@ -1,5 +1,5 @@ {{ define "main" -}} -<h2 class="page-title">{{ i18n "404title" }}</h2> +<h1 class="page-title">{{ i18n "404title" }}</h1> <p> {{ i18n "404text" }} </p> diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 2097c94..aa36069 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -1,8 +1,8 @@ {{ define "main" -}} {{ if isset .Data "Term" }} -<h2 class="page-title">{{ humanize .Data.Term }}</h2> +<h1 class="page-title">{{ humanize .Data.Term }}</h1> {{ else }} -<h2 class="page-title">{{ .Title }}</h2> +<h1 class="page-title">{{ .Title }}</h1> {{ end }} {{.Content}} <ul class="posts flat"> diff --git a/layouts/_default/terms.html b/layouts/_default/terms.html index 0730dc2..13024c4 100644 --- a/layouts/_default/terms.html +++ b/layouts/_default/terms.html @@ -1,5 +1,5 @@ {{ define "main" -}} -<h2 class="page-title">{{ .Name }}</h2> +<h1 class="page-title">{{ .Name }}</h1> <div class="tag-cloud"> {{ $max := len (index $.Site.Taxonomies.tags.ByCount 0).Pages }} {{ $min := len (index $.Site.Taxonomies.tags.ByCount.Reverse 0).Pages }} diff --git a/static/css/main.css b/static/css/main.css index 44a3017..da4fb0d 100644 --- a/static/css/main.css +++ b/static/css/main.css @@ -400,8 +400,9 @@ table th { } .page-title { - font-weight: 500; - margin-top: 0px; + font-weight: bold; + font-family: "Roboto Slab Regular", serif; + margin: -10px 0 10px 0; } .tag-cloud { |