From d46ecaa6dd69930496dd9909457747280d26b631 Mon Sep 17 00:00:00 2001 From: planetabhi Date: Mon, 25 Dec 2023 20:48:15 +0530 Subject: [PATCH] added gradient --- src/components/CategoryNavItem.css | 4 +- src/layouts/Layout.astro | 86 ++++++++++++++++++++++++++++-- 2 files changed, 84 insertions(+), 6 deletions(-) diff --git a/src/components/CategoryNavItem.css b/src/components/CategoryNavItem.css index dc499b6..55abbda 100644 --- a/src/components/CategoryNavItem.css +++ b/src/components/CategoryNavItem.css @@ -8,8 +8,7 @@ border-bottom: 2px solid transparent; font-family: var(--system-ui); font-weight: 400; - transition:all .12s ease-out; - opacity: 0.88; + color: var(--text-secondary-alt); } .nav__item:hover { @@ -20,5 +19,4 @@ font-weight: 500; color: var(--text-primary); border-bottom: 2px solid var(--icon-primary); - opacity: 1; } \ No newline at end of file diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro index 4285df2..54f3b13 100644 --- a/src/layouts/Layout.astro +++ b/src/layouts/Layout.astro @@ -70,6 +70,9 @@ const { site, title, tagline } = Astro.props; + + +

@@ -85,6 +88,11 @@ const { site, title, tagline } = Astro.props;
© 2023 Method Black. All rights reserved.

+ +
+
+
+