From ae8c17cb5d9293ab050ab465ec5e34c64da9442b Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Sun, 22 Mar 2020 05:33:06 -0400 Subject: use `font-display: swap` feature --- static/grapheneos.css | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'static/grapheneos.css') diff --git a/static/grapheneos.css b/static/grapheneos.css index 0373edfe..f378dde0 100644 --- a/static/grapheneos.css +++ b/static/grapheneos.css @@ -149,6 +149,7 @@ footer a:visited { font-family: 'Roboto'; font-style: normal; font-weight: 400; + font-display: swap; src: local('Roboto'), local('Roboto-Regular'), url(/fonts/roboto_latin.woff2?0) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; } @@ -158,6 +159,7 @@ footer a:visited { font-family: 'Roboto'; font-style: italic; font-weight: 400; + font-display: swap; src: local('Roboto Italic'), local('Roboto-Italic'), url(/fonts/roboto_italic_latin.woff2?0) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; } @@ -167,6 +169,7 @@ footer a:visited { font-family: 'Roboto'; font-style: normal; font-weight: 700; + font-display: swap; src: local('Roboto Bold'), local('Roboto-Bold'), url(/fonts/roboto_bold_latin.woff2?0) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; } @@ -176,6 +179,7 @@ footer a:visited { font-family: 'Roboto Mono'; font-style: normal; font-weight: 400; + font-display: swap; src: local('Roboto Mono'), local('RobotoMono-Regular'), url(/fonts/robotomono_latin.woff2?0) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; } @@ -185,6 +189,7 @@ footer a:visited { font-family: 'Roboto Mono'; font-style: normal; font-weight: 700; + font-display: swap; src: local('Roboto Mono Bold'), local('RobotoMono-Bold'), url(/robotomono_bold_latin.woff2?0) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; } -- cgit v1.3.1