1
0
Fork 0

refine ui

This commit is contained in:
nanxiaobei 2023-07-05 16:59:54 +08:00
parent 25331098e7
commit bd422a9d3e
3 changed files with 3 additions and 3 deletions

View file

@ -72,7 +72,7 @@
} }
article { article {
@apply text-lg leading-[1.9] text-black dark:text-white; @apply text-lg leading-[1.8] text-black dark:text-white;
} }
article pre { article pre {

View file

@ -1613,7 +1613,7 @@ body {
article { article {
font-size: 1.125rem; font-size: 1.125rem;
line-height: 1.75rem; line-height: 1.75rem;
line-height: 1.9; line-height: 1.8;
--tw-text-opacity: 1; --tw-text-opacity: 1;
color: rgb(0 0 0 / var(--tw-text-opacity)); color: rgb(0 0 0 / var(--tw-text-opacity));
} }

View file

@ -5,7 +5,7 @@
{{ $.Scratch.Delete "avatar_url" }}<!----> {{ $.Scratch.Delete "avatar_url" }}<!---->
<!-- bg_color --> <!-- bg_color -->
{{ $color_map := dict "linen" "#faf6f1" "wheat" "#f8f5d7" "gray" "#fbfbfb" {{ $color_map := dict "linen" "#faf8f1" "wheat" "#f8f5d7" "gray" "#fbfbfb"
"light" "#fff" }}<!----> "light" "#fff" }}<!---->
{{ $.Scratch.Set "bg_color" (index $color_map (site.Params.color | default {{ $.Scratch.Set "bg_color" (index $color_map (site.Params.color | default
(print "linen"))) }}<!----> (print "linen"))) }}<!---->