Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nanxiaobei/hugo-paper.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornanxiaobei <nanxiaobei@gmail.com>2022-07-20 20:57:38 +0300
committernanxiaobei <nanxiaobei@gmail.com>2022-07-20 20:57:38 +0300
commit39ba5c2688950c2300031d55bd5f2eddc5e4d68f (patch)
treea81db7a3df325fdf63568d366bb111fe9b2deae2
parentfda6f0de2dc2ee6d79c9635d1d00ca985f9bac8e (diff)
update ui
-rw-r--r--assets/main.css5
-rw-r--r--layouts/partials/header.html2
2 files changed, 6 insertions, 1 deletions
diff --git a/assets/main.css b/assets/main.css
index f3b23a6..0830d7c 100644
--- a/assets/main.css
+++ b/assets/main.css
@@ -1640,6 +1640,11 @@ body {
line-height: 1.75rem;
}
+.text-2xl {
+ font-size: 1.5rem;
+ line-height: 2rem;
+}
+
.font-bold {
font-weight: 700;
}
diff --git a/layouts/partials/header.html b/layouts/partials/header.html
index 4c68936..51049c8 100644
--- a/layouts/partials/header.html
+++ b/layouts/partials/header.html
@@ -54,7 +54,7 @@
<nav class="lg:ml-12 lg:flex lg:flex-row lg:items-center lg:space-x-6">
{{ range . }}
<a
- class="block text-center text-3xl leading-[5rem] lg:text-base lg:font-normal"
+ class="block text-center text-2xl leading-[5rem] lg:text-base lg:font-normal"
href="{{ .URL }}"
>{{ .Name }}</a
>