summaryrefslogtreecommitdiff
path: root/src/components
diff options
context:
space:
mode:
authorKyren223 <Kyren223@proton.me>2024-11-14 13:48:19 +0200
committerKyren223 <Kyren223@proton.me>2024-11-14 13:48:19 +0200
commit85efa0fb9695e9f805c620ff689f47ce12b24e91 (patch)
tree0ede677de9ea8edf2ae4a6b4d04c758a4b50a2c1 /src/components
parentdebc09cb3bae4865d0b5e7101e7feaa04d75c859 (diff)
Fixed issue with font sizes, scaled it to 0.9rem (18.666 on the browser
thing), without the fonts it was 1rem = 18.6666 so I need to scale it, but only inside the <main> tag and not <html> otherwise it would also scale the entire website
Diffstat (limited to 'src/components')
-rw-r--r--src/components/Nav.astro6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/components/Nav.astro b/src/components/Nav.astro
index 7377f01..8d948f2 100644
--- a/src/components/Nav.astro
+++ b/src/components/Nav.astro
@@ -24,7 +24,7 @@ const directories = ["skills", "projects", "blogs"];
<style>
nav {
- font-weight: 300;
+ font-weight: 900;
display: flex;
justify-content: space-between;
border: 1.5px var(--alt);
@@ -37,13 +37,13 @@ const directories = ["skills", "projects", "blogs"];
margin-bottom: 0px;
margin-left: 0.15rem;
color: var(--primary);
- font-size: 1.25rem;
+ /* font-size: 1.25rem; */
}
#nav-links a:hover {
color: var(--accent);
}
#nav-path {
margin-right: 2rem;
- font-size: 1.25rem;
+ /* font-size: 1.25rem; */
}
</style>