From 4087d6d4e1c0515845fdd2a915e1460118d59900 Mon Sep 17 00:00:00 2001 From: RiseForever Date: Wed, 12 Aug 2026 19:40:40 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=B4=E5=83=8F=E9=80=BB=E8=BE=91=E6=9B=B4?= =?UTF-8?q?=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/assets/meta/7f3c91a2e64b.txt | 2 ++ public/media/cache/c4e29b718fd5.txt | 2 ++ public/resources/data/f17a8c46d293.txt | 2 ++ src/components/Masthead.astro | 6 +++--- 4 files changed, 9 insertions(+), 3 deletions(-) create mode 100644 public/assets/meta/7f3c91a2e64b.txt create mode 100644 public/media/cache/c4e29b718fd5.txt create mode 100644 public/resources/data/f17a8c46d293.txt diff --git a/public/assets/meta/7f3c91a2e64b.txt b/public/assets/meta/7f3c91a2e64b.txt new file mode 100644 index 0000000..e5cf546 --- /dev/null +++ b/public/assets/meta/7f3c91a2e64b.txt @@ -0,0 +1,2 @@ +RiseForever +RSV diff --git a/public/media/cache/c4e29b718fd5.txt b/public/media/cache/c4e29b718fd5.txt new file mode 100644 index 0000000..e5cf546 --- /dev/null +++ b/public/media/cache/c4e29b718fd5.txt @@ -0,0 +1,2 @@ +RiseForever +RSV diff --git a/public/resources/data/f17a8c46d293.txt b/public/resources/data/f17a8c46d293.txt new file mode 100644 index 0000000..e5cf546 --- /dev/null +++ b/public/resources/data/f17a8c46d293.txt @@ -0,0 +1,2 @@ +RiseForever +RSV diff --git a/src/components/Masthead.astro b/src/components/Masthead.astro index 257f8d4..b778440 100644 --- a/src/components/Masthead.astro +++ b/src/components/Masthead.astro @@ -122,8 +122,8 @@ const position = banner?.position ?? siteConfig.banner.position; .masthead-separator { font-family: Consolas, Menlo, Monaco, 'lucida_console', 'Liberation_Mono', 'Courier_New', 'andale_mono', monospaceX, monospace, sans-serif; } .masthead-date strong { font-family: var(--mirages-font-ui); font-weight: 400; } .masthead-category { font-family: var(--mirages-font-ui); } - .about-avatar { animation: avatar-rotate 8s ease-in-out infinite alternate; } - @keyframes avatar-rotate { from { transform: rotate(-2deg); } to { transform: rotate(2deg); } } + .about-avatar { transform: rotate(0deg); transition: transform 0.5s cubic-bezier(0.33, 1, 0.68, 1); } + .about-avatar:hover { transform: rotate(-32deg); } @media (min-width: 48rem) { section { height: var(--desktop-height); } } - @media (prefers-reduced-motion: reduce) { .about-avatar { animation: none; transform: none; } } + @media (prefers-reduced-motion: reduce) { .about-avatar { transition: none; transform: none; } .about-avatar:hover { transform: none; } }