style(ui): show only the g mark in the header
4 files changed, +3 −2
- INSTALL.md modified +1 −1
- static/style.css modified +1 −0
- static/wordmark.png deleted +0 −0
- templates/layout.html modified +1 −1
INSTALL.md modified
| @@ -104,7 +104,7 @@ Under Docker the same commands run as `docker exec gitpocket gitpocket admin you | ||
| 104 | 104 | | `-ssh-user` | `git` | account shown in SSH clone URLs | |
| 105 | 105 | | `-proxy` | none | comma separated networks, besides loopback, whose `X-Forwarded-For` is trusted | |
| 106 | 106 | |
| 107 | -The data directory holds a few optional files, each read once at startup. `logo.png` replaces the header wordmark and `icon.png` the favicon. `smtp.json` enables mail, and `gitpocket quota 2G` sets a per owner disk quota that pushes are checked against. | |
| 107 | +The data directory holds a few optional files, each read once at startup. `logo.png` replaces the header logo and `icon.png` the favicon. `smtp.json` enables mail, and `gitpocket quota 2G` sets a per owner disk quota that pushes are checked against. | |
| 108 | 108 | |
| 109 | 109 | |
| 110 | 110 | |
static/style.css modified
| @@ -28,6 +28,7 @@ nav.site{display:flex;gap:1rem;align-items:center;padding-top:.5rem;padding-bott | ||
| 28 | 28 | nav.site .brand{display:inline-flex;align-items:center;font-size:1.3rem;color:var(--fg);margin-right:.5rem;text-decoration:none;letter-spacing:-.01em} |
| 29 | 29 | nav.site .brand img{height:2rem;width:auto;margin:-.25rem 0} |
| 30 | 30 | nav.site .brand img.mark{height:2.8rem;margin:-.6rem -.3rem -.6rem 0;position:relative;top:.45rem} |
| 31 | +nav.site .brand img.solo{height:2.5rem;margin:-.55rem 0} | |
| 31 | 32 | nav.site{color:var(--muted)} |
| 32 | 33 | nav.site a{color:var(--muted)} |
| 33 | 34 | nav.site .brand{color:var(--fg)} |
static/wordmark.png deleted
Binary file.
templates/layout.html modified
| @@ -18,7 +18,7 @@ | ||
| 18 | 18 | <body{{if .Fluid}} class="fluid"{{end}}> |
| 19 | 19 | <header> |
| 20 | 20 | <nav class="site"> |
| 21 | -<a class="brand" href="/" aria-label="{{.Name}}">{{if .Logo}}<img src="/static/site/logo.png?v={{.Version}}" alt="{{.Name}}">{{else if eq .Name "gitpocket"}}<img src="/static/wordmark.png?v={{.Version}}" alt="gitpocket" width="311" height="80">{{else}}<img class="mark" src="/static/logo.png?v={{$.Version}}" alt="" width="35" height="36">{{.Name}}{{end}}</a> | |
| 21 | +<a class="brand" href="/" aria-label="{{.Name}}">{{if .Logo}}<img src="/static/site/logo.png?v={{.Version}}" alt="{{.Name}}">{{else if eq .Name "gitpocket"}}<img class="solo" src="/static/logo.png?v={{.Version}}" alt="gitpocket" width="35" height="36">{{else}}<img class="mark" src="/static/logo.png?v={{$.Version}}" alt="" width="35" height="36">{{.Name}}{{end}}</a> | |
| 22 | 22 | <a href="/search">explore</a> |
| 23 | 23 | {{if not (and .Data (index .Data "Facets"))}}<form class="navsearch" method="get" action="/search" role="search"><input name="q" placeholder="Search repositories, people, languages" aria-label="Search"></form>{{end}} |
| 24 | 24 | <span class="spacer"></span> |