summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--assets/css/main.css11
-rw-r--r--layouts/partials/single/next-prev.html2
2 files changed, 6 insertions, 7 deletions
diff --git a/assets/css/main.css b/assets/css/main.css
index ae16fea..cb4b89e 100644
--- a/assets/css/main.css
+++ b/assets/css/main.css
@@ -131,12 +131,13 @@ dl {
figure {
font-style: italic;
+ margin: var(--gap-small) 0 var(--gap-default) 0;
text-align: center;
}
h1, h2, h3, h4, h5, h6 {
line-height: var(--line-height-heading);
- margin: var(--gap-large) 0 var(--gap-small);
+ margin: var(--gap-large) 0 var(--gap-default);
}
h1 { font-size: var(--font-size-h1); }
@@ -182,10 +183,6 @@ time {
.highlight {
margin: 1rem auto;
- & code {
- white-space: wrap;
- }
-
& > pre {
border-radius: var(--border-radius-minimal);
padding: 0.5rem;
@@ -287,7 +284,7 @@ time {
/* POST CARD */
.post-card {
- margin: 0 auto;
+ margin: 0 auto 1.5rem;
width: 90%;
& .post-card__title {
@@ -325,7 +322,7 @@ time {
.post-card__tags-item {
background-color: var(--bg-special);
border-radius: var(--border-radius-max);
- color: #fff;
+ color: var(--text-color);
font-size: var(--font-size-small);
padding: 0.1rem 0.4rem;
}
diff --git a/layouts/partials/single/next-prev.html b/layouts/partials/single/next-prev.html
index b80e39a..73d48cf 100644
--- a/layouts/partials/single/next-prev.html
+++ b/layouts/partials/single/next-prev.html
@@ -1,4 +1,5 @@
{{- /* Navigation for Next and Previous Post */ -}}
+{{- if ne .Params.excludeFromLists true }}
<nav class="post__navigation" aria-label="{{ lang.Translate "post.navigation" | default "Post navigation" }}">
<ul class="post__navigation-list">
{{- with .PrevInSection }}
@@ -28,3 +29,4 @@
{{- end }}
</ul>
</nav>
+{{- end }}