Skip to content
This repository has been archived by the owner on May 24, 2021. It is now read-only.

Commit

Permalink
fix(*): add FiraSans-Bold (fira sans v8 600) webfont to improve rende…
Browse files Browse the repository at this point in the history
…ring of bold in safari, change scss for chapter links to explicitly use bold when active
  • Loading branch information
monkeydom committed Sep 6, 2018
1 parent f52e723 commit fe856a8
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/components/tabs/chapters/ChapterEntry.vue
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,12 @@
&.active {
font-weight: 500;
.chapter--progress {
.info-link {
font-weight: bold;
}
}
}
.index {
Expand Down Expand Up @@ -223,7 +229,7 @@
}
.info-link {
font-weight: bolder;
font-weight: 500;
text-align: right;
}
Expand Down
8 changes: 8 additions & 0 deletions src/styles/_font.scss
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,14 @@
font-weight: 500;
}

@font-face {
font-family: Fira Sans;
src: url('~styles/fonts/FiraSans-Bold.eot') format('eot'),
url('~styles/fonts/FiraSans-Bold.woff') format('woff'),
url('~styles/fonts/FiraSans-Bold.woff2') format('woff2');
font-weight: 700;
}

@font-face {
font-family: Fira Mono;
src: url('~styles/fonts/FiraMono-Regular.eot') format('eot'),
Expand Down
Binary file added src/styles/fonts/FiraSans-Bold.eot
Binary file not shown.
Binary file added src/styles/fonts/FiraSans-Bold.woff
Binary file not shown.
Binary file added src/styles/fonts/FiraSans-Bold.woff2
Binary file not shown.

0 comments on commit fe856a8

Please sign in to comment.