update ui
This commit is contained in:
parent
56bbd1d7b3
commit
7c63eae659
2 changed files with 16 additions and 20 deletions
|
@ -545,6 +545,11 @@ body {
|
||||||
max-width: 65ch;
|
max-width: 65ch;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.prose :where(p):not(:where([class~="not-prose"] *)) {
|
||||||
|
margin-top: 1.25em;
|
||||||
|
margin-bottom: 1.25em;
|
||||||
|
}
|
||||||
|
|
||||||
.prose :where([class~="lead"]):not(:where([class~="not-prose"] *)) {
|
.prose :where([class~="lead"]):not(:where([class~="not-prose"] *)) {
|
||||||
color: var(--tw-prose-lead);
|
color: var(--tw-prose-lead);
|
||||||
font-size: 1.25em;
|
font-size: 1.25em;
|
||||||
|
@ -897,11 +902,6 @@ body {
|
||||||
line-height: 1.75;
|
line-height: 1.75;
|
||||||
}
|
}
|
||||||
|
|
||||||
.prose :where(p):not(:where([class~="not-prose"] *)) {
|
|
||||||
margin-top: 1.25em;
|
|
||||||
margin-bottom: 1.25em;
|
|
||||||
}
|
|
||||||
|
|
||||||
.prose :where(video):not(:where([class~="not-prose"] *)) {
|
.prose :where(video):not(:where([class~="not-prose"] *)) {
|
||||||
margin-top: 2em;
|
margin-top: 2em;
|
||||||
margin-bottom: 2em;
|
margin-bottom: 2em;
|
||||||
|
@ -1369,8 +1369,14 @@ body {
|
||||||
border-radius: 0.5rem;
|
border-radius: 0.5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.rounded-md {
|
.rounded-l-md {
|
||||||
border-radius: 0.375rem;
|
border-top-left-radius: 0.375rem;
|
||||||
|
border-bottom-left-radius: 0.375rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.rounded-r-md {
|
||||||
|
border-top-right-radius: 0.375rem;
|
||||||
|
border-bottom-right-radius: 0.375rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.border-\[0\.5px\] {
|
.border-\[0\.5px\] {
|
||||||
|
@ -1401,14 +1407,6 @@ body {
|
||||||
padding: 1.5rem;
|
padding: 1.5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.p-1\.5 {
|
|
||||||
padding: 0.375rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.p-1 {
|
|
||||||
padding: 0.25rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.px-8 {
|
.px-8 {
|
||||||
padding-left: 2rem;
|
padding-left: 2rem;
|
||||||
padding-right: 2rem;
|
padding-right: 2rem;
|
||||||
|
|
|
@ -35,19 +35,17 @@
|
||||||
<!-- Post Nav -->
|
<!-- Post Nav -->
|
||||||
{{ $pages := where site.RegularPages "Type" "in" site.Params.mainSections }}<!---->
|
{{ $pages := where site.RegularPages "Type" "in" site.Params.mainSections }}<!---->
|
||||||
{{ if and (gt (len $pages) 1) (in $pages . ) }}
|
{{ if and (gt (len $pages) 1) (in $pages . ) }}
|
||||||
<nav
|
<nav class="mt-24 flex rounded-lg bg-black/[3%] text-lg dark:bg-white/[8%]">
|
||||||
class="mt-24 flex rounded-lg bg-black/[3%] p-1.5 text-lg dark:bg-white/[8%]"
|
|
||||||
>
|
|
||||||
{{ with $pages.Next . }}
|
{{ with $pages.Next . }}
|
||||||
<a
|
<a
|
||||||
class="flex w-1/2 items-center rounded-md p-6 pr-3 no-underline hover:bg-black/[2%]"
|
class="flex w-1/2 items-center rounded-l-md p-6 pr-3 no-underline hover:bg-black/[2%]"
|
||||||
href="{{ .Permalink }}"
|
href="{{ .Permalink }}"
|
||||||
><span class="mr-1.5">←</span><span>{{ .Name }}</span></a
|
><span class="mr-1.5">←</span><span>{{ .Name }}</span></a
|
||||||
>
|
>
|
||||||
{{ end }}<!---->
|
{{ end }}<!---->
|
||||||
{{ with $pages.Prev . }}
|
{{ with $pages.Prev . }}
|
||||||
<a
|
<a
|
||||||
class="ml-auto flex w-1/2 items-center justify-end rounded-md p-6 pl-3 no-underline hover:bg-black/[2%]"
|
class="ml-auto flex w-1/2 items-center justify-end rounded-r-md p-6 pl-3 no-underline hover:bg-black/[2%]"
|
||||||
href="{{ .Permalink }}"
|
href="{{ .Permalink }}"
|
||||||
><span>{{ .Name }}</span><span class="ml-1.5">→</span></a
|
><span>{{ .Name }}</span><span class="ml-1.5">→</span></a
|
||||||
>
|
>
|
||||||
|
|
Loading…
Reference in a new issue