Don't use Roboto font from Google

This commit is contained in:
Bradlee Speice 2018-09-09 13:08:54 -04:00
parent 896ae41f57
commit 4f8a5b37e3
7 changed files with 20 additions and 3 deletions

View File

@ -4,8 +4,8 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>{% if page.title %}{{ page.title }} - {% endif %}{{ site.title }}</title>
<meta name="description" content="{% if page.excerpt %}{{ page.excerpt | strip_html | strip_newlines | truncate: 160 }}{% else %}{{ site.description }}{% endif %}">
<link href='https://fonts.googleapis.com/css?family=Roboto+Mono|Roboto:300,400,900,400italic' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="{{ "/css/main.css" | prepend: site.baseurl }}">
<link rel="stylesheet" href="{{ "/css/fonts.css" | prepend: site.baseurl }}">
<link rel="canonical" href="{{ page.url | replace:'index.html','' | prepend: site.baseurl | prepend: site.url }}">
<link rel="alternate" type="application/rss+xml" title="{{ site.title }}" href="{{ "/feed.xml" | prepend: site.baseurl | prepend: site.url }}">
<link rel="icon" type="image/vnd.microsoft.icon" href="https://speice.io/favicon.ico">

View File

@ -16,12 +16,12 @@
// Font families
@mixin ff--sans-serif($font-weight: normal) {
font-family: 'Roboto', 'Helvetica Neue', Helvetica, sans-serif;
font-family: 'Lato', sans-serif;
font-weight: $font-weight;
}
@mixin ff--code {
font-family: 'Roboto Mono', monospace;
font-family: 'Hasklig', monospace;
}
// Font sizing

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

17
css/fonts.css Normal file
View File

@ -0,0 +1,17 @@
@font-face {
font-family: 'Hasklig';
src: url('/assets/webfonts/hasklig-regular-webfont.woff2') format('woff2'),
url('hasklig-regular-webfont.woff') format('woff');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'Lato';
src: url('/assets/webfonts/lato-regular-webfont.woff2') format('woff2'),
url('/assets/webfonts/lato-regular-webfont.woff') format('woff');
font-weight: normal;
font-style: normal;
}