Change to Open Sans
This commit is contained in:
parent
2cfeb25e02
commit
d49b291f2c
@ -1,12 +1,21 @@
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta charset="utf-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
|
||||
<title>{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}</title>
|
||||
<meta name="description" content="{% if page.excerpt %}{{ page.excerpt | strip_html | strip_newlines | truncate: 160 }}{% else %}{{ site.description }}{% endif %}">
|
||||
<title>
|
||||
{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}
|
||||
</title>
|
||||
<meta
|
||||
name="description"
|
||||
content="{% if page.excerpt %}{{ page.excerpt | strip_html | strip_newlines | truncate: 160 }}{% else %}{{ site.description }}{% endif %}"
|
||||
/>
|
||||
|
||||
<link rel="stylesheet" href="{{ "/css/main.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="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 }}" />
|
||||
</head>
|
||||
|
||||
@ -80,7 +80,7 @@ li {
|
||||
* Headings
|
||||
*/
|
||||
h1, h2, h3, h4, h5, h6 {
|
||||
font-weight: 300;
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
|
||||
|
||||
17
ianonavy/_sass/_font.scss
Normal file
17
ianonavy/_sass/_font.scss
Normal file
@ -0,0 +1,17 @@
|
||||
@font-face {
|
||||
font-family: 'Open Sans';
|
||||
font-style: normal;
|
||||
font-weight: 300;
|
||||
font-stretch: 100%;
|
||||
font-display: swap;
|
||||
src: url(/fonts/OpenSans-Light.ttf) format('opentype');
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Open Sans';
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-stretch: 100%;
|
||||
font-display: swap;
|
||||
src: url(/fonts/OpenSans-Regular.ttf) format('opentype');
|
||||
}
|
||||
@ -32,6 +32,7 @@
|
||||
|
||||
.name {
|
||||
font-size: 26px;
|
||||
font-weight: 400;
|
||||
line-height: 28px;
|
||||
letter-spacing: -1px;
|
||||
margin-bottom: 0;
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
|
||||
|
||||
// Our variables
|
||||
$base-font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
|
||||
$base-font-family: "Open Sans", sans-serif;
|
||||
$base-font-size: 16px;
|
||||
$small-font-size: $base-font-size * 0.875;
|
||||
$base-line-height: 1.5;
|
||||
@ -49,6 +49,7 @@ $on-laptop: 800px;
|
||||
// Import partials from `sass_dir` (defaults to `_sass`)
|
||||
@import
|
||||
"base",
|
||||
"font",
|
||||
"layout",
|
||||
"syntax-highlighting"
|
||||
;
|
||||
|
||||
BIN
ianonavy/fonts/OpenSans-Light.ttf
Normal file
BIN
ianonavy/fonts/OpenSans-Light.ttf
Normal file
Binary file not shown.
BIN
ianonavy/fonts/OpenSans-Regular.ttf
Normal file
BIN
ianonavy/fonts/OpenSans-Regular.ttf
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user