From fb5d4698f1c650a254df5a624810ff70d37b77e3 Mon Sep 17 00:00:00 2001 From: BafS Date: Fri, 3 Mar 2017 12:08:04 +0100 Subject: [PATCH] Remove webfonts as a workaround for bug #11 Include the fonts on your html to load them before printing. --- dist/themes/modern.css | 2 +- dist/themes/modern.min.css | 2 +- dist/themes/oldstyle.css | 3 +-- dist/themes/oldstyle.min.css | 2 +- scss/themes/modern.scss | 6 +++--- scss/themes/oldstyle.scss | 4 ++-- 6 files changed, 9 insertions(+), 10 deletions(-) diff --git a/dist/themes/modern.css b/dist/themes/modern.css index b1bbd55..ad1deaa 100644 --- a/dist/themes/modern.css +++ b/dist/themes/modern.css @@ -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; diff --git a/dist/themes/modern.min.css b/dist/themes/modern.min.css index abf2ae0..9dfb1dc 100644 --- a/dist/themes/modern.min.css +++ b/dist/themes/modern.min.css @@ -1 +1 @@ -@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}body{font-family:'Open Sans', 'Helvetica Neue', Helvetica, arial, sans-serif;text-align:justify}h1{font-weight:700;letter-spacing:-1px;text-align:center}h2{letter-spacing:-1px}h2,h3,h4,h5{color:#262626}pre,code{border:0}pre,code,blockquote{background:#f8f8f9}blockquote{margin-left:1.5rem;margin-right:1.5rem} +@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', 'Arial Black' , 'Arial Bold', 'Helvetica Neue', Helvetica, sans-serif}body{font-family:'Open Sans', 'Helvetica Neue', Helvetica, arial, sans-serif;text-align:justify}h1{font-weight:700;letter-spacing:-1px;text-align:center}h2{letter-spacing:-1px}h2,h3,h4,h5{color:#262626}pre,code{border:0}pre,code,blockquote{background:#f8f8f9}blockquote{margin-left:1.5rem;margin-right:1.5rem} diff --git a/dist/themes/oldstyle.css b/dist/themes/oldstyle.css index 1a174e5..decc819 100644 --- a/dist/themes/oldstyle.css +++ b/dist/themes/oldstyle.css @@ -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; diff --git a/dist/themes/oldstyle.min.css b/dist/themes/oldstyle.min.css index 129ee0f..51de35c 100644 --- a/dist/themes/oldstyle.min.css +++ b/dist/themes/oldstyle.min.css @@ -1 +1 @@ -@import url(https://fonts.googleapis.com/css?family=Crimson+Text:600);h1,h2,h3,h4,h5,h6{font-family:'Crimson Text', serif}body{font-family:Georgia,"Times New Roman",Times,serif;text-align:justify}h1{text-align:center}pre{border:1px solid #000}th,td{border-bottom:1px solid #000}thead{border-bottom:3px double #000}blockquote{border-left:1px dashed #000;font-variant:small-caps;margin-left:1.5rem;padding-left:1rem}blockquote p:first-letter{font-weight:bold} +h1,h2,h3,h4,h5,h6{font-family:'Crimson Text', Baskerville, 'Baskerville Old Face', 'Hoefler Text', Garamond, 'Times New Roman', serif}body{font-family:Georgia,"Times New Roman",Times,serif;text-align:justify}h1{text-align:center}pre{border:1px solid #000}th,td{border-bottom:1px solid #000}thead{border-bottom:3px double #000}blockquote{border-left:1px dashed #000;font-variant:small-caps;margin-left:1.5rem;padding-left:1rem}blockquote p:first-letter{font-weight:bold} diff --git a/scss/themes/modern.scss b/scss/themes/modern.scss index bdb0eb8..d019fbf 100644 --- a/scss/themes/modern.scss +++ b/scss/themes/modern.scss @@ -1,7 +1,7 @@ @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, @@ -9,7 +9,7 @@ h3, h4, h5, h6 { - font-family: 'Montserrat', sans-serif; + font-family: 'Montserrat', 'Arial Black' , 'Arial Bold', 'Helvetica Neue', Helvetica, sans-serif; } body { diff --git a/scss/themes/oldstyle.scss b/scss/themes/oldstyle.scss index 3236bdc..a3b5052 100644 --- a/scss/themes/oldstyle.scss +++ b/scss/themes/oldstyle.scss @@ -1,6 +1,6 @@ @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, @@ -8,7 +8,7 @@ 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 {