Fix layout bugs

Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
2025-09-11 17:43:07 +00:00
parent c52639e38f
commit 8fac4841d4
5 changed files with 14 additions and 13 deletions

View File

@@ -16,16 +16,6 @@ a:hover {
color: var(--text-800);
}
sup,
sub {
color: var(--text-600);
}
sup:hover,
sub:hover {
color: var(--text-800);
}
h1,
h2,
h3,
@@ -64,3 +54,11 @@ body {
flex: 1;
}
}
p {
margin: 1.5rem 0 1.5rem 0;
}
li:not(:last-child) {
margin-bottom: 0.5rem;
}

View File

@@ -1,7 +1,7 @@
.hero {
max-width: $width-content;
margin: 0 auto;
padding: 2rem;
padding: 2rem 2rem 0 2rem;
.title {
margin: 0;

View File

@@ -0,0 +1,2 @@
<sub>{{ .Get 0 | markdownify }}</sub>
{{- /* chomp trailing newline */ -}}

View File

@@ -0,0 +1,2 @@
<sup>{{ .Get 0 | markdownify }}</sup>
{{- /* chomp trailing newline */ -}}

View File

@@ -1,5 +1,4 @@
{{ $pages := .CurrentSection.Pages.ByDate }}
{{ $pages := .CurrentSection.Pages.ByDate.Reverse }}
<div class="postnav">
{{ with $pages.Prev . }}