Skip to content

Commit

Permalink
Fix WOFF2 location (for docs)
Browse files Browse the repository at this point in the history
  • Loading branch information
ctrlcctrlv committed Dec 31, 2019
1 parent 5aeea12 commit aed7cb8
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 10 deletions.
1 change: 1 addition & 0 deletions docs/dist
14 changes: 7 additions & 7 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -64,37 +64,37 @@
<style>
@font-face {
font-family: TTE;
src: url(../dist/TT2020StyleE-Regular.woff2);
src: url(dist/TT2020StyleE-Regular.woff2);
}
@font-face {
font-family: TTD;
src: url(../dist/TT2020StyleD-Regular.woff2);
src: url(dist/TT2020StyleD-Regular.woff2);
}
@font-face {
font-family: TTB;
src: url(../dist/TT2020StyleB-Regular.woff2);
src: url(dist/TT2020StyleB-Regular.woff2);
font-weight: normal;
font-style: normal;
}

@font-face {
font-family: TTB_ita;
src: url(../dist/TT2020StyleB-Italic.woff2);
src: url(dist/TT2020StyleB-Italic.woff2);
font-weight: normal;
font-style: italic, oblique;
}

@font-face {
font-family: TTF;
src: url(../dist/TT2020StyleF-Regular-ASCII.woff2);
src: url(dist/TT2020StyleF-Regular-ASCII.woff2);
}
@font-face {
font-family: TTG;
src: url(../dist/TT2020StyleG-Regular-ASCII.woff2);
src: url(dist/TT2020StyleG-Regular-ASCII.woff2);
}
@font-face {
font-family: TT;
src: url(../dist/TT2020Base-Regular.woff2);
src: url(dist/TT2020Base-Regular.woff2);
}

*{font-display:block}
Expand Down
6 changes: 3 additions & 3 deletions docs/style.css
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
@font-face {
font-family: TTB;
src: url(../dist/TT2020StyleB-Regular.woff2);
src: url(dist/TT2020StyleB-Regular.woff2);
font-weight:bold;
}
@font-face {
font-family: TTE;
src: url(../dist/TT2020StyleE-Regular.woff2);
src: url(dist/TT2020StyleE-Regular.woff2);
font-style: normal;
}
@font-face {
font-family: TTE;
src: url(../dist/TT2020StyleE-Italic.woff2);
src: url(dist/TT2020StyleE-Italic.woff2);
font-weight: normal;
font-style: italic;
}
Expand Down

0 comments on commit aed7cb8

Please sign in to comment.