diff options
author | Alex Shpak <alex-shpak@users.noreply.github.com> | 2021-05-20 11:28:51 +0200 |
---|---|---|
committer | Alex Shpak <alex-shpak@users.noreply.github.com> | 2021-05-20 11:28:51 +0200 |
commit | 195138cad00638798c4800e97df6de7d9c4bfbd6 (patch) | |
tree | 01248a1481484e6f5f2f8ce84804a349b2cf1101 /assets | |
parent | 9b2e21f87068d6b34d1e8f7cd42e8cc6e66c1f34 (diff) |
Update roboto fonts
Diffstat (limited to 'assets')
-rw-r--r-- | assets/_fonts.scss | 28 |
1 files changed, 9 insertions, 19 deletions
diff --git a/assets/_fonts.scss b/assets/_fonts.scss index 1cf735a..c1ad300 100644 --- a/assets/_fonts.scss +++ b/assets/_fonts.scss @@ -1,22 +1,12 @@ -/* roboto-300italic - latin */ -@font-face { - font-family: 'Roboto'; - font-style: italic; - font-weight: 300; - font-display: swap; - src: local('Roboto Light Italic'), local('Roboto-LightItalic'), - url('fonts/roboto-v19-latin-300italic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */ - url('fonts/roboto-v19-latin-300italic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */ -} /* roboto-regular - latin */ @font-face { font-family: 'Roboto'; font-style: normal; font-weight: 400; font-display: swap; - src: local('Roboto'), local('Roboto-Regular'), - url('fonts/roboto-v19-latin-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */ - url('fonts/roboto-v19-latin-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */ + src: local(''), + url('fonts/roboto-v27-latin-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */ + url('fonts/roboto-v27-latin-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */ } /* roboto-700 - latin */ @font-face { @@ -24,9 +14,9 @@ font-style: normal; font-weight: 700; font-display: swap; - src: local('Roboto Bold'), local('Roboto-Bold'), - url('fonts/roboto-v19-latin-700.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */ - url('fonts/roboto-v19-latin-700.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */ + src: local(''), + url('fonts/roboto-v27-latin-700.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */ + url('fonts/roboto-v27-latin-700.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */ } /* roboto-mono-regular - latin */ @@ -35,9 +25,9 @@ font-style: normal; font-weight: 400; font-display: swap; - src: local('Roboto Mono'), local('RobotoMono-Regular'), - url('fonts/roboto-mono-v6-latin-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */ - url('fonts/roboto-mono-v6-latin-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */ + src: local(''), + url('fonts/roboto-mono-v13-latin-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */ + url('fonts/roboto-mono-v13-latin-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */ } body { |