Finding the best font solution

This commit is contained in:
Firq 2024-10-22 22:54:02 +02:00
parent e11130ce1a
commit c0588ee760
Signed by: Firq
GPG key ID: 3ACC61C8CEC83C20
7 changed files with 14 additions and 22 deletions
src/pages

View file

@ -1,5 +1,4 @@
---
import '@fontsource-variable/work-sans';
import { Image } from 'astro:assets'
import Layout from '../layouts/Layout.astro'
import sadshishou from '../assets/shishousad.webp'
@ -32,7 +31,7 @@ const description = "Error. This shouldn't happen :/"
align-items: center;
}
h2 {
font-family: 'Work Sans', 'Helvetica Neue', Helvetica, Helvetica, Arial, sans-serif;
font-family: 'Work Sans Variable', sans-serif;
font-weight: 500;
color: white;
font-size: 1.25rem;
@ -45,8 +44,8 @@ const description = "Error. This shouldn't happen :/"
a {
text-align: center;
width: fit-content;
font-weight: 600;
font-family: 'Work Sans', 'Helvetica Neue', Helvetica, Helvetica, Arial, sans-serif;
font-weight: 500;
font-family: 'Work Sans Variable', sans-serif;
color: white;
margin: 1rem 0px 0px;
padding: 0.5rem 0.75rem;