~gitpocket/gitpocket

1

style(profile): shrink the sidebar to 230px

commit
ca3bf534ca0980572c3ad1bea3b7fe2b06172952 browse tree
parent
031943589de35da30d7f64d970c9f0ef6c8245da
author
obscurejames <354576047+obscurejames@users.noreply.github.com>
signature
Signed by: ~james SHA256:KlzJ0P0gvJcnOYpaxD5yCUw52ImHttTKRjVAEnnYnKg
date
2026-10-20 20:16 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}