From 9b61e5202fde27f6f966a5cb3f863d3ed847dafe Mon Sep 17 00:00:00 2001 From: Ayo Ayco Date: Sun, 21 Apr 2024 02:32:05 +0200 Subject: [PATCH] style: make non-nav links regular weight --- src/components/Nav.astro | 5 +++++ src/layouts/Layout.astro | 4 ---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/components/Nav.astro b/src/components/Nav.astro index e7fc225..bcf1604 100644 --- a/src/components/Nav.astro +++ b/src/components/Nav.astro @@ -70,4 +70,9 @@ if (Astro.url.pathname !== "/") { padding: 0.5em; } } + + a { + font-weight: bold; + } + diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro index a69bd18..ed4fd23 100644 --- a/src/layouts/Layout.astro +++ b/src/layouts/Layout.astro @@ -121,10 +121,6 @@ const { title, description } = Astro.props; border-radius: 0.4rem; } - a { - font-weight: bold; - } - @media (prefers-color-scheme: dark) { a { color: var(--color-brand-complement);