summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick White <git@njw.name>2019-10-02 18:04:59 +0100
committerNick White <git@njw.name>2019-10-02 18:04:59 +0100
commitd76a71eaeae15dc03dd3160d4fc54831780ec03f (patch)
tree850d30a05d5761fd4f47baebfc7d478d4efdfc15
parentfcf2491e2fc6c362845a0cd630365886b4611ee7 (diff)
Switch from google fonts to EBGaramond served ourselves
-rw-r--r--layouts/partials/head_fonts.html4
-rw-r--r--static/EBGaramond12-Regular.woffbin0 -> 242364 bytes
-rw-r--r--static/css/hyde.css6
3 files changed, 9 insertions, 1 deletions
diff --git a/layouts/partials/head_fonts.html b/layouts/partials/head_fonts.html
index 4729eb2..b7ba7f3 100644
--- a/layouts/partials/head_fonts.html
+++ b/layouts/partials/head_fonts.html
@@ -1 +1,3 @@
- <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Abril+Fatface|PT+Sans:400,400i,700">
+ <style>
+ @font-face { font-family: 'EB Garamond Regular'; src: url('/EBGaramond12-Regular.woff') format('woff'); }
+ </style>
diff --git a/static/EBGaramond12-Regular.woff b/static/EBGaramond12-Regular.woff
new file mode 100644
index 0000000..a4605d3
--- /dev/null
+++ b/static/EBGaramond12-Regular.woff
Binary files differ
diff --git a/static/css/hyde.css b/static/css/hyde.css
index bb4a371..2ae0573 100644
--- a/static/css/hyde.css
+++ b/static/css/hyde.css
@@ -250,6 +250,12 @@ a.sidebar-nav-item:focus {
}
/* Rescribe */
+body.theme-rescribe {
+ font-family: Helvetica, Arial, sans-serif;
+}
.theme-rescribe .sidebar {
background-image: url('/marble1.jpg');
}
+.theme-rescribe .sidebar-about h1 {
+ font-family: "EB Garamond Regular", Helvetica, Arial, sans-serif;
+}