diff options
| author | Daniel Micay <danielmicay@gmail.com> | 2021-03-27 09:01:41 -0400 |
|---|---|---|
| committer | Daniel Micay <danielmicay@gmail.com> | 2021-03-27 09:02:36 -0400 |
| commit | 54845bd0773198946b85e6eaa2749f66239ef2db (patch) | |
| tree | 5ef7ab577f9ff74d881f9827431170681ebf816b | |
| parent | a530b31364c2b0336be590ba2083b747f03c3d5b (diff) | |
update naming for Roboto fonts
| -rw-r--r-- | nginx/nginx.conf | 2 | ||||
| -rw-r--r-- | static/fonts/roboto-v20-bold-latin.woff2 (renamed from static/fonts/roboto_bold_latin.woff2) | bin | 15816 -> 15816 bytes | |||
| -rw-r--r-- | static/fonts/roboto-v20-regular-italic-latin.woff2 (renamed from static/fonts/roboto_italic_latin.woff2) | bin | 17324 -> 17324 bytes | |||
| -rw-r--r-- | static/fonts/roboto-v20-regular-latin.woff2 (renamed from static/fonts/roboto_latin.woff2) | bin | 15736 -> 15736 bytes | |||
| -rw-r--r-- | static/grapheneos.css | 6 |
5 files changed, 4 insertions, 4 deletions
diff --git a/nginx/nginx.conf b/nginx/nginx.conf index 2575a07d..064ed1fb 100644 --- a/nginx/nginx.conf +++ b/nginx/nginx.conf @@ -67,7 +67,7 @@ http { map $http_cookie $preload_resources { "~*__Host-preload=1" ""; - default "</grapheneos.css>; rel=preload; as=style, </fonts/roboto_latin.woff2?20>; rel=preload; as=font; crossorigin, </fonts/roboto_bold_latin.woff2?20>; rel=preload; as=font; crossorigin, </mask-icon.svg>; rel=preload; as=image"; + default "</grapheneos.css>; rel=preload; as=style, </fonts/roboto-v20-regular-latin.woff2>; rel=preload; as=font; crossorigin, </fonts/roboto-v20-bold-latin.woff2>; rel=preload; as=font; crossorigin, </mask-icon.svg>; rel=preload; as=image"; } server { diff --git a/static/fonts/roboto_bold_latin.woff2 b/static/fonts/roboto-v20-bold-latin.woff2 Binary files differindex 32b25eee..32b25eee 100644 --- a/static/fonts/roboto_bold_latin.woff2 +++ b/static/fonts/roboto-v20-bold-latin.woff2 diff --git a/static/fonts/roboto_italic_latin.woff2 b/static/fonts/roboto-v20-regular-italic-latin.woff2 Binary files differindex 2741d4f0..2741d4f0 100644 --- a/static/fonts/roboto_italic_latin.woff2 +++ b/static/fonts/roboto-v20-regular-italic-latin.woff2 diff --git a/static/fonts/roboto_latin.woff2 b/static/fonts/roboto-v20-regular-latin.woff2 Binary files differindex 1a537015..1a537015 100644 --- a/static/fonts/roboto_latin.woff2 +++ b/static/fonts/roboto-v20-regular-latin.woff2 diff --git a/static/grapheneos.css b/static/grapheneos.css index f5492dfc..8d5ec16a 100644 --- a/static/grapheneos.css +++ b/static/grapheneos.css @@ -161,7 +161,7 @@ footer a, footer a:visited { font-style: normal; font-weight: 400; font-display: swap; - src: local('Roboto'), local('Roboto-Regular'), url(/fonts/roboto_latin.woff2?20) format('woff2'); + src: local('Roboto'), local('Roboto-Regular'), url(/fonts/roboto-v20-regular-latin.woff2) 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; } @@ -171,7 +171,7 @@ footer a, footer a:visited { font-style: italic; font-weight: 400; font-display: swap; - src: local('Roboto Italic'), local('Roboto-Italic'), url(/fonts/roboto_italic_latin.woff2?20) format('woff2'); + src: local('Roboto Italic'), local('Roboto-Italic'), url(/fonts/roboto-v20-regular-italic-latin.woff2) 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; } @@ -181,7 +181,7 @@ footer a, footer a:visited { font-style: normal; font-weight: 700; font-display: swap; - src: local('Roboto Bold'), local('Roboto-Bold'), url(/fonts/roboto_bold_latin.woff2?20) format('woff2'); + src: local('Roboto Bold'), local('Roboto-Bold'), url(/fonts/roboto-v20-bold-latin.woff2) 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; } |
