💄 Adjust leading on article pagination headings

This commit is contained in:
James Panther
2021-11-06 14:38:33 +11:00
parent a7c1f25c9c
commit ca3581fca7
2 changed files with 14 additions and 10 deletions
+6 -6
View File
@@ -1928,8 +1928,8 @@ body a, body button {
margin-right: 0.75rem;
}
.-mt-1 {
margin-top: -0.25rem;
.mt-\[0\.1rem\] {
margin-top: 0.1rem;
}
.ml-3 {
@@ -2336,14 +2336,14 @@ body a, body button {
line-height: 1.75rem;
}
.leading-3 {
line-height: .75rem;
}
.leading-6 {
line-height: 1.5rem;
}
.leading-3 {
line-height: .75rem;
}
.text-neutral-400 {
color: var(--color-neutral-400);
}
+8 -4
View File
@@ -8,8 +8,10 @@
<a class="flex" href="{{ .NextInSection.RelPermalink }}">
<span class="mr-3 article-pagination-direction">&larr;</span>
<span class="flex flex-col">
<span class="article-pagination-title">{{ .NextInSection.Title | emojify }}</span>
<span class="text-xs text-neutral-400 dark:text-neutral-500">
<span class="article-pagination-title mt-[0.1rem] leading-6"
>{{ .NextInSection.Title | emojify }}</span
>
<span class="mt-[0.1rem] text-xs text-neutral-400 dark:text-neutral-500">
{{ if .Params.showDate | default (.Site.Params.article.showDate | default true) }}
{{ partial "meta/date.html" . }}
{{ end }}
@@ -22,8 +24,10 @@
{{ if .PrevInSection }}
<a class="flex text-right" href="{{ .PrevInSection.RelPermalink }}">
<span class="flex flex-col">
<span class="article-pagination-title">{{ .PrevInSection.Title | emojify }}</span>
<span class="text-xs text-neutral-400 dark:text-neutral-500">
<span class="article-pagination-title mt-[0.1rem] leading-6"
>{{ .PrevInSection.Title | emojify }}</span
>
<span class="mt-[0.1rem] text-xs text-neutral-400 dark:text-neutral-500">
{{ if .Params.showDate | default (.Site.Params.article.showDate | default true) }}
{{ partial "meta/date.html" . }}
{{ end }}