web frontend for git (tangled's grandpa)
7
fork

Configure Feed

Select the types of activity you want to include in your feed.

css: add bg to readme/file content

+11 -5
+5 -3
static/style.css
··· 9 9 10 10 --sans-font: "InterVar", -apple-system, BlinkMacSystemFont, "Roboto", "Segoe UI", sans-serif; 11 11 --display-font: "InterDisplay", -apple-system, BlinkMacSystemFont, "Roboto", "Segoe UI", sans-serif; 12 - --mono-font: "SF Mono", "Roboto Mono", monospace; 12 + --mono-font: -apple-system, "SF Mono", "Roboto Mono", monospace; 13 13 } 14 14 15 15 html { ··· 149 149 } 150 150 151 151 .readme { 152 - padding-bottom: 2rem; 153 - border-bottom: 1.5px solid var(--medium-gray); 152 + background: var(--light-gray); 153 + padding: 0.5rem; 154 154 } 155 155 156 156 .diff { ··· 230 230 grid-template-columns: 1rem minmax(0, 1fr); 231 231 gap: 1rem; 232 232 overflow: scroll; 233 + padding: 0.5rem; 234 + background: var(--light-gray); 233 235 } 234 236 235 237 .commit-info {
+5 -2
templates/commit.html
··· 49 49 <div class="diff"> 50 50 <div id="{{ .Name.New }}"> 51 51 {{ if .Name.Old }} 52 - <a href="/{{ $repo }}/blob/{{ $this }}/{{ .Name.Old }}">{{ .Name.Old }}</a> &#8594; 53 - <a href="/{{ $repo }}/blob/{{ $this }}/{{ .Name.New }}">{{ .Name.New }}</a> 52 + <a href="/{{ $repo }}/blob/{{ $this }}/{{ .Name.Old }}">{{ .Name.Old }}</a> 53 + {{ if .Name.New }} 54 + &#8594; 55 + <a href="/{{ $repo }}/blob/{{ $this }}/{{ .Name.New }}">{{ .Name.New }}</a> 56 + {{ end }} 54 57 {{ else }} 55 58 <a href="/{{ $repo }}/blob/{{ $this }}/{{ .Name.New }}">{{ .Name.New }}</a> 56 59 {{- end -}}
+1
templates/file.html
··· 7 7 <body> 8 8 {{ template "nav" . }} 9 9 <main> 10 + <p>{{ .path }}</p> 10 11 <div class="file-wrapper"> 11 12 <div class="line-numbers"> 12 13 {{- range .linecount }}