feat: adjust some styles

This commit is contained in:
st1020 2023-10-23 20:44:40 +08:00
parent f9b448197c
commit 82f3f69af2
9 changed files with 122 additions and 64 deletions

View file

@ -66,7 +66,7 @@
{% for menu in config.extra.menu %}
<li>
<a
class="block py-2 text-center text-lg font-medium text-black dark:text-white lg:px-3 lg:py-0"
class="primary-link block py-2 text-center text-lg font-medium lg:px-3 lg:py-0"
href="{{ menu.url }}"
>{{ menu.name }}</a
>

View file

@ -10,7 +10,7 @@
{% for page in pages %}
<section
class="relative mb-4 rounded-lg bg-white/80 p-4 first-of-type:mt-0 last-of-type:mb-0 active:scale-95 dark:bg-white/[8%] lg:mb-6 lg:p-6"
class="block-bg relative mb-4 rounded-lg p-4 first-of-type:mt-0 last-of-type:mb-0 active:scale-95 lg:mb-6 lg:p-6"
>
<h2 class="!my-0 pb-1 font-bold !leading-none">{{ page.title }}</h2>