style(ui): recolour the logo
4 files changed, +5 −4
- static/icon.png modified +0 −0
- static/logo.png modified +0 −0
- static/style.css modified +4 −3
- templates/user.html modified +1 −1
static/icon.png modified
Binary file.
static/logo.png modified
Binary file.
static/style.css modified
| @@ -26,7 +26,7 @@ h4 a{color:var(--fg)} | ||
| 26 | 26 | header{margin-bottom:1rem} |
| 27 | 27 | nav.site{display:flex;gap:1rem;align-items:center;padding-top:.5rem;padding-bottom:.5rem;flex-wrap:wrap} |
| 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 | -nav.site .brand img{height:2.8rem;width:auto;margin:-.6rem -.05rem -.6rem 0;position:relative;top:.45rem} | |
| 29 | +nav.site .brand img{height:2.8rem;width:auto;margin:-.6rem -.3rem -.6rem 0;position:relative;top:.45rem} | |
| 30 | 30 | nav.site{color:var(--muted)} |
| 31 | 31 | nav.site a{color:var(--muted)} |
| 32 | 32 | nav.site .brand{color:var(--fg)} |
| @@ -408,8 +408,9 @@ pre.rangediff,pre.body{white-space:pre-wrap;overflow-wrap:anywhere} | ||
| 408 | 408 | |
| 409 | 409 | .orglist{margin:0 0 1rem} |
| 410 | 410 | .orglist h4{font-size:.85rem;color:var(--muted);margin:0 0 .4rem;font-weight:600} |
| 411 | -.orglist a{display:flex;align-items:center;gap:.5rem;color:var(--fg);margin:.3rem 0} | |
| 412 | -.orglist img,.orglist span{display:flex;width:1.6rem;height:1.6rem;border-radius:2px;object-fit:cover;font-size:.8rem} | |
| 411 | +.orgicons{display:flex;flex-wrap:wrap;gap:.4rem} | |
| 412 | +.orglist a{display:flex} | |
| 413 | +.orglist img,.orglist span{display:flex;width:2rem;height:2rem;border-radius:2px;object-fit:cover;font-size:.8rem} | |
| 413 | 414 | .hit.org .hitavatar span{background:var(--accent);color:#fff;border-radius:2px} |
| 414 | 415 | .memberlist{list-style:none;margin:0 0 .8rem;padding:0;max-width:32rem} |
| 415 | 416 | .memberlist li{display:flex;align-items:center;justify-content:space-between;padding:.35rem 0;border-bottom:1px solid var(--line)} |
templates/user.html modified
| @@ -16,7 +16,7 @@ | ||
| 16 | 16 | {{if $p.Website}}<li><svg viewBox="0 0 16 16" aria-hidden="true"><path d="M6.8 9.2a3 3 0 0 0 4.2 0l2.2-2.2a3 3 0 0 0-4.2-4.2l-.9.9"/><path d="M9.2 6.8a3 3 0 0 0-4.2 0L2.8 9a3 3 0 0 0 4.2 4.2l.9-.9"/></svg><a href="{{$p.Website}}" rel="nofollow me">{{bare $p.Website}}</a></li>{{end}} |
| 17 | 17 | <li title="{{date .Data.Owner.Created}}"><svg viewBox="0 0 16 16" aria-hidden="true"><rect x="2" y="3" width="12" height="11" rx="1.5"/><path d="M2 6.5h12M5.5 1.5v3M10.5 1.5v3"/></svg>Joined {{.Data.Owner.Created.Format "January 2006"}}</li> |
| 18 | 18 | </ul> |
| 19 | -{{with .Data.Orgs}}<div class="orglist"><h4>Organisations</h4>{{range .}}<a href="/~{{.Name}}" title="~{{.Name}}">{{if .Profile.Avatar}}<img src="/~{{.Name}}/avatar?v={{.Profile.Avatar}}" alt="">{{else}}<span>{{slice .Name 0 1}}</span>{{end}}{{with .Profile.Display}}{{.}}{{else}}{{.Name}}{{end}}</a>{{end}}</div>{{end}} | |
| 19 | +{{with .Data.Orgs}}<div class="orglist"><h4>Organisations</h4><div class="orgicons">{{range .}}<a href="/~{{.Name}}" title="{{with .Profile.Display}}{{.}}{{else}}~{{.Name}}{{end}}" aria-label="~{{.Name}}">{{if .Profile.Avatar}}<img src="/~{{.Name}}/avatar?v={{.Profile.Avatar}}" alt="">{{else}}<span>{{slice .Name 0 1}}</span>{{end}}</a>{{end}}</div></div>{{end}} | |
| 20 | 20 | {{if $own}}<div class="ownactions"><a class="btn block" href="/settings">Edit profile</a></div>{{end}} |
| 21 | 21 | </aside> |
| 22 | 22 | <div class="main"> |