update ui
This commit is contained in:
parent
ce146169af
commit
9c48a92ace
5 changed files with 14 additions and 10 deletions
|
@ -1226,6 +1226,10 @@ body {
|
|||
margin-top: 3rem;
|
||||
}
|
||||
|
||||
.mt-16 {
|
||||
margin-top: 4rem;
|
||||
}
|
||||
|
||||
.mt-24 {
|
||||
margin-top: 6rem;
|
||||
}
|
||||
|
@ -1258,16 +1262,16 @@ body {
|
|||
height: 2rem;
|
||||
}
|
||||
|
||||
.h-\[5rem\] {
|
||||
height: 5rem;
|
||||
.h-\[4\.5rem\] {
|
||||
height: 4.5rem;
|
||||
}
|
||||
|
||||
.h-full {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.min-h-\[calc\(100\%-10rem\)\] {
|
||||
min-height: calc(100% - 10rem);
|
||||
.min-h-\[calc\(100\%-9rem\)\] {
|
||||
min-height: calc(100% - 9rem);
|
||||
}
|
||||
|
||||
.w-1\/2 {
|
||||
|
|
|
@ -33,7 +33,7 @@
|
|||
{{ end }}<!---->
|
||||
|
||||
<html
|
||||
class="not-ready text-sm lg:text-base"
|
||||
class="not-ready lg:text-base"
|
||||
style="--bg: {{ $.Scratch.Get `bg_color` }}"
|
||||
lang="{{ site.LanguageCode }}"
|
||||
>
|
||||
|
@ -42,7 +42,7 @@
|
|||
{{ partial "header.html" . }}
|
||||
|
||||
<main
|
||||
class="prose prose-neutral relative mx-auto min-h-[calc(100%-10rem)] max-w-3xl px-8 pb-16 pt-12 dark:prose-invert"
|
||||
class="prose prose-neutral relative mx-auto min-h-[calc(100%-9rem)] max-w-3xl px-8 pb-16 pt-12 dark:prose-invert"
|
||||
>
|
||||
{{ block "main" . }}{{ end }}
|
||||
</main>
|
||||
|
|
|
@ -63,7 +63,7 @@
|
|||
|
||||
<!-- Main Nav -->
|
||||
{{ if gt $paginator.TotalPages 1 }}
|
||||
<nav class="mt-24 flex">
|
||||
<nav class="mt-16 flex">
|
||||
{{ if $paginator.HasPrev }}
|
||||
<a class="btn" href="{{ $paginator.Prev.URL }}">← {{ i18n "prev_page" }}</a>
|
||||
{{ end }}<!---->
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<footer
|
||||
class="opaco mx-auto flex h-[5rem] max-w-3xl items-center px-8 text-[0.9em] opacity-60"
|
||||
class="opaco mx-auto flex h-[4.5rem] max-w-3xl items-center px-8 text-[0.9em] opacity-60"
|
||||
>
|
||||
<div class="mr-auto">
|
||||
© {{ now.Year }}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<header class="mx-auto flex h-[5rem] max-w-3xl px-8 lg:justify-center">
|
||||
<header class="mx-auto flex h-[4.5rem] max-w-3xl px-8 lg:justify-center">
|
||||
<div class="relative z-50 mr-auto flex items-center">
|
||||
<a
|
||||
class="-translate-x-[1px] -translate-y-[1px] text-2xl font-semibold"
|
||||
|
@ -13,7 +13,7 @@
|
|||
</div>
|
||||
|
||||
<div
|
||||
class="btn-menu relative z-50 -mr-8 flex h-[5rem] w-[5rem] shrink-0 cursor-pointer flex-col items-center justify-center gap-2.5 lg:hidden"
|
||||
class="btn-menu relative z-50 -mr-8 flex h-[4.5rem] w-[5rem] shrink-0 cursor-pointer flex-col items-center justify-center gap-2.5 lg:hidden"
|
||||
role="button"
|
||||
aria-label="Menu"
|
||||
></div>
|
||||
|
|
Loading…
Reference in a new issue