Everything is now working
This commit is contained in:
parent
4a0f708c4f
commit
15659f2dc8
4 changed files with 6 additions and 2 deletions
|
@ -3,7 +3,7 @@ import styles from "../styles/About.module.css"
|
||||||
import Divider from "./Divider.astro"
|
import Divider from "./Divider.astro"
|
||||||
---
|
---
|
||||||
|
|
||||||
<section class={styles.about}>
|
<section class={styles.about} id="about">
|
||||||
<h2>About Me</h2>
|
<h2>About Me</h2>
|
||||||
<Divider />
|
<Divider />
|
||||||
<article class={styles.textArticle}>
|
<article class={styles.textArticle}>
|
||||||
|
|
|
@ -9,7 +9,7 @@ import styles from "../styles/Nav.module.css"
|
||||||
<a href="/#">Home</a>
|
<a href="/#">Home</a>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<a href="/#portfolio">My Projects</a>
|
<a href="/#portfolio">Projects</a>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<a href="/#about">About Me</a>
|
<a href="/#about">About Me</a>
|
||||||
|
|
|
@ -14,6 +14,7 @@ main {
|
||||||
}
|
}
|
||||||
|
|
||||||
main > section {
|
main > section {
|
||||||
|
scroll-margin-top: 8rem;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
border-radius: 1rem;
|
border-radius: 1rem;
|
||||||
|
|
|
@ -6,6 +6,9 @@
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
background: hsl(0 0% 0% / 0.4);
|
background: hsl(0 0% 0% / 0.4);
|
||||||
font-size: 1.5em;
|
font-size: 1.5em;
|
||||||
|
position: sticky;
|
||||||
|
top: 0;
|
||||||
|
z-index: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
.links svg {
|
.links svg {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue