From 54845bd0773198946b85e6eaa2749f66239ef2db Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Sat, 27 Mar 2021 09:01:41 -0400 Subject: update naming for Roboto fonts --- nginx/nginx.conf | 2 +- static/fonts/roboto-v20-bold-latin.woff2 | Bin 0 -> 15816 bytes static/fonts/roboto-v20-regular-italic-latin.woff2 | Bin 0 -> 17324 bytes static/fonts/roboto-v20-regular-latin.woff2 | Bin 0 -> 15736 bytes static/fonts/roboto_bold_latin.woff2 | Bin 15816 -> 0 bytes static/fonts/roboto_italic_latin.woff2 | Bin 17324 -> 0 bytes static/fonts/roboto_latin.woff2 | Bin 15736 -> 0 bytes static/grapheneos.css | 6 +++--- 8 files changed, 4 insertions(+), 4 deletions(-) create mode 100644 static/fonts/roboto-v20-bold-latin.woff2 create mode 100644 static/fonts/roboto-v20-regular-italic-latin.woff2 create mode 100644 static/fonts/roboto-v20-regular-latin.woff2 delete mode 100644 static/fonts/roboto_bold_latin.woff2 delete mode 100644 static/fonts/roboto_italic_latin.woff2 delete mode 100644 static/fonts/roboto_latin.woff2 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 "; rel=preload; as=style, ; rel=preload; as=font; crossorigin, ; rel=preload; as=font; crossorigin, ; rel=preload; as=image"; + default "; rel=preload; as=style, ; rel=preload; as=font; crossorigin, ; rel=preload; as=font; crossorigin, ; rel=preload; as=image"; } server { diff --git a/static/fonts/roboto-v20-bold-latin.woff2 b/static/fonts/roboto-v20-bold-latin.woff2 new file mode 100644 index 00000000..32b25eee Binary files /dev/null and b/static/fonts/roboto-v20-bold-latin.woff2 differ diff --git a/static/fonts/roboto-v20-regular-italic-latin.woff2 b/static/fonts/roboto-v20-regular-italic-latin.woff2 new file mode 100644 index 00000000..2741d4f0 Binary files /dev/null and b/static/fonts/roboto-v20-regular-italic-latin.woff2 differ diff --git a/static/fonts/roboto-v20-regular-latin.woff2 b/static/fonts/roboto-v20-regular-latin.woff2 new file mode 100644 index 00000000..1a537015 Binary files /dev/null and b/static/fonts/roboto-v20-regular-latin.woff2 differ diff --git a/static/fonts/roboto_bold_latin.woff2 b/static/fonts/roboto_bold_latin.woff2 deleted file mode 100644 index 32b25eee..00000000 Binary files a/static/fonts/roboto_bold_latin.woff2 and /dev/null differ diff --git a/static/fonts/roboto_italic_latin.woff2 b/static/fonts/roboto_italic_latin.woff2 deleted file mode 100644 index 2741d4f0..00000000 Binary files a/static/fonts/roboto_italic_latin.woff2 and /dev/null differ diff --git a/static/fonts/roboto_latin.woff2 b/static/fonts/roboto_latin.woff2 deleted file mode 100644 index 1a537015..00000000 Binary files a/static/fonts/roboto_latin.woff2 and /dev/null differ 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; } -- cgit v1.3.1