From 3faa3e42f0da24fefe16e44ef44bf4b986f75ff5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20K=C3=B6ln?= Date: Wed, 20 Mar 2019 16:34:19 +0100 Subject: [PATCH] switch to Source font family --- src/theme/css/book.css | 26 +++----------------------- src/theme/index.hbs | 2 +- 2 files changed, 4 insertions(+), 24 deletions(-) diff --git a/src/theme/css/book.css b/src/theme/css/book.css index a7f24a26..fa541039 100644 --- a/src/theme/css/book.css +++ b/src/theme/css/book.css @@ -1,33 +1,13 @@ -@font-face { - font-family: "Liberation Serif"; - src: url("/fonts/LiberationSerif-Regular.ttf"); - font-weight: normal; -} -@font-face { - font-family: "Liberation Serif"; - src: url("/fonts/LiberationSerif-Bold.ttf"); - font-weight: bold; -} -@font-face { - font-family: "Liberation Serif"; - src: url("/fonts/LiberationSerif-Italic.ttf"); - font-style: italic; -} -@font-face { - font-family: "Liberation Mono"; - src: url("/fonts/LiberationMono-Regular.ttf"); - font-weight: normal; -} - body { - font-family: "Liberation Serif", serif; + font-family: "Source Serif Pro", serif; } p { text-align: justify; line-height: 1.25em; } code { - font-family: "Liberation Mono", monospace; + font-family: "Source Code Pro", monospace; + padding: 0 0 1pt 0 !important; } pre { margin-left: 2em; diff --git a/src/theme/index.hbs b/src/theme/index.hbs index 8ecf20c8..eeb90501 100644 --- a/src/theme/index.hbs +++ b/src/theme/index.hbs @@ -19,7 +19,7 @@ - +