From 85aa75602546ef1c0afc8788b03bab533372fb2a Mon Sep 17 00:00:00 2001 From: Matt Kohls Date: Mon, 8 Jun 2020 23:09:20 -0400 Subject: Adding font family and file definitions --- static/css/pagedown.css | 68 ++++++++++++++++++++++++++++++++++++++++++++----- 1 file changed, 62 insertions(+), 6 deletions(-) diff --git a/static/css/pagedown.css b/static/css/pagedown.css index ee219dc..7d56e83 100644 --- a/static/css/pagedown.css +++ b/static/css/pagedown.css @@ -1,3 +1,59 @@ +@font-face { + font-family: "Courier 10 Pitch"; + src: url(/fonts/courier10bt-regular.woff); + font-weight: normal; + font-style: normal; +} + +@font-face { + font-family: "Courier 10 Pitch"; + src: url(/fonts/courier10bt-bold.woff); + font-weight: bold; + font-style: normal; +} + +@font-face { + font-family: "Courier 10 Pitch"; + src: url(/fonts/courier10bt-italic.woff); + font-weight: normal; + font-style: italic; +} + +@font-face { + font-family: "Courier 10 Pitch"; + src: url(/fonts/courier10bt-bolditalic.woff); + font-weight: bold; + font-style: italic; +} + +@font-face { + font-family: Literata; + src: url(/fonts/Literata-Regular.woff) + font-weight: normal; + font-style: normal; +} + +@font-face { + font-family: Literata; + src: url(/fonts/Literata-Bold.woff) + font-weight: bold; + font-style: normal; +} + +@font-face { + font-family: Literata; + src: url(/fonts/Literata-Italic.woff) + font-weight: normal; + font-style: italic; +} + +@font-face { + font-family: Literata; + src: url(/fonts/Literata-BoldItalic.woff) + font-weight: bold; + font-style: italic; +} + html, body { min-height: 100%; height: 100%; @@ -7,7 +63,7 @@ html, body { body { color: #212529; background-color: #fff; - font-family: sans-serif + font-family: "Nimbus Sans L", Helvetica, sans-serif; } img, video { @@ -18,7 +74,7 @@ img, video { } pre { - font-family: monospace; + font-family: "Courier 10 Pitch", Courier, monospace; background: #eee; padding: .5rem; margin: 0 -.5rem; @@ -51,19 +107,19 @@ aside { } h1 { - font-family: serif + font-family: Literata, serif; } h2 { - font-family: serif + font-family: Literata, serif; } h3 { - font-family: serif + font-family: Literata, serif; } h4 { - font-family: serif + font-family: Literata, serif; } header { -- cgit v1.2.3