Skip to content

Commit 551d768

Browse files
committed
Switch to new Atkinson Hyperlegible, fix footnote formatting, add vscode shortcodes, fix font preloading
1 parent 40e1869 commit 551d768

19 files changed

Lines changed: 74 additions & 33 deletions

.vscode/shortcodes.code-snippets

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
{
2+
// Place your doingstuff.dev workspace snippets here. Each snippet is defined under a snippet name and has a scope, prefix, body and
3+
// description. Add comma separated ids of the languages where the snippet is applicable in the scope field. If scope
4+
// is left empty or omitted, the snippet gets applied to all languages. The prefix is what is
5+
// used to trigger the snippet and the body will be expanded and inserted. Possible variables are:
6+
// $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders.
7+
// Placeholders with the same ids are connected.
8+
// Example:
9+
// "Print to console": {
10+
// "scope": "javascript,typescript",
11+
// "prefix": "log",
12+
// "body": [
13+
// "console.log('$1');",
14+
// "$2"
15+
// ],
16+
// "description": "Log output to console"
17+
// }
18+
"img": {
19+
"scope": "markdown,jinja-md",
20+
"prefix": ["img"],
21+
"body": ["{{ img(src=\"$1\", alt=\"$2\" link=\"$3\") }}"],
22+
"description": "Image"
23+
},
24+
"video": {
25+
"scope": "markdown,jinja-md",
26+
"prefix": ["video"],
27+
"body": ["{{ video(src=\"$1\") }}"],
28+
"description": "Video"
29+
},
30+
"callout": {
31+
"scope": "markdown,jinja-md",
32+
"prefix": ["call","callout","danger","info","tip","warning"],
33+
"body": ["{% ${1|info,tip,warning,danger|}() %}",
34+
"$2",
35+
"{% end %}"],
36+
"description": "Callout"
37+
}
38+
39+
}

content/posts/home-assistant-dashboard-tablet/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ KDE Plasma 6 with the Maliit keyboard gave me the best tablet mode and on-screen
7070
5. Reboot
7171

7272
{% warning() %}
73-
When installing you might want leave the Recovery Partition. I removed it and the ThinkPad Tablet Setup broke.
73+
When installing you should leave the Recovery Partition. I removed it and the ThinkPad Tablet Setup broke.
7474
{% end %}
7575

7676
## After installation

content/posts/homelab-switching-salt-to-ansible.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ The roles folder structure is verbose but only requires the folders you use.
118118

119119
The largest complaint I saw about Ansible was how slow it was compared to Salt. I saw speeds similar to Salt with this additional configuration:
120120

121-
```toml
121+
```ini
122122
[defaults]
123123
strategy = free # don't block on each host per task
124124
[ssh_connection]

content/posts/reaper-midi-unreal-engine/index.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,12 @@ tags = ["Music"]
99
hide_toc = true
1010
+++
1111

12-
How to setup Reaper to send MIDI to Unreal Engine. If you are looking to use OSC instead, take a look at [daw-out](https://github.com/gamingrobot/daw-out).
12+
How to setup Reaper to send MIDI to Unreal Engine.
1313

1414
<!-- more -->
15+
{% info() %}
16+
If you are looking to use OSC instead, take a look at [daw-out](https://github.com/gamingrobot/daw-out).
17+
{% end %}
1518

1619
## Setting up Reaper
1720

content/posts/test/index.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,6 @@ mermaid = true
1111
+++
1212

1313
# Markdown: Syntax
14-
15-
**Note:** This document is itself written using Markdown; you
16-
can [see the source for it by adding '.text' to the URL](/projects/markdown/syntax.text).
17-
1814
----
1915

2016
## Overview

themes/doingstuff-zola/sass/doingstuff/_base.scss

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -242,3 +242,13 @@ a {
242242
footer {
243243
margin-bottom: 2rem;
244244
}
245+
246+
.footnote-definition {
247+
p:first-of-type {
248+
display: inline-block;
249+
margin: 0;
250+
}
251+
p {
252+
margin: 0 0 0 .8rem;
253+
}
254+
}

themes/doingstuff-zola/sass/doingstuff/_variables.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ $cyan: #75b5aa;
1818
$blue: #167bc2;
1919
$brown: #8f5536;
2020

21-
$root-font-family: "InterVariable", system-ui, sans-serif;
21+
$root-font-family: 'Atkinson Hyperlegible Next', system-ui, sans-serif;
2222

2323
// poole's variables
2424
$root-font-size: 1rem;
@@ -41,7 +41,7 @@ $small-device-font-size: $root-font-size;
4141
$large-device-font-size: $large-font-size;
4242

4343
// https://github.com/system-fonts/modern-font-stacks
44-
$code-font-family: ui-monospace, 'Cascadia Code', 'Source Code Pro', Menlo, Consolas, 'DejaVu Sans Mono', monospace;
44+
$code-font-family: 'Atkinson Hyperlegible Mono', ui-monospace, monospace;
4545
$code-font-size: .9rem;
4646
$code-fence-font-size: .8rem;
4747
//$code-color: #bf616a;
Lines changed: 10 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,13 @@
1-
/*! InterVariable */
21
@font-face {
3-
font-family: InterVariable;
4-
font-style: normal;
5-
font-weight: 100 900;
6-
font-display: swap;
7-
src: url('fonts/inter/InterVariable.woff2') format('woff2');
2+
font-family: "Atkinson Hyperlegible Next";
3+
src: url("fonts/atkinson/AtkinsonHyperlegibleNext-VariableFont.ttf") format("truetype");
4+
font-display: block;
5+
font-weight: 200 800;
86
}
97

10-
/* Not Required */
11-
// @font-face {
12-
// font-family: InterVariable;
13-
// font-style: italic;
14-
// font-weight: 100 900;
15-
// font-display: swap;
16-
// src: url('fonts/inter/InterVariable-Italic.woff2') format('woff2');
17-
// }
8+
@font-face {
9+
font-family: "Atkinson Hyperlegible Mono";
10+
src: url("fonts/atkinson/AtkinsonHyperlegibleMono-VariableFont.ttf") format("truetype");
11+
font-display: block;
12+
font-weight: 200 800;
13+
}
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)