Remove Google webfonts as default and include for custom <head> includes
- Create font stacks using system fonts for improved performance
This commit is contained in:
parent
c7d2a8f82c
commit
7f30ab04ea
4 changed files with 18 additions and 5 deletions
|
@ -14,8 +14,6 @@
|
||||||
|
|
||||||
<meta http-equiv="cleartype" content="on">
|
<meta http-equiv="cleartype" content="on">
|
||||||
|
|
||||||
<link href="//fonts.googleapis.com/css?family=PT+Sans+Narrow:400,700%7CPT+Serif:400,700,400italic" rel="stylesheet" type="text/css">
|
|
||||||
|
|
||||||
<!-- Icons -->
|
<!-- Icons -->
|
||||||
<link rel="shortcut icon" href="{{ base_path }}/favicon.ico">
|
<link rel="shortcut icon" href="{{ base_path }}/favicon.ico">
|
||||||
<link rel="shortcut icon" href="{{ base_path }}/favicon.png">
|
<link rel="shortcut icon" href="{{ base_path }}/favicon.png">
|
||||||
|
|
3
_includes/head/custom.html
Normal file
3
_includes/head/custom.html
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
<!-- start custom head snippets -->
|
||||||
|
|
||||||
|
<!-- end custom head snippets -->
|
|
@ -8,6 +8,7 @@ layout: compress
|
||||||
<html lang="{{ site.locale | slice: 0,2 }}">
|
<html lang="{{ site.locale | slice: 0,2 }}">
|
||||||
<head>
|
<head>
|
||||||
{% include head.html %}
|
{% include head.html %}
|
||||||
|
{% include head/custom.html %}
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
|
|
@ -11,11 +11,22 @@ $doc-line-height : 26;
|
||||||
$paragraph-indent : false !default;
|
$paragraph-indent : false !default;
|
||||||
$indent-var : 0rem + ($doc-line-height / $doc-font-size);
|
$indent-var : 0rem + ($doc-line-height / $doc-font-size);
|
||||||
|
|
||||||
$serif : "PT Serif", serif;
|
/* system typefaces */
|
||||||
$sans-serif : -apple-system, ".SFNSText-Regular", "San Francisco", "Roboto", "Segoe UI", "Helvetica Neue", "Lucida Grande", sans-serif;
|
$serif : Georgia, Times, serif;
|
||||||
$sans-serif-narrow : "PT Sans Narrow", sans-serif;
|
$sans-serif : -apple-system, ".SFNSText-Regular", "San Francisco", "Roboto", "Segoe UI", "Helvetica Neue", "Lucida Grande", Arial, sans-serif;
|
||||||
$monospace : Monaco, Consolas, "Lucida Console", monospace;
|
$monospace : Monaco, Consolas, "Lucida Console", monospace;
|
||||||
|
|
||||||
|
/* sans serif typefaces */
|
||||||
|
$sans-serif-narrow : $sans-serif;
|
||||||
|
$helvetica : Helvetica, "Helvetica Neue", Arial, sans-serif;
|
||||||
|
|
||||||
|
/* serif typefaces */
|
||||||
|
$georgia : Georgia, serif;
|
||||||
|
$times : Times, serif;
|
||||||
|
$bodoni : "Bodoni MT", serif;
|
||||||
|
$calisto : "Calisto MT", serif;
|
||||||
|
$garamond : Garamond, serif;
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Colors
|
Colors
|
||||||
|
|
Loading…
Reference in a new issue