~gitpocket/gitpocket

1

style(ui): show only the g mark in the header

commit
51ac7092f52ff581406afe3fa76e2e04b8dd941c browse tree
parent
b2d422c9d104bb7bfce4fb06ef809146a8299551
author
obscurejames <354576047+obscurejames@users.noreply.github.com>
signature
Verified ~james signed with a key registered by ~james
date
2026-11-02 20:24 UTC

4 files changed, +3 −2

INSTALL.md modified

@@ -104,7 +104,7 @@ Under Docker the same commands run as `docker exec gitpocket gitpocket admin you
104104 | `-ssh-user` | `git` | account shown in SSH clone URLs |
105105 | `-proxy` | none | comma separated networks, besides loopback, whose `X-Forwarded-For` is trusted |
106106
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.
108108
109109 ## Mail
110110

static/style.css modified

@@ -28,6 +28,7 @@ nav.site{display:flex;gap:1rem;align-items:center;padding-top:.5rem;padding-bott
2828 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}
2929 nav.site .brand img{height:2rem;width:auto;margin:-.25rem 0}
3030 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}
3132 nav.site{color:var(--muted)}
3233 nav.site a{color:var(--muted)}
3334 nav.site .brand{color:var(--fg)}

static/wordmark.png deleted

Binary file.

templates/layout.html modified

@@ -18,7 +18,7 @@
1818 <body{{if .Fluid}} class="fluid"{{end}}>
1919 <header>
2020 <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>
2222 <a href="/search">explore</a>
2323 {{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}}
2424 <span class="spacer"></span>