Skip to content

Commit

Permalink
style: fix fonts on safari browser
Browse files Browse the repository at this point in the history
  • Loading branch information
jonassimoen committed Oct 22, 2023
1 parent 927cdf4 commit 9de9088
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 0 deletions.
Binary file added src/assets/fonts/uefaeuro-bold.ttf
Binary file not shown.
Binary file added src/assets/fonts/uefaeuro-book.ttf
Binary file not shown.
Binary file added src/assets/fonts/uefaeuro-medium.ttf
Binary file not shown.
3 changes: 3 additions & 0 deletions src/styles/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -22,20 +22,23 @@
@font-face {
font-family: UEFAEuro;
src: url(/fonts/uefaeuro-bold.woff2);
src: url(/fonts/uefaeuro-bold.ttf);
font-weight: 500;
font-display: swap;
}

@font-face {
font-family: UEFAEuro;
src: url(/fonts/uefaeuro-medium.woff2);
src: url(/fonts/uefaeuro-medium.ttf);
font-weight: 400;
font-display: swap;
}

@font-face {
font-family: UEFAEuro;
src: url(/fonts/uefaeuro-book.woff2);
src: url(/fonts/uefaeuro-book.ttf);
font-weight: 300;
font-display: swap;
}
Expand Down

0 comments on commit 9de9088

Please sign in to comment.