mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2024-12-22 12:13:19 -06:00
Small spacing tweaks with page titles
This commit is contained in:
parent
0c248a4ca5
commit
fb40c8a4c3
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,9 +1,11 @@
|
|||||||
{{ define "main" }}
|
{{ define "main" }}
|
||||||
<h1>
|
<div class="author-name">
|
||||||
{{ partial "icon.html" "user-circle" }}
|
<h1>
|
||||||
{{ .Title | markdownify }}
|
{{ partial "icon.html" "user-circle" }}
|
||||||
{{ partial "rss-link.html" . }}
|
{{ .Title | markdownify }}
|
||||||
</h1>
|
{{ partial "rss-link.html" . }}
|
||||||
|
</h1>
|
||||||
|
</div>
|
||||||
|
|
||||||
{{ partial "post-metadata/author.html" . }}
|
{{ partial "post-metadata/author.html" . }}
|
||||||
|
|
||||||
|
@ -1,16 +1,18 @@
|
|||||||
{{ define "main" }}
|
{{ define "main" }}
|
||||||
<h1>
|
<div class="post-title">
|
||||||
{{ if eq .Data.Singular "tag" }}
|
<h1>
|
||||||
{{ partial "icon.html" "tag" }}
|
{{ if eq .Data.Singular "tag" }}
|
||||||
{{ else if eq .Data.Singular "category" }}
|
{{ partial "icon.html" "tag" }}
|
||||||
{{ partial "icon.html" "folder" }}
|
{{ else if eq .Data.Singular "category" }}
|
||||||
{{ else }}
|
{{ partial "icon.html" "folder" }}
|
||||||
{{ partial "icon.html" "filter" }}
|
{{ else }}
|
||||||
{{ end }}
|
{{ partial "icon.html" "filter" }}
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
{{ .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" . }}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user