Switched to hosting font locally, to avoid google tracking.

This commit is contained in:
2019-02-15 13:35:06 -05:00
parent 218ae9198a
commit aaec17e255
19 changed files with 50 additions and 1 deletions
-1
View File
@@ -1,7 +1,6 @@
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
<link rel="stylesheet" href="{{ '/assets/css/main.css' | relative_url }}" />
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto+Mono|Roboto:400,400i,700">
{%- seo -%}
{%- feed_meta -%}
+48
View File
@@ -0,0 +1,48 @@
@font-face {
font-family: 'Roboto';
font-style: normal;
font-weight: 400;
font-display: swap;
src: local('Roboto'), local('Roboto-Regular'),
url(/assets/fonts/Roboto-Regular.woff2) format('woff2'),
url(/assets/fonts/Roboto-Regular.woff) format('woff'),
url(/assets/fonts/Roboto-Regular.ttf) format('truetype'),
url(/assets/fonts/Roboto-Regular.eot) format('eot');
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;
}
@font-face {
font-family: 'Roboto';
font-style: italic;
font-weight: 400;
font-display: swap;
src: local('Roboto Italic'), local('Roboto-Italic'),
url(/assets/fonts/Roboto-Italic.woff2) format('woff2'),
url(/assets/fonts/Roboto-Italic.woff) format('woff'),
url(/assets/fonts/Roboto-Italic.ttf) format('truetype'),
url(/assets/fonts/Roboto-Italic.eot) format('eot');
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;
}
@font-face {
font-family: 'Roboto';
font-style: normal;
font-weight: 700;
font-display: swap;
src: local('Roboto Bold'), local('Roboto-Bold'),
url(/assets/fonts/Roboto-Bold.woff2) format('woff2'),
url(/assets/fonts/Roboto-Bold.woff) format('woff'),
url(/assets/fonts/Roboto-Bold.ttf) format('truetype'),
url(/assets/fonts/Roboto-Bold.eot) format('eot');
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;
}
@font-face {
font-family: 'Roboto Mono';
font-style: normal;
font-weight: 400;
font-display: swap;
src: local('Roboto Mono'), local('RobotoMono-Regular'),
url(/assets/fonts/RobotoMono-Regular.woff2) format('woff2'),
url(/assets/fonts/RobotoMono-Regular.woff) format('woff'),
url(/assets/fonts/RobotoMono-Regular.ttf) format('truetype'),
url(/assets/fonts/RobotoMono-Regular.eot) format('eot');
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;
}
+2
View File
@@ -14,6 +14,8 @@
Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
*/
@import 'libs/font-face';
// Breakpoints.
@include breakpoints((
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.