all repos — legit @ 2b9b2bdb1fb9a6c94859025ac1588faf4a5fbcdb

legit - simple git web interface in go (fork)

css: add bg to readme/file content
Anirudh Oppiliappan x@icyphox.sh
PGP Signature
-----BEGIN PGP SIGNATURE-----

iQEzBAABCgAdFiEE/huPz+bBYiLxVxyOipP5b3jF1MQFAmOgVuwACgkQipP5b3jF
1MTk+gf/Zmf//iNGeR/kMANkj1aNrIY5N1pz8EE1KS3mc990xhH+8accJfs1kvRW
P57fjI39h/l4LprL9OT+4moWDR4ikaOGc5yS7koiNO8WgN6O2EJHcUyRqTQdTZNP
RD/vHs9NAtZpEadHoZGbfskFaLcO7/9JhS0Mlm78pQKxYlnhFygM1mMYNa8cB4Ac
5kEY9t86PpoqSUOdiJMxHkQ7BNFF19LPK+kKWb2gpJy4fCPt96tCEFdXXuC2KOEc
071rS1KaH/FH1R3BJXtWGpYk26PoMzDFlRYxVDjgFadXGpL2BeI4jzdGG9mnpMLc
GdP+RbivbqoWSjZ+HU9lSiwZptTAHg==
=tfGZ
-----END PGP SIGNATURE-----
commit

2b9b2bdb1fb9a6c94859025ac1588faf4a5fbcdb

parent

d1a2847a266f344911bb791d083b72529cf90c63

3 files changed, 11 insertions(+), 5 deletions(-)

jump to
M static/style.cssstatic/style.css

@@ -9,7 +9,7 @@ --darker: #222;

--sans-font: "InterVar", -apple-system, BlinkMacSystemFont, "Roboto", "Segoe UI", sans-serif; --display-font: "InterDisplay", -apple-system, BlinkMacSystemFont, "Roboto", "Segoe UI", sans-serif; - --mono-font: "SF Mono", "Roboto Mono", monospace; + --mono-font: -apple-system, "SF Mono", "Roboto Mono", monospace; } html {

@@ -149,8 +149,8 @@ white-space: pre-wrap;

} .readme { - padding-bottom: 2rem; - border-bottom: 1.5px solid var(--medium-gray); + background: var(--light-gray); + padding: 0.5rem; } .diff {

@@ -230,6 +230,8 @@ flex-direction: row;

grid-template-columns: 1rem minmax(0, 1fr); gap: 1rem; overflow: scroll; + padding: 0.5rem; + background: var(--light-gray); } .commit-info {
M templates/commit.htmltemplates/commit.html

@@ -49,8 +49,11 @@ {{ range .diff }}

<div class="diff"> <div id="{{ .Name.New }}"> {{ if .Name.Old }} - <a href="/{{ $repo }}/blob/{{ $this }}/{{ .Name.Old }}">{{ .Name.Old }}</a> &#8594; - <a href="/{{ $repo }}/blob/{{ $this }}/{{ .Name.New }}">{{ .Name.New }}</a> + <a href="/{{ $repo }}/blob/{{ $this }}/{{ .Name.Old }}">{{ .Name.Old }}</a> + {{ if .Name.New }} + &#8594; + <a href="/{{ $repo }}/blob/{{ $this }}/{{ .Name.New }}">{{ .Name.New }}</a> + {{ end }} {{ else }} <a href="/{{ $repo }}/blob/{{ $this }}/{{ .Name.New }}">{{ .Name.New }}</a> {{- end -}}
M templates/file.htmltemplates/file.html

@@ -7,6 +7,7 @@ {{ template "repoheader" . }}

<body> {{ template "nav" . }} <main> + <p>{{ .path }}</p> <div class="file-wrapper"> <div class="line-numbers"> {{- range .linecount }}