Update readme, fix css fonts
README.md
88 | 88 | ./pre-inst-env scripts/gitile -c gitile.conf | |
89 | 89 | ``` | |
90 | 90 | ||
91 | - | It should be running on `localhost:8080`, but you will not get any assets. | |
91 | + | It should be running on `localhost:8080`. | |
92 | 92 | ||
93 | - | To get assets, you need to have them served, for instance with Nginx acting as | |
94 | - | a reverse proxy for gitile, and serving the assets directly. | |
93 | + | If you don't get any assets, configure asset-directory as described | |
94 | + | above, but note that this is only suitable for local development. For | |
95 | + | production you need to have them served directly, for instance with | |
96 | + | Nginx acting as a reverse proxy for gitile. | |
95 | 97 | ||
96 | 98 | Repository Configuration | |
97 | 99 | ------------------------ |
assets/css/git.css
35 | 35 | html, body { | |
36 | 36 | margin: 0; | |
37 | 37 | padding: 0; | |
38 | - | font-family: "Noto Sans", "Dejavu Sans", sans-serif, sans; | |
38 | + | font-family: sans-serif; | |
39 | 39 | background: var(--gray); | |
40 | 40 | color: var(--black); | |
41 | 41 | } | |
… | |||
75 | 75 | } | |
76 | 76 | ||
77 | 77 | .pseudo { | |
78 | - | font-family: monospace, monospace; | |
78 | + | font-family: monospace; | |
79 | 79 | } | |
80 | 80 | ||
81 | 81 | #content { |
assets/css/gitile.css
183 | 183 | margin: 0; | |
184 | 184 | background: var(--white); | |
185 | 185 | line-height: 1em; | |
186 | - | font-family: monospace, monospace; | |
186 | + | font-family: monospace; | |
187 | 187 | } | |
188 | 188 | ||
189 | 189 | pre { | |
… | |||
193 | 193 | article.formatted-file-content > * { | |
194 | 194 | margin-left: auto; | |
195 | 195 | margin-right: auto; | |
196 | - | font-family: noto sans, sans serif; | |
196 | + | font-family: sans-serif; | |
197 | 197 | font-size: 1.05em; | |
198 | 198 | } | |
199 | 199 | ||
… | |||
205 | 205 | border: 1px solid var(--pre-border); | |
206 | 206 | box-shadow: 1px 1px 0 var(--pre-shadow); | |
207 | 207 | overflow: auto; | |
208 | - | font-family: noto mono, mono; | |
208 | + | font-family: monospace; | |
209 | 209 | font-size: inherit; | |
210 | 210 | color: #353; | |
211 | 211 | } | |
… | |||
403 | 403 | display: inline-block; | |
404 | 404 | padding: 0 0.5em; | |
405 | 405 | border-right: 1px solid var(--gray); | |
406 | - | font-family: monospace, monospace; | |
406 | + | font-family: monospace; | |
407 | 407 | font-size: 0.85em; | |
408 | 408 | display: flex; | |
409 | 409 | align-items: center; | |
… | |||
447 | 447 | background: var(--darkerwhite); | |
448 | 448 | display: inline-block; | |
449 | 449 | padding: 3px; | |
450 | - | font-family: monospace, monospace; | |
450 | + | font-family: monospace; | |
451 | 451 | font-size: 0.85em; | |
452 | 452 | } | |
453 | 453 |