summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSam Anthony <sam@samanthony.xyz>2026-01-15 18:38:39 -0500
committerSam Anthony <sam@samanthony.xyz>2026-01-15 18:38:39 -0500
commitb941697860bac7d649abcb3699511bb26422f59c (patch)
tree83bf65ed0ce2e70d2f3b4ad16dd3b79c17c939fa
parent925b4e15824f20ed26144237a7dd19b8f7efc07a (diff)
downloadsamanthony.xyz-b941697860bac7d649abcb3699511bb26422f59c.zip
font stack; tweak spacing
-rw-r--r--content/_index.html2
-rw-r--r--content/articles/header-test.md6
-rw-r--r--themes/aoidh/assets/aoidh.css20
3 files changed, 22 insertions, 6 deletions
diff --git a/content/_index.html b/content/_index.html
index 6c31210..67fad6c 100644
--- a/content/_index.html
+++ b/content/_index.html
@@ -8,7 +8,7 @@ draft: false
/* _nop() has been deprecated; use __nop() */<br>
#define _nop() __nop()
</code>
-<cite>&mdash;excerpt from <a href="https://www.microchip.com/en-us/tools-resources/develop/mplab-xc-compilers/xc8"><code>pic.h</code></a></cite>
+<cite>&mdash;excerpt from <a href="https://www.microchip.com/en-us/tools-resources/develop/mplab-xc-compilers/xc8"><span class="mono">pic.h</span></a></cite>
</blockquote>
<h1>About</h1>
diff --git a/content/articles/header-test.md b/content/articles/header-test.md
index d8686ed..e401e77 100644
--- a/content/articles/header-test.md
+++ b/content/articles/header-test.md
@@ -5,10 +5,16 @@ tags = []
draft = true
+++
+Lorem ipsum dolor sit amet.
+
# First level
+Lorem ipsum dolor sit amet.
+
## Second level
+Lorem ipsum dolor sit amet.
+
### Third level
Lorem ipsum dolor sit amet.
diff --git a/themes/aoidh/assets/aoidh.css b/themes/aoidh/assets/aoidh.css
index f36779a..1eb811d 100644
--- a/themes/aoidh/assets/aoidh.css
+++ b/themes/aoidh/assets/aoidh.css
@@ -21,14 +21,14 @@ html {
body {
margin: 1rem auto;
- padding: 1rem;
+ padding: 1rem .5rem;
max-width: var(--pagewidth);
border: 1px solid var(--dark-yellow);
box-shadow: 2px 2px var(--dark-yellow);
}
body {
- font-family: serif;
+ font-family: 'IBM Plex Serif', Charter, 'Bitstream Charter', 'Sitka Text', serif;
font-weight: 400;
line-height: 1.35em;
text-rendering: optimizeLegibility;
@@ -127,8 +127,8 @@ h3 {
}
h1, h2, h3 {
- margin-block-start: 1em;
- margin-block-end: .5em;
+ margin-block-start: .8em;
+ margin-block-end: .4em;
}
table {
@@ -152,7 +152,7 @@ th, td {
}
th {
- font-weight: 450;
+ font-weight: 500;
}
footer {
@@ -213,3 +213,13 @@ iframe {
border: 1px solid var(--dark-yellow);
box-shadow: 2px 2px var(--dark-yellow);
}
+
+code {
+ font-family: 'IBM Plex Mono', 'Source Code Pro', monospace;
+ font-size: .9em;
+}
+
+.mono {
+ font-family: 'IBM Plex Mono', 'Source Code Pro', monospace;
+ font-size: .9em;
+}