Fix layout bugs
Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
@@ -16,16 +16,6 @@ a:hover {
|
|||||||
color: var(--text-800);
|
color: var(--text-800);
|
||||||
}
|
}
|
||||||
|
|
||||||
sup,
|
|
||||||
sub {
|
|
||||||
color: var(--text-600);
|
|
||||||
}
|
|
||||||
|
|
||||||
sup:hover,
|
|
||||||
sub:hover {
|
|
||||||
color: var(--text-800);
|
|
||||||
}
|
|
||||||
|
|
||||||
h1,
|
h1,
|
||||||
h2,
|
h2,
|
||||||
h3,
|
h3,
|
||||||
@@ -64,3 +54,11 @@ body {
|
|||||||
flex: 1;
|
flex: 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
p {
|
||||||
|
margin: 1.5rem 0 1.5rem 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
li:not(:last-child) {
|
||||||
|
margin-bottom: 0.5rem;
|
||||||
|
}
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
.hero {
|
.hero {
|
||||||
max-width: $width-content;
|
max-width: $width-content;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
padding: 2rem;
|
padding: 2rem 2rem 0 2rem;
|
||||||
|
|
||||||
.title {
|
.title {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
2
layouts/_shortcodes/sub.html
Normal file
2
layouts/_shortcodes/sub.html
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
<sub>{{ .Get 0 | markdownify }}</sub>
|
||||||
|
{{- /* chomp trailing newline */ -}}
|
2
layouts/_shortcodes/sup.html
Normal file
2
layouts/_shortcodes/sup.html
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
<sup>{{ .Get 0 | markdownify }}</sup>
|
||||||
|
{{- /* chomp trailing newline */ -}}
|
@@ -1,5 +1,4 @@
|
|||||||
{{ $pages := .CurrentSection.Pages.ByDate }}
|
{{ $pages := .CurrentSection.Pages.ByDate.Reverse }}
|
||||||
|
|
||||||
|
|
||||||
<div class="postnav">
|
<div class="postnav">
|
||||||
{{ with $pages.Prev . }}
|
{{ with $pages.Prev . }}
|
||||||
|
Reference in New Issue
Block a user