diff --git a/sass/style.scss b/sass/style.scss index 52607cc..1aa4ef0 100644 --- a/sass/style.scss +++ b/sass/style.scss @@ -1,12 +1,33 @@ @font-face { font-family: spectral; - src: url("/fonts/spectral-regular.ttf") format("truetype"); + font-style: normal; + font-weight: 400; + src: url("/fonts/spectral-regular.woff2") format("woff2"), + url("/fonts/spectral-regular.woff") format("woff"), + url("/fonts/spectral-regular.ttf") format("truetype"); } +@font-face { + font-family: spectral; + font-style: normal; + font-weight: 700; + src: url("/fonts/spectral-bold.woff2") format("woff2"), + url("/fonts/spectral-bold.woff") format("woff"), + url("/fonts/spectral-bold.ttf") format("truetype"); +} +@font-face { + font-family: spectral; + font-style: italic; + font-weight: 400; + src: url("/fonts/spectral-italic.woff2") format("woff2"), + url("/fonts/spectral-italic.woff") format("woff"), + url("/fonts/spectral-italic.ttf") format("truetype"); +} + body { font-family: spectral, serif; text-rendering: optimizeLegibility; - font-size: 12pt; + font-size: 18px; line-height: 1.5; max-width: 60em; diff --git a/static/fonts/spectral-bold.ttf b/static/fonts/spectral-bold.ttf new file mode 100644 index 0000000..108dcbe Binary files /dev/null and b/static/fonts/spectral-bold.ttf differ diff --git a/static/fonts/spectral-bold.woff b/static/fonts/spectral-bold.woff new file mode 100644 index 0000000..1551b13 Binary files /dev/null and b/static/fonts/spectral-bold.woff differ diff --git a/static/fonts/spectral-bold.woff2 b/static/fonts/spectral-bold.woff2 new file mode 100644 index 0000000..43c2fda Binary files /dev/null and b/static/fonts/spectral-bold.woff2 differ diff --git a/static/fonts/spectral-italic.ttf b/static/fonts/spectral-italic.ttf new file mode 100644 index 0000000..72f2b28 Binary files /dev/null and b/static/fonts/spectral-italic.ttf differ diff --git a/static/fonts/spectral-italic.woff b/static/fonts/spectral-italic.woff new file mode 100644 index 0000000..203fc51 Binary files /dev/null and b/static/fonts/spectral-italic.woff differ diff --git a/static/fonts/spectral-italic.woff2 b/static/fonts/spectral-italic.woff2 new file mode 100644 index 0000000..b9979bc Binary files /dev/null and b/static/fonts/spectral-italic.woff2 differ diff --git a/static/fonts/spectral-regular.ttf b/static/fonts/spectral-regular.ttf index f9b9942..7dafdde 100644 Binary files a/static/fonts/spectral-regular.ttf and b/static/fonts/spectral-regular.ttf differ diff --git a/static/fonts/spectral-regular.woff b/static/fonts/spectral-regular.woff new file mode 100644 index 0000000..639e8a7 Binary files /dev/null and b/static/fonts/spectral-regular.woff differ diff --git a/static/fonts/spectral-regular.woff2 b/static/fonts/spectral-regular.woff2 new file mode 100644 index 0000000..e5a07af Binary files /dev/null and b/static/fonts/spectral-regular.woff2 differ