css: revert to default system font Also removes my CDN from head.html along with the relevant note in the readme.
Anirudh Oppiliappan x@icyphox.sh
Thu, 16 Jan 2025 11:17:05 +0200
4 files changed, 3 insertions(+), 6 deletions(-)
M config.yaml → config.yaml
@@ -14,7 +14,6 @@ static: ./static meta: title: icy does git description: come get your free software - syntaxHighlight: monokailight server: name: git.icyphox.sh host: 0.0.0.0
M readme → readme
@@ -48,6 +48,7 @@ static: ./static meta: title: git good description: i think it's a skill issue + syntaxHighlight: monokailight server: name: git.icyphox.sh host: 127.0.0.1 @@ -74,8 +75,6 @@ • Run legit behind a TLS terminating proxy like relayd(8) or nginx. • Cloning only works in bare repos -- this is a limitation inherent to git. You can still view non-bare repos just fine in legit. -• The default head.html template uses my CDN to fetch fonts -- you may - or may not want this. • Pushing over https, while supported, is disabled because auth is a pain. Use ssh. • Paths are unveil(2)'d on OpenBSD.
M static/style.css → static/style.css
@@ -8,8 +8,8 @@ --gray: #6a6a6a; --dark: #444; --darker: #222; - --sans-font: "Geist", -apple-system, BlinkMacSystemFont, "Roboto", "Segoe UI", sans-serif; - --display-font: "Geist", -apple-system, BlinkMacSystemFont, "Roboto", "Segoe UI", sans-serif; + --sans-font: -apple-system, BlinkMacSystemFont, "Inter", "Roboto", "Segoe UI", sans-serif; + --display-font: -apple-system, BlinkMacSystemFont, "Inter", "Roboto", "Segoe UI", sans-serif; --mono-font: 'SF Mono', SFMono-Regular, ui-monospace, 'DejaVu Sans Mono', 'Roboto Mono', Menlo, Consolas, monospace; }
M templates/head.html → templates/head.html
@@ -3,7 +3,6 @@ <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="/static/style.css" type="text/css"> - <link rel="stylesheet" href="https://cdn.icyphox.sh/fonts/fonts.css" type="text/css"> <link rel="icon" type="image/png" size="32x32" href="/static/legit.png"> {{ if .parent }} <title>{{ .meta.Title }} — {{ .name }} ({{ .ref }}): {{ .parent }}/</title>