summaryrefslogtreecommitdiff
path: root/layouts/_partials/header.html
diff options
context:
space:
mode:
authorEltrac <hi@guhub.cn>2025-07-27 10:08:01 +0800
committerEltrac <hi@guhub.cn>2025-07-27 10:08:01 +0800
commit9cf7dc195d504a520e815ca441dc3d567e998923 (patch)
treed90daf331c489e1c8cd6f7d728f730ca83ac6c42 /layouts/_partials/header.html
parentf43a1c8a171b0535ecadd0ecc926073aa9873802 (diff)
refactor: enhance some details on header and footer
Diffstat (limited to 'layouts/_partials/header.html')
-rw-r--r--layouts/_partials/header.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/layouts/_partials/header.html b/layouts/_partials/header.html
index 754bbf2d..61b850e7 100644
--- a/layouts/_partials/header.html
+++ b/layouts/_partials/header.html
@@ -9,11 +9,11 @@
>
</div>
<!-- Navigation -->
- <div class="flex justify-center items-center gap-3 pl-4">
+ <div class="flex justify-center items-center gap-3 pl-4 text-size-sm md:text-size-base">
<nav class="my-4 flex justify-center items-center w-fit rounded-4 overflow-hidden">
{{ range .Site.Params.nav }}
- <a class="inline-block py-1 px-2 first:pl-3 last:pr-3
- block hover:no-underline
+ <a class="inline-block py-1 px-[0.35rem] md:px-2 first:pl-3 last:pr-3
+ block hover:no-underline text-nowrap
{{ if strings.Contains $.Page.RelPermalink .link }}
text-[var(--text-color)] bg-[var(--block-background-color)]
{{ else }}