diff --git a/src/components/About.astro b/src/components/About.astro index d4012e2..a6fef3a 100644 --- a/src/components/About.astro +++ b/src/components/About.astro @@ -3,7 +3,7 @@ import styles from "../styles/About.module.css" import Divider from "./Divider.astro" --- -
+

About Me

diff --git a/src/components/Nav.astro b/src/components/Nav.astro index 986da03..6a56b4b 100644 --- a/src/components/Nav.astro +++ b/src/components/Nav.astro @@ -9,7 +9,7 @@ import styles from "../styles/Nav.module.css" Home
  • - My Projects + Projects
  • About Me diff --git a/src/styles/Home.css b/src/styles/Home.css index 705db59..703a6e0 100644 --- a/src/styles/Home.css +++ b/src/styles/Home.css @@ -14,6 +14,7 @@ main { } main > section { + scroll-margin-top: 8rem; display: flex; flex-direction: column; border-radius: 1rem; diff --git a/src/styles/Nav.module.css b/src/styles/Nav.module.css index 556a6b5..d4cece3 100644 --- a/src/styles/Nav.module.css +++ b/src/styles/Nav.module.css @@ -6,6 +6,9 @@ font-weight: bold; background: hsl(0 0% 0% / 0.4); font-size: 1.5em; + position: sticky; + top: 0; + z-index: 1; } .links svg {