~gitpocket/gitpocket

1

style(profile): medium weight display names

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

2 files changed, +3 −2

static/fonts/variable.woff2 added

Binary file.

static/style.css modified

@@ -2,6 +2,7 @@
22 @font-face{font-family:"Source Sans 3";font-style:italic;font-weight:400;font-display:swap;src:url(/static/fonts/sans-400-italic.woff2) format('woff2')}
33 @font-face{font-family:"Source Sans 3";font-style:normal;font-weight:600;font-display:swap;src:url(/static/fonts/sans-600-normal.woff2) format('woff2')}
44 @font-face{font-family:"Source Sans 3";font-style:normal;font-weight:700;font-display:swap;src:url(/static/fonts/sans-700-normal.woff2) format('woff2')}
5+@font-face{font-family:"Source Sans Variable";font-style:normal;font-weight:200 900;font-display:swap;src:url(/static/fonts/variable.woff2) format('woff2')}
56 :root{--accent:#44467d;--accentdark:#35366b;--accentsoft:#f3f4fd;--focus:#c4c8e8;--heat0:#ebedf0;--heat1:#c4c8e8;--heat2:#959acb;--heat3:#6a6ea8;--heat4:#44467d;--fg:#212529;--muted:#6c757d;--line:#dee2e6;--soft:#f8f9fa;--bar:#ddd;--add:#1a7f37;--del:#c0392b;--addbg:#e6ffec;--delbg:#ffebe9;--code:#f8f9fa;--bg:#fff;--raised:#e9ecef;--raisedhover:#dde1e5;--edge:#ced4da;--hl:#fff8c5;--warnbg:#fff3cd;--warnedge:#ffeeba;--warnfg:#5c4b00;--merged:#6f42c1;--dotedge:rgba(0,0,0,.12);--link:var(--accent);--fg2:#555b61;--tip:#16181b;--tipfg:#fff;color-scheme:light}
67 *{box-sizing:border-box}
78 html{font:15px/1.5 system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue","Noto Sans","DejaVu Sans",Arial,sans-serif;background:var(--bg);color:var(--fg)}
@@ -91,7 +92,7 @@ nav.tabs.small a{padding:.1rem .8rem}
9192 nav.tabs.small a.active{background:var(--bar)}
9293 .profile .avatar{display:block;width:260px;height:260px;margin-bottom:.85rem;border-radius:50%}
9394 .profile p{margin:.2rem 0}
94-.profile .name{font-weight:600;font-size:1.45rem;line-height:1.2;margin:0;color:var(--fg)}
95+.profile .name{font-family:"Source Sans Variable",system-ui,sans-serif;font-weight:500;font-size:1.45rem;line-height:1.25;margin:0;color:var(--fg)}
9596 .profile .btn.block{display:block;text-align:center;margin:0}
9697 .info{background:var(--accentsoft);color:var(--fg);padding:.5rem .7rem;border:1px solid var(--focus);margin:0}
9798 .avatar{object-fit:cover;border:1px solid var(--line);background:var(--soft)}
@@ -435,7 +436,7 @@ pre.rangediff,pre.body{white-space:pre-wrap;overflow-wrap:anywhere}
435436 .people li small{color:var(--muted);line-height:1.2}
436437 .orghead{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:1.3rem;align-items:start;margin:-.4rem 0 1.3rem;padding-bottom:1.2rem;border-bottom:1px solid var(--bar)}
437438 .orgmark img{display:flex;width:6rem;height:6rem;border-radius:6px;object-fit:cover;border:1px solid var(--line);background:var(--soft)}
438-.orgident h2{font-size:1.6rem;line-height:1.2;margin:0}
439+.orgident h2{font-family:"Source Sans Variable",system-ui,sans-serif;font-weight:500;font-size:1.6rem;line-height:1.2;margin:0}
439440 .orgident .handle{color:var(--muted);margin:.1rem 0 .45rem}
440441 .orgident .bio{margin:0 0 .45rem}
441442 .orgident .bio p{margin:0}