Another attempt at a major redesign, but for real this time, i swear

This commit is contained in:
Firq 2024-10-21 16:57:02 +02:00
parent 676e5e2b00
commit 9d8493273d
Signed by: Firq
GPG key ID: 3ACC61C8CEC83C20
10 changed files with 54 additions and 69 deletions
src/components/titles

View file

@ -1,6 +1,6 @@
---
import '@fontsource/work-sans/800.css'
import '@fontsource/work-sans/600.css'
import '@fontsource/work-sans/700.css'
import '@fontsource/work-sans/500.css'
export interface Props {
maintext: string
subtext: string
@ -22,7 +22,7 @@ const displayBackButton = returnbutton ? "": "display: none"
<style>
a {
font-weight: 600;
font-weight: 500;
font-family: 'Work Sans', 'Helvetica Neue', Helvetica, Helvetica, Arial, sans-serif;
color: white;
margin: 1rem 0px 0px;
@ -63,14 +63,14 @@ const displayBackButton = returnbutton ? "": "display: none"
hyphens: auto;
padding-top: 2rem;
font-size: 2rem;
font-weight: 800;
font-weight: 700;
font-family: 'Work Sans', 'Helvetica Neue', Helvetica, Helvetica, Arial,
sans-serif;
}
.sub {
font-size: 0.75rem;
font-weight: 600;
font-weight: 500;
font-family: 'Work Sans', 'Helvetica Neue', Helvetica, Helvetica, Arial,
sans-serif;
margin-top: 0.5em;
@ -103,7 +103,7 @@ const displayBackButton = returnbutton ? "": "display: none"
font-size: 4rem;
}
.sub {
font-size: 1rem;
font-size: 1.2rem;
}
}
</style>