diff --git a/src/components/GlobalStyles.astro b/src/components/GlobalStyles.astro index a135aa2..b9a3896 100644 --- a/src/components/GlobalStyles.astro +++ b/src/components/GlobalStyles.astro @@ -93,6 +93,8 @@ color_set({ --link-hover: oklch(0.95 0.025 var(--hue)) oklch(0.40 0.08 var(--hue)) --link-active: oklch(0.90 0.05 var(--hue)) oklch(0.35 0.07 var(--hue)) + --float-panel-bg: white oklch(0.19 0.015 var(--hue)) + --color-selection-bar: rainbow-light rainbow-dark --display-light-icon: 1 0 @@ -121,7 +123,13 @@ color_set({ @apply drop-shadow-[0_2px_4px_rgba(0,0,0,0.005)] } .link { + @apply transition hover:bg-[var(--link-hover)] active:bg-[var(--link-active)] rounded-md p-[4px] -m-[4px]; + } + .link-lg { @apply transition hover:bg-[var(--link-hover)] active:bg-[var(--link-active)] rounded-md p-[6px] -m-[6px]; } + .float-panel { + @apply rounded-[var(--radius-large)] overflow-hidden bg-[var(--float-panel-bg)] transition shadow-xl dark:shadow-none + } } \ No newline at end of file diff --git a/src/components/PostMetadata.astro b/src/components/PostMetadata.astro index edb0690..2db87ef 100644 --- a/src/components/PostMetadata.astro +++ b/src/components/PostMetadata.astro @@ -36,7 +36,7 @@ const className = Astro.props.class; class="with-divider" > {category} @@ -56,7 +56,7 @@ const className = Astro.props.class; class="with-divider" > {tag} diff --git a/src/components/misc/Markdown.astro b/src/components/misc/Markdown.astro index 6fb94da..6e31fdc 100644 --- a/src/components/misc/Markdown.astro +++ b/src/components/misc/Markdown.astro @@ -70,6 +70,7 @@ const className = Astro.props.class; color: var(--primary) blockquote font-style: normal + font-weight: inherit border-left-color: rgba(0,0,0,0) position: relative; &:before diff --git a/src/components/widget/DisplaySetting.astro b/src/components/widget/DisplaySetting.astro index a84c440..057a000 100644 --- a/src/components/widget/DisplaySetting.astro +++ b/src/components/widget/DisplaySetting.astro @@ -6,9 +6,7 @@ import {siteConfig} from "../../config"; const enableBanner = siteConfig.banner.enable; --- -