Skip to content

Commit

Permalink
Remove webfonts as a workaround for bug #11
Browse files Browse the repository at this point in the history
Include the fonts on your html to load them before printing.
  • Loading branch information
BafS committed Mar 3, 2017
1 parent ada0818 commit fb5d469
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 10 deletions.
2 changes: 1 addition & 1 deletion dist/themes/modern.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ h3,
h4,
h5,
h6 {
font-family: 'Montserrat', sans-serif; }
font-family: 'Montserrat', 'Arial Black' , 'Arial Bold', 'Helvetica Neue', Helvetica, sans-serif; }

body {
font-family: 'Open Sans', 'Helvetica Neue', Helvetica, arial, sans-serif;
Expand Down
2 changes: 1 addition & 1 deletion dist/themes/modern.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions dist/themes/oldstyle.css
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
@import url(https://fonts.googleapis.com/css?family=Crimson+Text:600);
h1,
h2,
h3,
h4,
h5,
h6 {
font-family: 'Crimson Text', serif; }
font-family: 'Crimson Text', Baskerville, 'Baskerville Old Face', 'Hoefler Text', Garamond, 'Times New Roman', serif; }

body {
font-family: Georgia, "Times New Roman", Times, serif;
Expand Down
2 changes: 1 addition & 1 deletion dist/themes/oldstyle.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions scss/themes/modern.scss
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
@import '../variables';

@import url(https://fonts.googleapis.com/css?family=Open+Sans:400,400italic,700,700italic);
@import url(https://fonts.googleapis.com/css?family=Montserrat:700);
// @import url(https://fonts.googleapis.com/css?family=Open+Sans:400,400italic,700,700italic);
// @import url(https://fonts.googleapis.com/css?family=Montserrat:700);

h1,
h2,
h3,
h4,
h5,
h6 {
font-family: 'Montserrat', sans-serif;
font-family: 'Montserrat', 'Arial Black' , 'Arial Bold', 'Helvetica Neue', Helvetica, sans-serif;
}

body {
Expand Down
4 changes: 2 additions & 2 deletions scss/themes/oldstyle.scss
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
@import '../variables';

@import url(https://fonts.googleapis.com/css?family=Crimson+Text:600);
// @import url(https://fonts.googleapis.com/css?family=Crimson+Text:600);

h1,
h2,
h3,
h4,
h5,
h6 {
font-family: 'Crimson Text', serif;
font-family: 'Crimson Text', Baskerville, 'Baskerville Old Face', 'Hoefler Text', Garamond, 'Times New Roman', serif;
}

body {
Expand Down

0 comments on commit fb5d469

Please sign in to comment.