Skip to content

Commit c7c6067

Browse files
authored
Merge pull request #6 from cltk/v2-update
V2 update
2 parents 768cce5 + 7ec91e5 commit c7c6067

File tree

13 files changed

+81
-58
lines changed

13 files changed

+81
-58
lines changed

.github/workflows/htmlproofer.yml

Lines changed: 0 additions & 32 deletions
This file was deleted.

_includes/head.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@
55

66
{% seo %}
77

8+
<link rel="preconnect" href="https://fonts.googleapis.com">
9+
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
10+
<link href="https://fonts.googleapis.com/css2?family=Noto+Sans+Mono:wght@400;600&family=Noto+Serif:wght@300;400;600;700&display=swap" rel="stylesheet">
11+
12+
<link rel="icon" href="{{ '/favicon.svg' | relative_url }}" type="image/svg+xml">
13+
814
<link rel="stylesheet" href="{{ "/css/main.css" | prepend: site.baseurl }}">
915
{% feed_meta %}
1016
</head>

_sass/_base.scss

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,9 @@ code {
131131
font-size: 15px;
132132
border: 1px solid $grey-color-light;
133133
border-radius: 3px;
134-
background-color: #eef;
134+
background-color: $code-bg-color; // dark code background
135+
color: $text-color; // readable on dark bg
136+
font-family: $code-font-family;
135137
}
136138

137139
code {
@@ -140,7 +142,7 @@ code {
140142

141143
pre {
142144
padding: 8px 12px;
143-
overflow-x: scroll;
145+
overflow-x: auto;
144146

145147
> code {
146148
border: 0;

_sass/_layout.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
border-top: 5px solid $brand-color;
66
border-bottom: 1px solid $grey-color-light;
77
min-height: 56px;
8+
background-color: $brand-color;
89

910
// Positioning context for the mobile navigation icon
1011
position: relative;

corpora.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

css/main.scss

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ img.cltk_logo {
1010

1111

1212
// Our variables
13-
$base-font-family: Helvetica, Arial, sans-serif;
13+
$base-font-family: 'Noto Serif', Georgia, serif;
1414
$base-font-size: 16px;
1515
$small-font-size: $base-font-size * 0.875;
1616
$base-line-height: 1.5;
@@ -32,6 +32,10 @@ $content-width: 800px;
3232
$on-palm: 600px;
3333
$on-laptop: 800px;
3434

35+
// Code colors (dark mode)
36+
$code-bg-color: hsl(225, 15%, 18%);
37+
$code-font-family: 'Noto Sans Mono', 'SFMono-Regular', Consolas, Menlo, monospace;
38+
3539

3640

3741
// Using media queries with like this:

docs.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: Legacy Docs (v0.1.x)
2+
title: Docs
33
redirect_to:
4-
- https://legacy.cltk.org
4+
- https://docs.cltk.org
55
---

docs_v10.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

favicon.ico

-1.42 KB
Binary file not shown.

favicon.svg

Lines changed: 42 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)