mirror of
https://github.com/bspeice/speice.io
synced 2024-12-22 16:48:10 -05:00
Don't use Roboto font from Google
This commit is contained in:
parent
896ae41f57
commit
4f8a5b37e3
@ -4,8 +4,8 @@
|
|||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
<title>{% if page.title %}{{ page.title }} - {% endif %}{{ site.title }}</title>
|
<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 %}">
|
<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/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="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="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">
|
<link rel="icon" type="image/vnd.microsoft.icon" href="https://speice.io/favicon.ico">
|
||||||
|
@ -16,12 +16,12 @@
|
|||||||
|
|
||||||
// Font families
|
// Font families
|
||||||
@mixin ff--sans-serif($font-weight: normal) {
|
@mixin ff--sans-serif($font-weight: normal) {
|
||||||
font-family: 'Roboto', 'Helvetica Neue', Helvetica, sans-serif;
|
font-family: 'Lato', sans-serif;
|
||||||
font-weight: $font-weight;
|
font-weight: $font-weight;
|
||||||
}
|
}
|
||||||
|
|
||||||
@mixin ff--code {
|
@mixin ff--code {
|
||||||
font-family: 'Roboto Mono', monospace;
|
font-family: 'Hasklig', monospace;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Font sizing
|
// Font sizing
|
||||||
|
BIN
assets/webfonts/hasklig-regular-webfont.woff
Normal file
BIN
assets/webfonts/hasklig-regular-webfont.woff
Normal file
Binary file not shown.
BIN
assets/webfonts/hasklig-regular-webfont.woff2
Normal file
BIN
assets/webfonts/hasklig-regular-webfont.woff2
Normal file
Binary file not shown.
BIN
assets/webfonts/lato-regular-webfont.woff
Normal file
BIN
assets/webfonts/lato-regular-webfont.woff
Normal file
Binary file not shown.
BIN
assets/webfonts/lato-regular-webfont.woff2
Normal file
BIN
assets/webfonts/lato-regular-webfont.woff2
Normal file
Binary file not shown.
17
css/fonts.css
Normal file
17
css/fonts.css
Normal 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;
|
||||||
|
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user