From b95ba3c10b0862dfa8b6c516c7ebadbab7e70d4b Mon Sep 17 00:00:00 2001 From: Wituareard <87208350+Wituareard@users.noreply.github.com> Date: Wed, 21 May 2025 15:17:20 +0200 Subject: [PATCH 1/6] Improve typography --- src/lib/components/Navlink.svelte | 2 +- src/routes/+layout.svelte | 2 +- src/styles/styles.css | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/lib/components/Navlink.svelte b/src/lib/components/Navlink.svelte index 20322faf5..a2e1e4712 100644 --- a/src/lib/components/Navlink.svelte +++ b/src/lib/components/Navlink.svelte @@ -39,7 +39,7 @@ font-weight: 700; color: var(--text); text-decoration: none; - font-size: 1.1rem; + font-size: 1.2rem; } a.first { diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte index 29b958aeb..d8b5e4479 100644 --- a/src/routes/+layout.svelte +++ b/src/routes/+layout.svelte @@ -14,7 +14,7 @@ import { deLocalizeHref } from '$lib/paraglide/runtime' - import '@fontsource/roboto-slab/300.css' + import '@fontsource/roboto-slab/400.css' import '@fontsource/roboto-slab/700.css' import '@fontsource/saira-condensed/700.css' diff --git a/src/styles/styles.css b/src/styles/styles.css index 15018e201..57bb66ed7 100644 --- a/src/styles/styles.css +++ b/src/styles/styles.css @@ -8,7 +8,7 @@ html { --font-heading: 'Saira Condensed', Impact, sans-serif; /* Major theme stuff */ - --page-width: 40rem; + --page-width: 45rem; /* Colors */ --t-color-main: #ff9416; /* Default main color, approximately hsl(32, 100%, 54%)*/ @@ -80,7 +80,7 @@ html { accent-color: var(--link); background-image: var(--background); background-attachment: fixed; - font-size: 1.2rem; + font-size: 1.1rem; } img { @@ -144,7 +144,7 @@ a:hover { } p { - font-weight: 300; + font-weight: 400; } .prose { From 408dafa2e1b02b65a6f7023f5230fb1d4112abaa Mon Sep 17 00:00:00 2001 From: Wituareard <87208350+Wituareard@users.noreply.github.com> Date: Wed, 21 May 2025 15:22:21 +0200 Subject: [PATCH 2/6] Adjust logo size --- src/routes/header.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routes/header.svelte b/src/routes/header.svelte index 2e493dbc1..cd5aa3011 100644 --- a/src/routes/header.svelte +++ b/src/routes/header.svelte @@ -57,7 +57,7 @@