aboutsummaryrefslogtreecommitdiff
path: root/assets
diff options
context:
space:
mode:
authorAlex Shpak <alex-shpak@users.noreply.github.com>2019-11-16 22:00:50 +0100
committerAlex Shpak <alex-shpak@users.noreply.github.com>2019-11-16 22:00:50 +0100
commit20c3faae4d6ff0bf842d0a947e9932ea98b56d48 (patch)
treed2050f2f938de84c1aef9e60ccc3eb2d43d6fd5c /assets
parentf1d4aeb69a6cc185c84981f79402baa6ed8ba354 (diff)
Improve accessibility score
Diffstat (limited to 'assets')
-rw-r--r--assets/_fonts.scss4
1 files changed, 4 insertions, 0 deletions
diff --git a/assets/_fonts.scss b/assets/_fonts.scss
index 7ee952a..1cf735a 100644
--- a/assets/_fonts.scss
+++ b/assets/_fonts.scss
@@ -3,6 +3,7 @@
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+ */
@@ -12,6 +13,7 @@
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+ */
@@ -21,6 +23,7 @@
font-family: 'Roboto';
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+ */
@@ -31,6 +34,7 @@
font-family: 'Roboto Mono';
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+ */