From d76a71eaeae15dc03dd3160d4fc54831780ec03f Mon Sep 17 00:00:00 2001 From: Nick White Date: Wed, 2 Oct 2019 18:04:59 +0100 Subject: Switch from google fonts to EBGaramond served ourselves --- layouts/partials/head_fonts.html | 4 +++- static/EBGaramond12-Regular.woff | Bin 0 -> 242364 bytes static/css/hyde.css | 6 ++++++ 3 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 static/EBGaramond12-Regular.woff 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 @@ - + diff --git a/static/EBGaramond12-Regular.woff b/static/EBGaramond12-Regular.woff new file mode 100644 index 0000000..a4605d3 Binary files /dev/null and b/static/EBGaramond12-Regular.woff 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; +} -- cgit v1.2.1-24-ge1ad