patx/gitman
change font to monospace
Commit 3277739 · patx · 2026-05-22T13:44:11-04:00
Comments
No comments yet.
Diff
diff --git a/static/styles.css b/static/styles.css
index 4e35874..99224bd 100644
--- a/static/styles.css
+++ b/static/styles.css
@@ -25,6 +25,7 @@ html {
--notice: #060;
--ref-hover: #eef4fb;
--shadow: rgba(0, 0, 0, .12);
+ --app-font: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
}
@media (prefers-color-scheme: dark) {
@@ -56,13 +57,13 @@ body {
padding: 0 1rem 3rem;
color: var(--text);
background: var(--page-bg);
- font: 16px/1.6 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
+ font: 16px/1.6 var(--app-font);
}
a { color: var(--link); text-decoration: underline; }
h1, h2, p, pre, ul, table, form { margin-top: 0; }
pre, code, input, textarea, select, button { font: inherit; }
-pre, .clone-box code { overflow-x: auto; padding: .6rem; border: 1px solid var(--border); background: var(--soft-surface); font: 14px/1.55 ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace; }
+pre, .clone-box code { overflow-x: auto; padding: .6rem; border: 1px solid var(--border); background: var(--soft-surface); font: 14px/1.55 var(--app-font); }
pre code.hljs { padding: 0; background: transparent; }
.copyable-code {
position: relative;
@@ -318,7 +319,7 @@ button, .button {
padding: .12rem .28rem;
border-radius: .25rem;
background: var(--soft-surface);
- font: .9em/1.45 ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
+ font: .9em/1.45 var(--app-font);
}
.markdown-body pre code {
display: block;
diff --git a/templates/base.tpl b/templates/base.tpl
index 174c9f5..e7be9ac 100644
--- a/templates/base.tpl
+++ b/templates/base.tpl
@@ -9,7 +9,7 @@
<link rel="apple-touch-icon" sizes="180x180" href="/static/git.svg">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/styles/github.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/styles/github-dark.min.css" media="(prefers-color-scheme: dark)">
- <link rel="stylesheet" href="/static/styles.css?v=4">
+ <link rel="stylesheet" href="/static/styles.css?v=5">
</head>
<body>
<header class="site-header">
diff --git a/templates/index.tpl b/templates/index.tpl
index 805e2a2..eee0897 100644
--- a/templates/index.tpl
+++ b/templates/index.tpl
@@ -3,8 +3,7 @@
<section class="panel" style="border-bottom: none;">
<div class="panel-heading">
<div>
- <p class ="eyebrow">GitMan.io</p>
- <h1>Free Git repository hosting for open source software</h1>
+ <p class ="eyebrow">GitMan.io: Free Git repository hosting for open source software</p>
% if not user:
<div class="hero-actions" style="margin-bottom:50px;">
<a class="button" href="/signup">Create an account</a>