* [sup-website.git] 05/06: change font to Iosevka
2026-10-18 9:33 [sup-website.git] branch master updated (4371c80 -> b791e6e) Dan Callaghan
` (3 preceding siblings ...)
2026-10-18 9:33 ` [sup-website.git] 04/06: small wording tweaks to opening paragraphs Dan Callaghan
@ 2026-10-18 9:33 ` Dan Callaghan
2026-10-18 9:33 ` [sup-website.git] 06/06: dial up the fake CRT glow effect Dan Callaghan
5 siblings, 0 replies; 7+ messages in thread
From: Dan Callaghan @ 2026-10-18 9:33 UTC (permalink / raw)
To: sup-commits
New commit on branch master:
https://supmua.dev/git/sup-website/commit/20a82ec7edb5470246f113381b7b7e2c3bf8f851.html
commit 20a82ec7edb5470246f113381b7b7e2c3bf8f851
Author: Dan Callaghan <djc@djc.id.au>
AuthorDate: Sun Oct 18 20:19:39 2026 +1100
change font to Iosevka
---
_plugins/webfonts.nix | 98 ++++++++++++++++++++++++++++++++++++++++++++
_plugins/webfonts.rb | 13 ++++++
stylesheets/public-inbox.css | 18 +++++---
stylesheets/stylesheet.css | 27 +++++++-----
4 files changed, 140 insertions(+), 16 deletions(-)
diff --git a/_plugins/webfonts.nix b/_plugins/webfonts.nix
new file mode 100644
index 0000000..84b42eb
--- /dev/null
+++ b/_plugins/webfonts.nix
@@ -0,0 +1,98 @@
+let
+ pkgs = import <nixpkgs> { };
+in
+(pkgs.iosevka.override {
+ privateBuildPlan = ''
+ [buildPlans.IosevkaAile]
+ family = "Iosevka Aile SS09"
+ spacing = "quasi-proportional"
+ serifs = "sans"
+ noLigation = true
+ webfontFormats = ["WOFF2"]
+ [buildPlans.IosevkaAile.variants]
+ inherits = "ss09"
+ [buildPlans.IosevkaAile.variants.design]
+ f = "narrow-serifless-crossbar-at-x-height"
+ i = "serifed-flat-tailed"
+ r = "narrow-hook-serifless"
+ t = "flat-hook-short-neck"
+ [buildPlans.IosevkaAile.weights]
+ Light = "default.Light"
+ Regular = "default.Regular"
+ Bold = "default.Bold"
+ [buildPlans.IosevkaAile.widths]
+ Normal = "default.Extended"
+ [buildPlans.IosevkaAile.slopes]
+ Upright = "default.Upright"
+ Italic = "default.Italic"
+ [buildPlans.IosevkaAile.subset.include]
+ ranges = [
+ # https://github.com/zachleat/glyphhanger/blob/8b81f57dc214cb2a1d1b5abb209e1d39454d7c51/src/GlyphHangerWhitelist.js#L14
+ [0, 255],
+ [305, 305],
+ [338, 339],
+ [699, 700],
+ [710, 710],
+ [730, 730],
+ [732, 732],
+ [8192, 8303],
+ [8308, 8308],
+ [8364, 8364],
+ [8482, 8482],
+ [8593, 8593],
+ [8595, 8595],
+ [8722, 8722],
+ [8725, 8725],
+ [65279, 65279],
+ [65533, 65533],
+ ]
+ [buildPlans.Iosevka]
+ family = "Iosevka SS09"
+ spacing = "normal"
+ serifs = "sans"
+ noLigation = true
+ webfontFormats = ["WOFF2"]
+ [buildPlans.Iosevka.variants]
+ inherits = "ss09"
+ [buildPlans.Iosevka.weights]
+ Light = "default.Light"
+ Regular = "default.Regular"
+ [buildPlans.Iosevka.widths]
+ Normal = "default.Extended"
+ [buildPlans.Iosevka.slopes]
+ Upright = "default.Upright"
+ [buildPlans.Iosevka.subset.include]
+ ranges = [
+ # https://github.com/zachleat/glyphhanger/blob/8b81f57dc214cb2a1d1b5abb209e1d39454d7c51/src/GlyphHangerWhitelist.js#L14
+ [0, 255],
+ [305, 305],
+ [338, 339],
+ [699, 700],
+ [710, 710],
+ [730, 730],
+ [732, 732],
+ [8192, 8303],
+ [8308, 8308],
+ [8364, 8364],
+ [8482, 8482],
+ [8593, 8593],
+ [8595, 8595],
+ [8722, 8722],
+ [8725, 8725],
+ [65279, 65279],
+ [65533, 65533],
+ ]
+ '';
+ set = "CustomSupWebsite";
+}).overrideAttrs (finalAttrs: previousAttrs: {
+ buildPhase = ''
+ export HOME=$TMPDIR
+ cat private-build-plans.toml
+ npm run build --no-update-notifier --targets webfont::IosevkaAile webfont::Iosevka -- --jCmd=$NIX_BUILD_CORES --verbosity=9 | cat
+ '';
+ installPhase = ''
+ install -d $out
+ cp dist/*/*.css $out/
+ cp -r dist/*/WOFF2 $out/
+ '';
+})
diff --git a/_plugins/webfonts.rb b/_plugins/webfonts.rb
new file mode 100644
index 0000000..85277e7
--- /dev/null
+++ b/_plugins/webfonts.rb
@@ -0,0 +1,13 @@
+require 'fileutils'
+require 'open3'
+
+Jekyll::Hooks.register :site, :post_write do |site|
+ Jekyll.logger.info "Fonts:", "Building"
+ out, err, status = Open3.capture3 "nix-build", "_plugins/webfonts.nix", "--no-out-link"
+ raise "nix-build failed: #{err}" unless status.success?
+ result = out.strip
+ FileUtils.mkdir_p "#{site.dest}/fonts"
+ Dir["#{result}/*.css"].each { |f| FileUtils.cp f, "#{site.dest}/fonts" }
+ FileUtils.mkdir_p "#{site.dest}/fonts/WOFF2"
+ Dir["#{result}/WOFF2/*"].each { |f| FileUtils.cp f, "#{site.dest}/fonts/WOFF2" }
+end
diff --git a/stylesheets/public-inbox.css b/stylesheets/public-inbox.css
index 949278a..2015385 100644
--- a/stylesheets/public-inbox.css
+++ b/stylesheets/public-inbox.css
@@ -1,9 +1,16 @@
+@import "../fonts/Iosevka.css";
+@import "../fonts/IosevkaAile.css";
body {
background: #151515 url("/images/bkg.png") 0 0;
color: #eaeaea;
font-size: 16px;
line-height: 1.5;
- font-family: Monaco, "Bitstream Vera Sans Mono", "Lucida Console", Terminal, monospace;
+ font-family: "Iosevka SS09 Web", monospace;
+ font-weight: 300;
+}
+/* public-inbox injects a rule: *{font-family:monospace;} so override it here: */
+* {
+ font-family: "Iosevka SS09 Web", monospace;
}
a {
color: #ffcc00;
@@ -18,9 +25,8 @@ a {
a:hover {
color: #ffeb9b;
}
-b {
- font-weight: 500;
- font-family: Monaco, "Bitstream Vera Sans Mono", "Lucida Console", Terminal, monospace;
+b, strong {
+ font-weight: 400;
color: #b5e853;
}
u {
@@ -45,7 +51,7 @@ input[type="submit"] {
border-bottom: 2px solid rgba(0, 0, 0, 0.7);
border-top: 2px solid rgba(0, 0, 0, 1);
color: rgba(255, 255, 255, 0.8);
- font-family: sans-serif;
+ font-family: "Iosevka Aile SS09 Web", sans-serif;
font-weight: bold;
font-size: 13px;
text-decoration: none;
@@ -64,7 +70,7 @@ input[type="text"] {
border-bottom: 2px solid rgba(0, 0, 0, 0.7);
border-top: 2px solid rgba(0, 0, 0, 1);
color: rgba(255, 255, 255, 0.8);
- font-family: Helvetica, Arial, sans-serif;
+ font-family: "Iosevka Aile SS09 Web", sans-serif;
font-size: 13px;
text-decoration: none;
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.75);
diff --git a/stylesheets/stylesheet.css b/stylesheets/stylesheet.css
index f190f22..5b7bf0e 100644
--- a/stylesheets/stylesheet.css
+++ b/stylesheets/stylesheet.css
@@ -1,3 +1,6 @@
+@import "../fonts/Iosevka.css";
+@import "../fonts/IosevkaAile.css";
+
body {
margin: 0;
padding: 0;
@@ -5,7 +8,11 @@ body {
color: #eaeaea;
font-size: 16px;
line-height: 1.5;
- font-family: Monaco, "Bitstream Vera Sans Mono", "Lucida Console", Terminal, monospace;
+ font-family: "Iosevka Aile SS09 Web", monospace;
+ font-weight: 300;
+}
+b, strong {
+ font-weight: 700;
}
/* General & 'Reset' Stuff */
@@ -64,9 +71,8 @@ header {
header h1 {
font-size: 30px;
line-height: 1.5;
- margin: 0 0 0 -40px;
+ margin: 0 0 0 -1em;
font-weight: bold;
- font-family: Monaco, "Bitstream Vera Sans Mono", "Lucida Console", Terminal, monospace;
color: #b5e853;
text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1),
0 0 5px rgba(181, 232, 83, 0.1),
@@ -110,8 +116,7 @@ section img {
}
h1, h2, h3, h4, h5, h6 {
- font-weight: normal;
- font-family: Monaco, "Bitstream Vera Sans Mono", "Lucida Console", Terminal, monospace;
+ font-weight: 400;
color: #b5e853;
letter-spacing: -0.03em;
text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1),
@@ -181,6 +186,8 @@ blockquote {
tt.code, pre.code {
color: #b5e853;
+ font-family: "Iosevka SS09 Web", monospace;
+ font-weight: 400;
}
pre.code {
background: rgba(0, 0, 0, 0.9);
@@ -235,7 +242,6 @@ hr {
border-bottom: 2px solid rgba(0, 0, 0, 0.7);
border-top: 2px solid rgba(0, 0, 0, 1);
color: rgba(255, 255, 255, 0.8);
- font-family: Helvetica, Arial, sans-serif;
font-weight: bold;
font-size: 13px;
text-decoration: none;
@@ -299,8 +305,13 @@ a:hover {
max-width: 1200px;
}
+.git, .git pre {
+ font-family: "Iosevka SS09 Web", monospace;
+}
+
.git .url {
margin: -10px 0 10px 0;
+ font-weight: 400;
color: #666;
}
.git .url:before {
@@ -328,9 +339,6 @@ a.line {
text-decoration: none;
}
-#blob {
- line-height: 1.25;
-}
#blob a {
color: #888;
}
@@ -342,7 +350,6 @@ a.line {
width: auto;
}
.git table thead td {
- font-weight: 300;
color: #b5e853;
}
.git table td {
^ permalink raw reply related [flat|nested] 7+ messages in thread* [sup-website.git] 06/06: dial up the fake CRT glow effect
2026-10-18 9:33 [sup-website.git] branch master updated (4371c80 -> b791e6e) Dan Callaghan
` (4 preceding siblings ...)
2026-10-18 9:33 ` [sup-website.git] 05/06: change font to Iosevka Dan Callaghan
@ 2026-10-18 9:33 ` Dan Callaghan
5 siblings, 0 replies; 7+ messages in thread
From: Dan Callaghan @ 2026-10-18 9:33 UTC (permalink / raw)
To: sup-commits
New commit on branch master:
https://supmua.dev/git/sup-website/commit/b791e6ec72fa18941224c0e0254e7d9d12ee602d.html
commit b791e6ec72fa18941224c0e0254e7d9d12ee602d
Author: Dan Callaghan <djc@djc.id.au>
AuthorDate: Sun Oct 18 20:27:17 2026 +1100
dial up the fake CRT glow effect
Is it tacky? Is it retro? Who can say. But I like it.
---
stylesheets/stylesheet.css | 18 ++++++++++++------
1 file changed, 12 insertions(+), 6 deletions(-)
diff --git a/stylesheets/stylesheet.css b/stylesheets/stylesheet.css
index 5b7bf0e..671dd66 100644
--- a/stylesheets/stylesheet.css
+++ b/stylesheets/stylesheet.css
@@ -74,9 +74,9 @@ header h1 {
margin: 0 0 0 -1em;
font-weight: bold;
color: #b5e853;
- text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1),
- 0 0 5px rgba(181, 232, 83, 0.1),
- 0 0 10px rgba(181, 232, 83, 0.1);
+ text-shadow: 0 1px 1px rgba(0, 0, 0, 0.5),
+ 0 0 5px rgba(181, 232, 83, 0.5),
+ 0 0 10px rgba(181, 232, 83, 0.5);
letter-spacing: -1px;
-webkit-font-smoothing: antialiased;
}
@@ -119,9 +119,9 @@ h1, h2, h3, h4, h5, h6 {
font-weight: 400;
color: #b5e853;
letter-spacing: -0.03em;
- text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1),
- 0 0 5px rgba(181, 232, 83, 0.1),
- 0 0 10px rgba(181, 232, 83, 0.1);
+ text-shadow: 0 1px 1px rgba(0, 0, 0, 0.25),
+ 0 0 5px rgba(181, 232, 83, 0.25),
+ 0 0 10px rgba(181, 232, 83, 0.25);
}
h2:before {
@@ -186,6 +186,9 @@ blockquote {
tt.code, pre.code {
color: #b5e853;
+ text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1),
+ 0 0 5px rgba(181, 232, 83, 0.1),
+ 0 0 10px rgba(181, 232, 83, 0.1);
font-family: "Iosevka SS09 Web", monospace;
font-weight: 400;
}
@@ -296,6 +299,9 @@ a {
}
a:hover {
color: #ffeb9b;
+ text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2),
+ 0 0 5px rgba(255, 235, 155, 0.2),
+ 0 0 10px rgba(255, 235, 155, 0.2);
}
^ permalink raw reply related [flat|nested] 7+ messages in thread