diff --git a/src/components/GlobalStyles.astro b/src/components/GlobalStyles.astro index 62d2bd4..8be0be0 100644 --- a/src/components/GlobalStyles.astro +++ b/src/components/GlobalStyles.astro @@ -63,10 +63,10 @@ color_set({ --btn-regular-bg-hover: oklch(0.9 0.05 var(--hue)) oklch(0.38 0.04 var(--hue)) --btn-regular-bg-active: oklch(0.85 0.08 var(--hue)) oklch(0.43 0.045 var(--hue)) - --btn-plain-bg-hover: oklch(0.95 0.025 var(--hue)) oklch(0.2 0.02 var(--hue)) - --btn-plain-bg-active: oklch(0.98 0.01 var(--hue)) oklch(0.17 0.017 var(--hue)) + --btn-plain-bg-hover: oklch(0.95 0.025 var(--hue)) oklch(0.17 0.017 var(--hue)) + --btn-plain-bg-active: oklch(0.98 0.01 var(--hue)) oklch(0.19 0.017 var(--hue)) - --btn-card-bg-hover: oklch(0.96 0.015 var(--hue)) oklch(0.3 0.03 var(--hue)) + --btn-card-bg-hover: oklch(0.98 0.005 var(--hue)) oklch(0.3 0.03 var(--hue)) --btn-card-bg-active: oklch(0.9 0.03 var(--hue)) oklch(0.35 0.035 var(--hue)) --enter-btn-bg: var(--btn-regular-bg) diff --git a/src/components/Navbar.astro b/src/components/Navbar.astro index 93ccd45..628e359 100644 --- a/src/components/Navbar.astro +++ b/src/components/Navbar.astro @@ -22,7 +22,7 @@ function getLinkName(name: string) {
-
{Object.keys(getConfig().menu).map((key) => { - return + return })}
- +
- diff --git a/src/components/PostMetadata.astro b/src/components/PostMetadata.astro index 97c8632..e053494 100644 --- a/src/components/PostMetadata.astro +++ b/src/components/PostMetadata.astro @@ -14,7 +14,7 @@ const {pubDate, tags, categories} = Astro.props; const className = Astro.props.class; --- -
+
- diff --git a/src/components/widget/DisplaySetting.astro b/src/components/widget/DisplaySetting.astro index ba51853..769500f 100644 --- a/src/components/widget/DisplaySetting.astro +++ b/src/components/widget/DisplaySetting.astro @@ -56,22 +56,36 @@ const enableBanner = getConfig().banner.enable; border-radius: 2px; background: rgba(255, 255, 255, 0.7); box-shadow: none; + &:hover + background: rgba(255, 255, 255, 0.8); + &:active + background: rgba(255, 255, 255, 0.6); ::-moz-range-thumb -webkit-appearance: none; - height: 24px; - width: 10px; - border-radius: 4px; + height: 16px; + width: 8px; + border-radius: 2px; background: rgba(255, 255, 255, 0.7); box-shadow: none; + &:hover + background: rgba(255, 255, 255, 0.8); + &:active + background: rgba(255, 255, 255, 0.6); + &::-ms-thumb -webkit-appearance: none; - height: 24px; - width: 10px; - border-radius: 4px; + height: 16px; + width: 8px; + border-radius: 2px; background: rgba(255, 255, 255, 0.7); box-shadow: none; + &:hover + background: rgba(255, 255, 255, 0.8); + &:active + background: rgba(255, 255, 255, 0.6); + .banner-closed #display-setting diff --git a/src/components/widget/Profile.astro b/src/components/widget/Profile.astro index a652b9c..e518b0e 100644 --- a/src/components/widget/Profile.astro +++ b/src/components/widget/Profile.astro @@ -10,15 +10,15 @@ const className = Astro.props const vConf = getConfig(); --- -
- +
+
{vConf.profile.author}
{vConf.profile.subtitle}
{vConf.profile.links.map(item => - + )}
diff --git a/src/components/widget/SideBar.astro b/src/components/widget/SideBar.astro index c5bebc1..4df684a 100644 --- a/src/components/widget/SideBar.astro +++ b/src/components/widget/SideBar.astro @@ -7,7 +7,7 @@ import Categories from "./Categories.astro"; const className = Astro.props.class; --- -