Finding the best font solution
This commit is contained in:
parent
e11130ce1a
commit
c0588ee760
7 changed files with 14 additions and 22 deletions
src/components/titles
|
@ -1,6 +1,4 @@
|
|||
---
|
||||
import '@fontsource-variable/work-sans';
|
||||
|
||||
export interface Props {
|
||||
maintext: string
|
||||
subtext: string
|
||||
|
@ -23,7 +21,7 @@ const displayBackButton = returnbutton ? "": "display: none"
|
|||
<style>
|
||||
a {
|
||||
font-weight: 500;
|
||||
font-family: 'Work Sans', 'Helvetica Neue', Helvetica, Helvetica, Arial, sans-serif;
|
||||
font-family: 'Work Sans Variable', sans-serif;
|
||||
color: white;
|
||||
margin: 1rem 0px 0px;
|
||||
padding: 0.5rem 0.75rem;
|
||||
|
@ -64,16 +62,14 @@ const displayBackButton = returnbutton ? "": "display: none"
|
|||
padding-top: 2rem;
|
||||
font-size: 2rem;
|
||||
font-weight: 700;
|
||||
font-family: 'Work Sans', 'Helvetica Neue', Helvetica, Helvetica, Arial,
|
||||
sans-serif;
|
||||
font-family: 'Work Sans Variable', sans-serif;
|
||||
}
|
||||
|
||||
.sub {
|
||||
margin-top: 0.5em;
|
||||
font-size: 0.75rem;
|
||||
font-weight: 500;
|
||||
font-family: 'Work Sans', 'Helvetica Neue', Helvetica, Helvetica, Arial,
|
||||
sans-serif;
|
||||
font-family: 'Work Sans Variable', sans-serif;
|
||||
}
|
||||
|
||||
.head {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue