diff options
| author | Andrew Lee <alee14498@protonmail.com> | 2024-01-03 01:59:18 -0500 |
|---|---|---|
| committer | Andrew Lee <alee14498@protonmail.com> | 2024-01-03 01:59:18 -0500 |
| commit | a7c21128a440eebad4337e90baa95a16afb41a70 (patch) | |
| tree | 015fa148ceb7a22f22c56b6df9130a9c409bcbfb /src | |
| parent | dd7a71191a9e887624b2c537a00d8f30bab39337 (diff) | |
| download | personal-website-a7c21128a440eebad4337e90baa95a16afb41a70.tar.gz personal-website-a7c21128a440eebad4337e90baa95a16afb41a70.tar.bz2 personal-website-a7c21128a440eebad4337e90baa95a16afb41a70.zip | |
More padding; Moved styles to their own folder
Diffstat (limited to 'src')
| -rw-r--r-- | src/components/Navbar.astro | 6 | ||||
| -rw-r--r-- | src/pages/index.astro | 2 | ||||
| -rw-r--r-- | src/styles/Navbar.css (renamed from src/components/Navbar.css) | 4 | ||||
| -rw-r--r-- | src/styles/index.css (renamed from src/pages/index.css) | 0 |
4 files changed, 8 insertions, 4 deletions
diff --git a/src/components/Navbar.astro b/src/components/Navbar.astro index a838438..66433b8 100644 --- a/src/components/Navbar.astro +++ b/src/components/Navbar.astro @@ -1,9 +1,13 @@ --- -import "./Navbar.css" +import "../styles/Navbar.css" --- <nav> <ul class="nav-list"> <li class="nav-links"><a href="/" class="nav-link">Home</a></li> <li class="nav-links"><a href="#" class="nav-link">Projects</a></li> + <li class="nav-links"><a href="#" class="nav-link">Downloads</a></li> + <li class="nav-links"><a href="#" class="nav-link">Blog</a></li> + <li class="nav-links"><a href="#" class="nav-link">Guestbook</a></li> + <li class="nav-links"><a href="#" class="nav-link">Contacts</a></li> </ul> </nav> diff --git a/src/pages/index.astro b/src/pages/index.astro index 4c25869..faca29e 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -2,7 +2,7 @@ import Layout from '../layouts/Default.astro'; import { Icon } from 'astro-icon/components' import { Image } from 'astro:assets'; -import './index.css'; +import '../styles/index.css'; --- <Layout title="Andrew Lee"> diff --git a/src/components/Navbar.css b/src/styles/Navbar.css index 7b1a334..8c239e0 100644 --- a/src/components/Navbar.css +++ b/src/styles/Navbar.css @@ -1,7 +1,7 @@ nav { font-weight: 300; - padding-top: 20px; - padding-bottom: 30px; + padding-top: 2vh; + padding-bottom: 4.5vh; } ul.nav-list { list-style-type: none; diff --git a/src/pages/index.css b/src/styles/index.css index ddc1fc6..ddc1fc6 100644 --- a/src/pages/index.css +++ b/src/styles/index.css |
