Skip to content

Commit 01587f0

Browse files
committed
font changes again
1 parent 58c8c13 commit 01587f0

File tree

3 files changed

+12
-7
lines changed

3 files changed

+12
-7
lines changed

_layouts/default.html

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,13 @@
1212

1313
<link rel="stylesheet" href="{{ '/assets/css/main.css' | absolute_url }}?{{ site.time | date: '%s%N' }}">
1414

15-
<link rel="stylesheet" href="{{ '/assets/css/main.css' | absolute_url }}?{{ site.time | date: '%s%N' }}">
15+
<!-- Apple touch icon (optional) -->
16+
<link rel="apple-touch-icon" href="{{ site.icon }}">
17+
18+
<!-- Google Fonts (Inter) - remove if you prefer not to use Google Fonts -->
19+
<link rel="preconnect" href="https://fonts.googleapis.com">
20+
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
21+
<link href="https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400..800;1,400..800&family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap" rel="stylesheet">
1622

1723
{%- if jekyll.environment == 'production' and site.google_analytics -%}
1824
{%- include google-analytics.html -%}
@@ -24,4 +30,4 @@
2430
{{ content }}
2531

2632
</body>
27-
</html>
33+
</html>

_sass/_base.scss

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ body {
22
background: $brand-color;
33
color: $muted-text-color;
44
font-family: $font-family;
5-
font-size: 1.0em;
6-
line-height: 1.4;
7-
padding-top: 2em; // Adds space at the very top
5+
font-size: .9em;
6+
line-height: 1.4em;
7+
padding-top: 2.4em; // Adds space at the very top
88
}
99

1010
h1 {
@@ -17,7 +17,6 @@ h2 {
1717
font-size: 1.4em;
1818
margin-top: 0.8em;
1919
margin-bottom: 0.2em;
20-
font-weight: bold;
2120
text-align: left;
2221
color: $text-color;
2322
}

_sass/_variables.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ $brand-color: #f3f2ef;
22
$highlight: lighten($brand-color, 35%);
33
$text-color: #2b2a26;
44
$muted-text-color: #474641;
5-
$font-family: "EB Garamond";
5+
$font-family: 'EB Garamond', 'Lato Light', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
66

77
$on-bigphone: 375px;
88
$on-tablet: 768px;

0 commit comments

Comments
 (0)