From fb40c8a4c338409fa59a4ebb21fe4c92e4624eed Mon Sep 17 00:00:00 2001 From: BBaoVanC Date: Wed, 20 Jul 2022 21:48:55 -0500 Subject: [PATCH] Small spacing tweaks with page titles --- assets/css/bobastyle.css | 9 +++++++-- layouts/authors/term.html | 12 +++++++----- layouts/taxonomy/term.html | 24 +++++++++++++----------- 3 files changed, 27 insertions(+), 18 deletions(-) diff --git a/assets/css/bobastyle.css b/assets/css/bobastyle.css index dba64fd..53ff964 100644 --- a/assets/css/bobastyle.css +++ b/assets/css/bobastyle.css @@ -159,6 +159,11 @@ margin-bottom: 10px; } +.post-title h1, +.author-name h1 { + margin: 0; +} + .post-title a, .author-name a { color: inherit; @@ -173,7 +178,7 @@ .post-metadata, .author-metadata { - margin-bottom: 15px; + margin-bottom: 24px; } .categories, @@ -823,7 +828,7 @@ li.disabled > .page-link:hover { /* Breadcrumb navigation */ -.breadcrumb { +.breadcrumb ul { margin: 30px 0 20px; } diff --git a/layouts/authors/term.html b/layouts/authors/term.html index f45b07e..22e3fc2 100644 --- a/layouts/authors/term.html +++ b/layouts/authors/term.html @@ -1,9 +1,11 @@ {{ define "main" }} -

- {{ partial "icon.html" "user-circle" }} - {{ .Title | markdownify }} - {{ partial "rss-link.html" . }} -

+
+

+ {{ partial "icon.html" "user-circle" }} + {{ .Title | markdownify }} + {{ partial "rss-link.html" . }} +

+
{{ partial "post-metadata/author.html" . }} diff --git a/layouts/taxonomy/term.html b/layouts/taxonomy/term.html index fe44a14..2e84b83 100644 --- a/layouts/taxonomy/term.html +++ b/layouts/taxonomy/term.html @@ -1,16 +1,18 @@ {{ define "main" }} -

- {{ if eq .Data.Singular "tag" }} - {{ partial "icon.html" "tag" }} - {{ else if eq .Data.Singular "category" }} - {{ partial "icon.html" "folder" }} - {{ else }} - {{ partial "icon.html" "filter" }} - {{ end }} +
+

+ {{ if eq .Data.Singular "tag" }} + {{ partial "icon.html" "tag" }} + {{ else if eq .Data.Singular "category" }} + {{ partial "icon.html" "folder" }} + {{ else }} + {{ partial "icon.html" "filter" }} + {{ end }} - {{ .Title | markdownify }} - {{ partial "rss-link.html" . }} -

+ {{ .Title | markdownify }} + {{ partial "rss-link.html" . }} +

+ {{ partial "post-metadata/taxonomy.html" . }}