diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2021-02-20 08:01:56 +0100 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2021-02-20 08:01:56 +0100 |
commit | dbb0670cbadcf592860ef4ec9a98f76dcfa41221 (patch) | |
tree | 13821df3613e6ceb5f3f3af4055c037e12dbca4b | |
parent | 6fe01b14a7bd531762dc7842b57842046270f28d (diff) |
Use Vollkorn font.
-rw-r--r-- | static/css/DroidSerif-webfont.woff | bin | 29992 -> 0 bytes | |||
-rw-r--r-- | static/css/Vollkorn-Bold.woff2 | bin | 0 -> 166876 bytes | |||
-rw-r--r-- | static/css/Vollkorn-Regular.woff2 | bin | 0 -> 152936 bytes | |||
-rw-r--r-- | static/css/screen.css | 16 |
4 files changed, 11 insertions, 5 deletions
diff --git a/static/css/DroidSerif-webfont.woff b/static/css/DroidSerif-webfont.woff Binary files differdeleted file mode 100644 index 3d2bc95..0000000 --- a/static/css/DroidSerif-webfont.woff +++ /dev/null diff --git a/static/css/Vollkorn-Bold.woff2 b/static/css/Vollkorn-Bold.woff2 Binary files differnew file mode 100644 index 0000000..dd49127 --- /dev/null +++ b/static/css/Vollkorn-Bold.woff2 diff --git a/static/css/Vollkorn-Regular.woff2 b/static/css/Vollkorn-Regular.woff2 Binary files differnew file mode 100644 index 0000000..dbd7cb3 --- /dev/null +++ b/static/css/Vollkorn-Regular.woff2 diff --git a/static/css/screen.css b/static/css/screen.css index 33c37bb..c1e71ea 100644 --- a/static/css/screen.css +++ b/static/css/screen.css @@ -1,12 +1,18 @@ @font-face { - font-family: 'droid_serifregular'; - src: url('DroidSerif-webfont.woff') format('woff'); + font-family: 'Vollkorn Regular'; + src: url('Vollkorn-Regular.woff2') format('woff2'); font-weight: normal; font-style: normal; } +@font-face { + font-family: 'Vollkorn Bold'; + src: url('Vollkorn-Bold.woff2') format('woff2'); + font-weight: bold; + font-style: normal; +} html, body { - font-family: "droid_serifregular", serif; + font-family: "Vollkorn Regular", serif; text-rendering: optimizelegibility; -moz-font-feature-settings: "liga"; line-height: 140%; @@ -96,7 +102,7 @@ h1 { margin-top: 1.3rem; margin-bottom: .3rem; display: block; - font-family: "droid sans", sans-serif; + font-family: "Vollkorn Bold", serif; font-size: 1.2rem; font-weight: 800; } @@ -122,7 +128,7 @@ h2, h3 { letter-spacing: -0.04em; font-size: 1.2rem; font-weight: 700; - font-family: "Droid Sans", Arial, sans-serif; } + font-family: "Vollkorn Bold", serif; } h3 { font-size: 1.2rem; } |