Skip to content

Commit

Permalink
self host fonts
Browse files Browse the repository at this point in the history
  • Loading branch information
s-crypt committed Mar 6, 2021
1 parent abd60b7 commit 204d922
Show file tree
Hide file tree
Showing 7 changed files with 23 additions and 3 deletions.
File renamed without changes.
File renamed without changes.
Binary file added fonts/oswald-v36-latin-700.woff
Binary file not shown.
Binary file added fonts/oswald-v36-latin-700.woff2
Binary file not shown.
Binary file added fonts/oswald-v36-latin-regular.woff
Binary file not shown.
Binary file added fonts/oswald-v36-latin-regular.woff2
Binary file not shown.
26 changes: 23 additions & 3 deletions styles.css
Original file line number Diff line number Diff line change
@@ -1,9 +1,29 @@
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;700&display=swap');
/* oswald-regular - latin */
@font-face {
font-family: 'Oswald';
font-style: normal;
font-weight: 400;
src:
url('../fonts/oswald-v36-latin-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
url('../fonts/oswald-v36-latin-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* oswald-700 - latin */
@font-face {
font-family: 'Oswald';
font-style: normal;
font-weight: 700;
src:
url('../fonts/oswald-v36-latin-700.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
url('../fonts/oswald-v36-latin-700.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}


@font-face {
font-family: 'SRF2';
src: url('SharkRandomFunnyness2.woff2') format('woff2'),
url('SharkRandomFunnyness2.woff') format('woff');
src:
url('../fonts/SharkRandomFunnyness2.woff2') format('woff2'),
url('../fonts/SharkRandomFunnyness2.woff') format('woff');
font-weight: normal;
font-style: normal;
font-display: swap;
Expand Down

0 comments on commit 204d922

Please sign in to comment.