Skip to content

Commit fb5d469

Browse files
committed
Remove webfonts as a workaround for bug #11
Include the fonts on your html to load them before printing.
1 parent ada0818 commit fb5d469

File tree

6 files changed

+9
-10
lines changed

6 files changed

+9
-10
lines changed

dist/themes/modern.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ h3,
66
h4,
77
h5,
88
h6 {
9-
font-family: 'Montserrat', sans-serif; }
9+
font-family: 'Montserrat', 'Arial Black' , 'Arial Bold', 'Helvetica Neue', Helvetica, sans-serif; }
1010

1111
body {
1212
font-family: 'Open Sans', 'Helvetica Neue', Helvetica, arial, sans-serif;

dist/themes/modern.min.css

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/themes/oldstyle.css

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
1-
@import url(https://fonts.googleapis.com/css?family=Crimson+Text:600);
21
h1,
32
h2,
43
h3,
54
h4,
65
h5,
76
h6 {
8-
font-family: 'Crimson Text', serif; }
7+
font-family: 'Crimson Text', Baskerville, 'Baskerville Old Face', 'Hoefler Text', Garamond, 'Times New Roman', serif; }
98

109
body {
1110
font-family: Georgia, "Times New Roman", Times, serif;

dist/themes/oldstyle.min.css

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

scss/themes/modern.scss

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
@import '../variables';
22

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

66
h1,
77
h2,
88
h3,
99
h4,
1010
h5,
1111
h6 {
12-
font-family: 'Montserrat', sans-serif;
12+
font-family: 'Montserrat', 'Arial Black' , 'Arial Bold', 'Helvetica Neue', Helvetica, sans-serif;
1313
}
1414

1515
body {

scss/themes/oldstyle.scss

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
@import '../variables';
22

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

55
h1,
66
h2,
77
h3,
88
h4,
99
h5,
1010
h6 {
11-
font-family: 'Crimson Text', serif;
11+
font-family: 'Crimson Text', Baskerville, 'Baskerville Old Face', 'Hoefler Text', Garamond, 'Times New Roman', serif;
1212
}
1313

1414
body {

0 commit comments

Comments
 (0)