~gitpocket/gitpocket

8

style(profile): shrink the sidebar to 230px

commit
9dc2e941adf2c95578d6055b2da611c51d01a6e2 browse tree
parent
9bd8e267af09a62d24cbfb0716b4ee39baa3fb00
author
~james <[email protected]>
signature
Signed by: ~james SHA256:KlzJ0P0gvJcnOYpaxD5yCUw52ImHttTKRjVAEnnYnKg
date
2026-10-22 19:37 UTC

1 files changed, +2 −2

static/style.css modified

@@ -80,13 +80,13 @@ main{padding-bottom:3rem}
8080 .event h4 a{color:var(--accent)}
8181 .event p{margin:0;font-size:.95rem}
8282 .columns{display:grid;grid-template-columns:minmax(0,1fr) 18rem;gap:2.5rem;align-items:start}
83-.columns.user{grid-template-columns:280px minmax(0,1fr);gap:2rem}
83+.columns.user{grid-template-columns:230px minmax(0,1fr);gap:2rem}
8484 .userhead{display:flex;align-items:flex-end;gap:1.2rem;border-bottom:1px solid var(--bar);margin:-1rem 0 1rem;padding:0}
8585 .userhead h2{font-size:1.7rem;padding-bottom:.2rem}
8686 nav.tabs.small{background:#e9ecef;align-self:flex-end;margin-bottom:.3rem}
8787 nav.tabs.small a{padding:.1rem .8rem}
8888 nav.tabs.small a.active{background:#ddd}
89-.profile .avatar{display:block;width:280px;height:280px;margin-bottom:.9rem;border-radius:6px}
89+.profile .avatar{display:block;width:230px;height:230px;margin-bottom:.9rem;border-radius:6px}
9090 .profile p{margin:.2rem 0}
9191 .profile .name{font-weight:600;font-size:1.35rem;line-height:1.25;margin:0}
9292 .profile .btn.block{display:block;text-align:center;margin-top:.45rem}