From c2fc6940aefd92514e46a3b1431c32946ff7ab53 Mon Sep 17 00:00:00 2001 From: yCENzh <166907745+yCENzh@users.noreply.github.com> Date: Sat, 6 Sep 2025 10:03:25 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AEbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/control/ButtonLink.astro | 2 +- src/components/widget/Profile.astro | 2 +- src/pages/friends.astro | 6 +++--- src/styles/markdown.css | 2 ++ src/styles/variables.styl | 4 ++-- 5 files changed, 9 insertions(+), 7 deletions(-) diff --git a/src/components/control/ButtonLink.astro b/src/components/control/ButtonLink.astro index 603bec297..6977512f3 100644 --- a/src/components/control/ButtonLink.astro +++ b/src/components/control/ButtonLink.astro @@ -33,7 +33,7 @@ const { badge, url, label } = Astro.props; { badge !== undefined && badge !== null && badge !== '' &&
{ badge }
diff --git a/src/components/widget/Profile.astro b/src/components/widget/Profile.astro index b886c33c4..4ca4499f3 100644 --- a/src/components/widget/Profile.astro +++ b/src/components/widget/Profile.astro @@ -22,7 +22,7 @@ const config = profileConfig;
{config.name}
{config.bio}
-
+
{config.links.length > 1 && config.links.map(item => diff --git a/src/pages/friends.astro b/src/pages/friends.astro index 27a7c4acd..42b83eacb 100644 --- a/src/pages/friends.astro +++ b/src/pages/friends.astro @@ -12,10 +12,10 @@ import { Icon } from "astro-icon/components";

友链

- +
- -
yCENzhのBlog
+ +
yCENzh's Blog
Ciallo~(∠・ω< )⌒☆
diff --git a/src/styles/markdown.css b/src/styles/markdown.css index 1b2231eb0..ee73d6e87 100644 --- a/src/styles/markdown.css +++ b/src/styles/markdown.css @@ -26,6 +26,8 @@ underline decoration-[var(--link-underline)] decoration-1 decoration-dashed underline-offset-4; box-decoration-break: clone; -webkit-box-decoration-break: clone; + + display: inline-block; &:hover, &:active { @apply decoration-transparent; diff --git a/src/styles/variables.styl b/src/styles/variables.styl index 874d66d06..b523f2f20 100644 --- a/src/styles/variables.styl +++ b/src/styles/variables.styl @@ -92,8 +92,8 @@ define({ --admonitions-color-warning: oklch(0.7 0.14 60) oklch(0.75 0.14 60) --admonitions-color-caution: oklch(0.6 0.2 25) oklch(0.65 0.2 25) - --toc-badge-bg: oklch(0.9 0.045 var(--hue)) var(--btn-regular-bg) - --toc-btn-hover: oklch(0.92 0.015 var(--hue)) oklch(0.22 0.02 var(--hue)) + --toc-badge-bg: oklch(0.89 0.050 var(--hue)) var(--btn-regular-bg) + --toc-btn-hover: oklch(0.926 0.015 var(--hue)) oklch(0.22 0.02 var(--hue)) --toc-btn-active: oklch(0.90 0.015 var(--hue)) oklch(0.25 0.02 var(--hue)) --toc-width: calc((100vw - var(--page-width)) / 2 - 1rem) --toc-item-active: oklch(0.70 0.13 var(--hue)) oklch(0.35 0.07 var(--hue))