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">
|
||||
|
||||
<link href="//fonts.googleapis.com/css?family=PT+Sans+Narrow:400,700%7CPT+Serif:400,700,400italic" rel="stylesheet" type="text/css">
|
||||
|
||||
<!-- Icons -->
|
||||
<link rel="shortcut icon" href="{{ base_path }}/favicon.ico">
|
||||
<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 }}">
|
||||
<head>
|
||||
{% include head.html %}
|
||||
{% include head/custom.html %}
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
|
|
@ -11,11 +11,22 @@ $doc-line-height : 26;
|
|||
$paragraph-indent : false !default;
|
||||
$indent-var : 0rem + ($doc-line-height / $doc-font-size);
|
||||
|
||||
$serif : "PT Serif", serif;
|
||||
$sans-serif : -apple-system, ".SFNSText-Regular", "San Francisco", "Roboto", "Segoe UI", "Helvetica Neue", "Lucida Grande", sans-serif;
|
||||
$sans-serif-narrow : "PT Sans Narrow", sans-serif;
|
||||
/* system typefaces */
|
||||
$serif : Georgia, Times, 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;
|
||||
|
||||
/* 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
|
||||
|
|
Loading…
Reference in a new issue