gitserver

self-hosted git server tooling
git clone https://git.ryansepassi.com/git/gitserver.git
Log | Files | Refs | README

commit 10fde53277bccba19cc17c2657e20e90103593ec
parent 17fe438f6532990e17fa8fd5363657e6eb529c9f
Author: Ryan Sepassi <rsepassi@gmail.com>
Date:   Fri, 24 Apr 2026 17:06:28 -0700

typography

Diffstat:
Aassets/fonts/InterVariable-Italic.woff2 | 0
Aassets/fonts/InterVariable.woff2 | 0
Aassets/fonts/MonaspaceNeon.var.woff2 | 0
Massets/style.css | 45++++++++++++++++++++++++++++++++++++++++++---
Mbin/stagit-update | 10++++++++++
5 files changed, 52 insertions(+), 3 deletions(-)

diff --git a/assets/fonts/InterVariable-Italic.woff2 b/assets/fonts/InterVariable-Italic.woff2 Binary files differ. diff --git a/assets/fonts/InterVariable.woff2 b/assets/fonts/InterVariable.woff2 Binary files differ. diff --git a/assets/fonts/MonaspaceNeon.var.woff2 b/assets/fonts/MonaspaceNeon.var.woff2 Binary files differ. diff --git a/assets/style.css b/assets/style.css @@ -1,5 +1,34 @@ +@font-face { + font-family: "Inter"; + font-style: normal; + font-weight: 100 900; + font-display: swap; + src: url("/fonts/InterVariable.woff2") format("woff2-variations"); +} +@font-face { + font-family: "Inter"; + font-style: italic; + font-weight: 100 900; + font-display: swap; + src: url("/fonts/InterVariable-Italic.woff2") format("woff2-variations"); +} +@font-face { + font-family: "Monaspace Neon"; + font-style: normal; + font-weight: 200 800; + font-display: swap; + src: url("/fonts/MonaspaceNeon.var.woff2") format("woff2-variations"); +} + html { color-scheme: light dark; } -body { font-family: monospace; margin: 2em auto; max-width: 70em; padding: 0 1em; color: #222; } +body { + font-family: "Monaspace Neon", ui-monospace, "SF Mono", Menlo, Consolas, monospace; + font-feature-settings: "calt", "ss01"; + margin: 2em auto; + max-width: 70em; + padding: 0 1em; + color: #222; +} a { color: #06c; text-decoration: none; } a:hover { text-decoration: underline; } h1, h2 { font-weight: normal; } @@ -16,11 +45,21 @@ pre { overflow-x: auto; } .H { font-weight: bold; background: #f4f4f4; } .O { color: #666; } img { max-width: 100%; } -#md { font-family: -apple-system, system-ui, sans-serif; line-height: 1.5; } +#md { + font-family: "Inter", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif; + line-height: 1.5; +} #md h1, #md h2, #md h3, #md h4 { font-weight: 600; margin: 1.2em 0 0.4em; } #md h1 { font-size: 1.6em; border-bottom: 1px solid #ddd; padding-bottom: 0.2em; } #md h2 { font-size: 1.3em; border-bottom: 1px solid #eee; padding-bottom: 0.2em; } -#md code { font-family: monospace; background: #f4f4f4; padding: 0.1em 0.3em; border-radius: 3px; font-size: 0.9em; } +#md code { + font-family: "Monaspace Neon", ui-monospace, "SF Mono", Menlo, Consolas, monospace; + font-feature-settings: "calt", "ss01"; + background: #f4f4f4; + padding: 0.1em 0.3em; + border-radius: 3px; + font-size: 0.9em; +} #md pre { background: #f4f4f4; padding: 0.8em; border-radius: 3px; } #md pre code { background: none; padding: 0; font-size: 0.9em; } #md blockquote { border-left: 3px solid #ddd; margin: 0; padding: 0 1em; color: #666; } diff --git a/bin/stagit-update b/bin/stagit-update @@ -100,6 +100,16 @@ for f in style.css logo.png favicon.png; do cp -u "$ASSETS/$f" "$PUB/" done +# shared fonts at tree root (referenced as /fonts/* from style.css) +if [ -d "$ASSETS/fonts" ]; then + mkdir -p "$PRIV/fonts" "$PUB/fonts" + for f in "$ASSETS/fonts"/*; do + [ -f "$f" ] || continue + cp -u "$f" "$PRIV/fonts/" + cp -u "$f" "$PUB/fonts/" + done +fi + # indexes all_list="" pub_list=""