Update readme, fix css fonts

Evgeny PisemskyFri Aug 30 09:20:51+0300 2024

24c6518

Update readme, fix css fonts

README.md

8888
./pre-inst-env scripts/gitile -c gitile.conf
8989
```
9090
91-
It should be running on `localhost:8080`, but you will not get any assets.
91+
It should be running on `localhost:8080`.
9292
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.
9597
9698
Repository Configuration
9799
------------------------

assets/css/git.css

3535
html, body {
3636
  margin: 0;
3737
  padding: 0;
38-
  font-family: "Noto Sans", "Dejavu Sans", sans-serif, sans;
38+
  font-family: sans-serif;
3939
  background: var(--gray);
4040
  color: var(--black);
4141
}

7575
}
7676
7777
.pseudo {
78-
  font-family: monospace, monospace;
78+
  font-family: monospace;
7979
}
8080
8181
#content {

assets/css/gitile.css

183183
  margin: 0;
184184
  background: var(--white);
185185
  line-height: 1em;
186-
  font-family: monospace, monospace;
186+
  font-family: monospace;
187187
}
188188
189189
pre {

193193
article.formatted-file-content > * {
194194
  margin-left: auto;
195195
  margin-right: auto;
196-
  font-family: noto sans, sans serif;
196+
  font-family: sans-serif;
197197
  font-size: 1.05em;
198198
}
199199

205205
  border: 1px solid var(--pre-border);
206206
  box-shadow: 1px 1px 0 var(--pre-shadow);
207207
  overflow: auto;
208-
  font-family: noto mono, mono;
208+
  font-family: monospace;
209209
  font-size: inherit;
210210
  color: #353;
211211
}

403403
  display: inline-block;
404404
  padding: 0 0.5em;
405405
  border-right: 1px solid var(--gray);
406-
  font-family: monospace, monospace;
406+
  font-family: monospace;
407407
  font-size: 0.85em;
408408
  display: flex;
409409
  align-items: center;

447447
  background: var(--darkerwhite);
448448
  display: inline-block;
449449
  padding: 3px;
450-
  font-family: monospace, monospace;
450+
  font-family: monospace;
451451
  font-size: 0.85em;
452452
}
453453