diff --git a/sass/_fonts.scss b/sass/_fonts.scss index de92bd6..3b273a4 100644 --- a/sass/_fonts.scss +++ b/sass/_fonts.scss @@ -1,4 +1,24 @@ @font-face { - font-family:sofia; - src:url(fonts/sofia.otf); + font-family: sofia; + font-weight: normal; + font-style: normal; + src: url('fonts/sofia-pro-light.woff2') format('woff2'), + url('fonts/sofia-pro-light.woff') format('woff'), + url('fonts/sofia-pro-light.ttf') format('truetype'); +} +@font-face { + font-family: sofia; + font-weight: normal; + font-style: italic; + src: url('fonts/sofia-pro-light-italic.woff2') format('woff2'), + url('fonts/sofia-pro-light-italic.woff') format('woff'), + url('fonts/sofia-pro-light-italic.ttf') format('truetype'); +} +@font-face { + font-family: sofia; + font-weight: bold; + font-style: normal; + src: url('fonts/sofia-pro-medium.woff2') format('woff2'), + url('fonts/sofia-pro-medium.woff') format('woff'), + url('fonts/sofia-pro-medium.ttf') format('truetype'); } diff --git a/sass/style.scss b/sass/style.scss index aeb43f5..fbd4ce7 100644 --- a/sass/style.scss +++ b/sass/style.scss @@ -15,6 +15,7 @@ body { background:$body-background-image repeat $body-background; color:$body-color; font-family: sofia, sans-serif; + text-rendering: optimizeLegibility; font-size:1em; } diff --git a/static/fonts/sofia-pro-light-italic.ttf b/static/fonts/sofia-pro-light-italic.ttf new file mode 100644 index 0000000..9f9ade2 Binary files /dev/null and b/static/fonts/sofia-pro-light-italic.ttf differ diff --git a/static/fonts/sofia-pro-light-italic.woff b/static/fonts/sofia-pro-light-italic.woff new file mode 100644 index 0000000..964961f Binary files /dev/null and b/static/fonts/sofia-pro-light-italic.woff differ diff --git a/static/fonts/sofia-pro-light-italic.woff2 b/static/fonts/sofia-pro-light-italic.woff2 new file mode 100644 index 0000000..1c3b13d Binary files /dev/null and b/static/fonts/sofia-pro-light-italic.woff2 differ diff --git a/static/fonts/sofia-pro-light.ttf b/static/fonts/sofia-pro-light.ttf new file mode 100644 index 0000000..6db2565 Binary files /dev/null and b/static/fonts/sofia-pro-light.ttf differ diff --git a/static/fonts/sofia-pro-light.woff b/static/fonts/sofia-pro-light.woff new file mode 100644 index 0000000..27299d6 Binary files /dev/null and b/static/fonts/sofia-pro-light.woff differ diff --git a/static/fonts/sofia-pro-light.woff2 b/static/fonts/sofia-pro-light.woff2 new file mode 100644 index 0000000..1282367 Binary files /dev/null and b/static/fonts/sofia-pro-light.woff2 differ diff --git a/static/fonts/sofia-pro-medium.ttf b/static/fonts/sofia-pro-medium.ttf new file mode 100644 index 0000000..0a891eb Binary files /dev/null and b/static/fonts/sofia-pro-medium.ttf differ diff --git a/static/fonts/sofia-pro-medium.woff b/static/fonts/sofia-pro-medium.woff new file mode 100644 index 0000000..0edea37 Binary files /dev/null and b/static/fonts/sofia-pro-medium.woff differ diff --git a/static/fonts/sofia-pro-medium.woff2 b/static/fonts/sofia-pro-medium.woff2 new file mode 100644 index 0000000..03e4a1d Binary files /dev/null and b/static/fonts/sofia-pro-medium.woff2 differ diff --git a/static/fonts/sofia.otf b/static/fonts/sofia.otf deleted file mode 100644 index 3ef4a2f..0000000 Binary files a/static/fonts/sofia.otf and /dev/null differ