~gitpocket/gitpocket

1

style(profile): tighten the sidebar

commit
1040c303df0adf7cb7b8da45a50120156f212bdf browse tree
parent
9a0689bbfd10584eedda3671e0cfd19aeb024766
author
obscurejames <354576047+obscurejames@users.noreply.github.com>
signature
Verified ~james signed with a key registered by ~james
date
2026-11-12 22:58 UTC

1 files changed, +10 −10

static/style.css modified

@@ -83,15 +83,15 @@ main{padding-bottom:3rem}
8383 .event h4 a{color:var(--link)}
8484 .event p{margin:0;font-size:.95rem}
8585 .columns{display:grid;grid-template-columns:minmax(0,1fr) 18rem;gap:2.5rem;align-items:start}
86-.columns.user{grid-template-columns:260px minmax(0,1fr);gap:2rem}
86+.columns.user{grid-template-columns:260px minmax(0,1fr);gap:1.6rem}
8787 .userhead{display:flex;align-items:flex-end;gap:1.2rem;border-bottom:1px solid var(--bar);margin:-.35rem 0 1rem;padding:0}
8888 .userhead h2{font-size:1.7rem;padding-bottom:.2rem}
8989 nav.tabs.small{background:var(--raised);align-self:flex-end;margin-bottom:.3rem}
9090 nav.tabs.small a{padding:.1rem .8rem}
9191 nav.tabs.small a.active{background:var(--bar)}
92-.profile .avatar{display:block;width:260px;height:260px;margin-bottom:1.1rem;border-radius:50%}
92+.profile .avatar{display:block;width:260px;height:260px;margin-bottom:.85rem;border-radius:50%}
9393 .profile p{margin:.2rem 0}
94-.profile .name{font-weight:400;font-size:1.45rem;line-height:1.2;margin:0;color:var(--fg)}
94+.profile .name{font-weight:600;font-size:1.45rem;line-height:1.2;margin:0;color:var(--fg)}
9595 .profile .btn.block{display:block;text-align:center;margin:0}
9696 .info{background:var(--accentsoft);color:var(--fg);padding:.5rem .7rem;border:1px solid var(--focus);margin:0}
9797 .avatar{object-fit:cover;border:1px solid var(--line);background:var(--soft)}
@@ -361,15 +361,15 @@ pre.rangediff,pre.body{white-space:pre-wrap;overflow-wrap:anywhere}
361361 .h0{background:var(--heat0)}.h1{background:var(--heat1)}.h2{background:var(--heat2)}.h3{background:var(--heat3)}.h4{background:var(--heat4)}
362362 .activity .legend{display:flex;align-items:center;gap:3px;justify-content:flex-end;margin:.3rem 0 0}
363363 .activity .legend i{display:inline-block;width:10px;height:10px;border-radius:2px}
364-.profile .ident{margin-bottom:1rem}
365-.profile .handle{color:var(--muted);font-size:1.05rem;margin:.1rem 0 0}
364+.profile .ident{margin-bottom:.7rem}
365+.profile .handle{color:var(--muted);font-size:1.05rem;margin:0}
366366 .profile .bio{margin:0 0 .8rem}
367367 .profile .bio p{margin:0 0 .4rem}
368-.facts{list-style:none;margin:0 0 1.1rem;padding:0;font-size:.92rem;color:var(--muted)}
369-.facts li{display:flex;align-items:center;gap:.5rem;margin:.35rem 0;min-width:0}
368+.facts{list-style:none;margin:0 0 .85rem;padding:0;font-size:.92rem;color:var(--muted)}
369+.facts li{display:flex;align-items:center;gap:.45rem;margin:.22rem 0;min-width:0}
370370 .facts a{color:var(--fg);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
371371 .facts svg{flex:none;width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}
372-.ownactions{border-top:1px solid var(--line);padding-top:.9rem}
372+.ownactions{border-top:1px solid var(--line);padding-top:.75rem}
373373 .profile .bio.readme,.profile .bio.readme p{font-family:inherit;font-size:.98rem;line-height:1.5}
374374 .navsearch{flex:0 1 20rem;margin-left:.5rem}
375375 .navsearch input{width:100%;padding:.2rem .55rem;font-size:.9rem}
@@ -417,8 +417,8 @@ pre.rangediff,pre.body{white-space:pre-wrap;overflow-wrap:anywhere}
417417 .dashhead h3{border:0;margin:0;padding:0}
418418 @media(max-width:800px){.dash{grid-template-columns:1fr}}
419419
420-.orglist{margin:0;padding:.9rem 0 1rem;border-top:1px solid var(--line)}
421-.orglist h4{font-size:.85rem;color:var(--muted);margin:0 0 .55rem;font-weight:400}
420+.orglist{margin:0;padding:.7rem 0 .8rem;border-top:1px solid var(--line)}
421+.orglist h4{font-size:.85rem;color:var(--muted);margin:0 0 .45rem;font-weight:400}
422422 .orgicons{display:flex;flex-wrap:wrap;gap:.4rem}
423423 .orglist a{display:flex}
424424 .orglist img{display:flex;width:2.2rem;height:2.2rem;border-radius:4px;object-fit:cover;font-size:.8rem}