Small spacing tweaks with page titles

This commit is contained in:
BBaoVanC 2022-07-20 21:48:55 -05:00
parent 0c248a4ca5
commit fb40c8a4c3
Signed by: bbaovanc
GPG Key ID: 18089E4E3CCF1D3A
3 changed files with 27 additions and 18 deletions

View File

@ -159,6 +159,11 @@
margin-bottom: 10px; margin-bottom: 10px;
} }
.post-title h1,
.author-name h1 {
margin: 0;
}
.post-title a, .post-title a,
.author-name a { .author-name a {
color: inherit; color: inherit;
@ -173,7 +178,7 @@
.post-metadata, .post-metadata,
.author-metadata { .author-metadata {
margin-bottom: 15px; margin-bottom: 24px;
} }
.categories, .categories,
@ -823,7 +828,7 @@ li.disabled > .page-link:hover {
/* Breadcrumb navigation */ /* Breadcrumb navigation */
.breadcrumb { .breadcrumb ul {
margin: 30px 0 20px; margin: 30px 0 20px;
} }

View File

@ -1,9 +1,11 @@
{{ define "main" }} {{ define "main" }}
<div class="author-name">
<h1> <h1>
{{ partial "icon.html" "user-circle" }} {{ partial "icon.html" "user-circle" }}
{{ .Title | markdownify }} {{ .Title | markdownify }}
{{ partial "rss-link.html" . }} {{ partial "rss-link.html" . }}
</h1> </h1>
</div>
{{ partial "post-metadata/author.html" . }} {{ partial "post-metadata/author.html" . }}

View File

@ -1,4 +1,5 @@
{{ define "main" }} {{ define "main" }}
<div class="post-title">
<h1> <h1>
{{ if eq .Data.Singular "tag" }} {{ if eq .Data.Singular "tag" }}
{{ partial "icon.html" "tag" }} {{ partial "icon.html" "tag" }}
@ -11,6 +12,7 @@
{{ .Title | markdownify }} {{ .Title | markdownify }}
{{ partial "rss-link.html" . }} {{ partial "rss-link.html" . }}
</h1> </h1>
</div>
{{ partial "post-metadata/taxonomy.html" . }} {{ partial "post-metadata/taxonomy.html" . }}