Switched to hosting font locally, to avoid google tracking.
This commit is contained in:
@@ -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 -%}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
@@ -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.
Reference in New Issue
Block a user