all repos — legit @ 64f6ad72718d656402ceb7b106614ae3b64ff5cf

web frontend for git, written in go

css: revert to default system font Also removes my CDN from head.html along with the relevant note in the readme.

Anirudh Oppiliappan
commit

64f6ad72718d656402ceb7b106614ae3b64ff5cf

parent

9691bbfad3a10d19e3dc7b1b6b9d344c5c4466e6

4 files changed, 3 insertions(+), 6 deletions(-)

jump to
M config.yamlconfig.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 readmereadme
@@ -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.cssstatic/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.htmltemplates/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 }} &mdash; {{ .name }} ({{ .ref }}): {{ .parent }}/</title>