diff options
author | Matt Kohls <mattkohls13@gmail.com> | 2020-06-08 23:09:20 -0400 |
---|---|---|
committer | Matt Kohls <mattkohls13@gmail.com> | 2020-06-08 23:09:20 -0400 |
commit | 85aa75602546ef1c0afc8788b03bab533372fb2a (patch) | |
tree | 2676db72fb65103b0a6847b889120764f0b39492 | |
parent | d5310e86ef491cd662fd41a4d80e8e327a36bcd8 (diff) | |
download | pagedown-85aa75602546ef1c0afc8788b03bab533372fb2a.tar.gz pagedown-85aa75602546ef1c0afc8788b03bab533372fb2a.tar.bz2 pagedown-85aa75602546ef1c0afc8788b03bab533372fb2a.zip |
Adding font family and file definitions
-rw-r--r-- | static/css/pagedown.css | 68 |
1 files 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 { |