feat: style tweaks

This commit is contained in:
saicaca
2024-08-02 02:18:37 +08:00
parent f96cf6fdae
commit 9af6cf956a
3 changed files with 10 additions and 5 deletions

View File

@@ -33,9 +33,9 @@ const hasBannerLink = !!(siteConfig.banner.credit.url)
>
<Icon class="text-white/75 text-[1.25rem] mr-1" name="material-symbols:copyright-outline-rounded" ></Icon>
<div class="text-white/75 text-xs">{siteConfig.banner.credit.text}</div>
<Icon class:list={["transition absolute text-[oklch(0.75_0.14_var(--hue))] right-2 text-[1.25rem] opacity-0",
<Icon class:list={["transition absolute text-[oklch(0.75_0.14_var(--hue))] right-4 text-[0.75rem] opacity-0",
{"group-hover:opacity-100": hasBannerLink}]}
name="material-symbols:chevron-right-rounded">
name="fa6-solid:arrow-up-right-from-square">
</Icon>
</a>}