Change to Open Sans

This commit is contained in:
Ian Adam Naval 2023-09-04 23:52:55 -04:00
parent 2cfeb25e02
commit d49b291f2c
Signed by: potato
GPG Key ID: D22B0F9008C43F2B
7 changed files with 37 additions and 9 deletions

View File

@ -1,12 +1,21 @@
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta http-equiv="X-UA-Compatible" content="IE=edge" />
<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 }}{% else %}{{ site.title }}{% endif %}</title> <title>
<meta name="description" content="{% if page.excerpt %}{{ page.excerpt | strip_html | strip_newlines | truncate: 160 }}{% else %}{{ site.description }}{% endif %}"> {% 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="stylesheet" href="{{ "/css/main.css" | prepend: site.baseurl }}">
<link rel="canonical" href="{{ page.url | replace:'index.html','' | prepend: site.baseurl | prepend: site.url }}"> <link
<link rel="alternate" type="application/rss+xml" title="{{ site.title }}" href="{{ "/feed.xml" | prepend: site.baseurl | prepend: site.url }}" /> 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> </head>

View File

@ -80,7 +80,7 @@ li {
* Headings * Headings
*/ */
h1, h2, h3, h4, h5, h6 { h1, h2, h3, h4, h5, h6 {
font-weight: 300; font-weight: 400;
} }

17
ianonavy/_sass/_font.scss Normal file
View 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');
}

View File

@ -32,6 +32,7 @@
.name { .name {
font-size: 26px; font-size: 26px;
font-weight: 400;
line-height: 28px; line-height: 28px;
letter-spacing: -1px; letter-spacing: -1px;
margin-bottom: 0; margin-bottom: 0;

View File

@ -6,7 +6,7 @@
// Our variables // Our variables
$base-font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; $base-font-family: "Open Sans", sans-serif;
$base-font-size: 16px; $base-font-size: 16px;
$small-font-size: $base-font-size * 0.875; $small-font-size: $base-font-size * 0.875;
$base-line-height: 1.5; $base-line-height: 1.5;
@ -49,6 +49,7 @@ $on-laptop: 800px;
// Import partials from `sass_dir` (defaults to `_sass`) // Import partials from `sass_dir` (defaults to `_sass`)
@import @import
"base", "base",
"font",
"layout", "layout",
"syntax-highlighting" "syntax-highlighting"
; ;

Binary file not shown.

Binary file not shown.