~gitpocket/gitpocket

style(web): 0047ab for primary buttons and repository names

commit
e112287a33d6f50da2a095fc6abcec6c6d8c7ce6 browse tree
parent
e2abeef43fcdec52759a634537c92c03f506996e
author
james <j@cpl0.zip>
signature
Verified ~james signed with a key registered by ~james
date
2026-11-13 10:24 UTC

1 files changed, +4 −4

static/style.css modified

@@ -2,7 +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-:root{--heat0:#ebedf0;--heat1:#c3c8cf;--heat2:#868e96;--heat3:#495057;--heat4:#16181b;--fg:#212529;--muted:#6c757d;--line:#dee2e6;--soft:#f8f9fa;--bar:#ddd;--link:#0640e0;--primary:#0640e0;--add:#1a7f37;--del:#c0392b;--addbg:#e6ffec;--delbg:#ffebe9;--code:#f8f9fa}
5+:root{--heat0:#ebedf0;--heat1:#c3c8cf;--heat2:#868e96;--heat3:#495057;--heat4:#16181b;--fg:#212529;--muted:#6c757d;--line:#dee2e6;--soft:#f8f9fa;--bar:#ddd;--link:#0640e0;--primary:#0047ab;--repo:#0047ab;--add:#1a7f37;--del:#c0392b;--addbg:#e6ffec;--delbg:#ffebe9;--code:#f8f9fa}
66 *{box-sizing:border-box}
77 html{font:15px/1.5 system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue","Noto Sans","DejaVu Sans",Arial,sans-serif;background:#fff;color:var(--fg)}
88 body{margin:0}
@@ -75,11 +75,11 @@ main{padding-bottom:3rem}
7575 .btn{display:inline-block;font:inherit;font-size:.9rem;background:#e9ecef;color:var(--fg);border:1px solid #ccc;padding:.25rem .7rem;cursor:pointer;line-height:1.4}
7676 .btn:hover{text-decoration:none;background:#dde1e5}
7777 .btn.primary{background:var(--primary);color:#fff;border-color:var(--primary)}
78-.btn.primary:hover{background:#0535bd}
78+.btn.primary:hover{background:#003a8c;border-color:#003a8c}
7979 .btn.danger{background:#fff;color:var(--del);border-color:var(--del)}
8080 .events .event{background:var(--soft);padding:.25rem .5rem .4rem;margin-bottom:.6rem;border-bottom:0}
8181 .event h4{font-size:1rem;font-weight:400;margin:0 0 .2rem;padding-bottom:.15rem;border-bottom:1px solid var(--line)}
82-.event h4 a{color:var(--link)}
82+.event h4 a{color:var(--repo)}
8383 .event p{margin:0;font-size:.95rem}
8484 .columns{display:grid;grid-template-columns:minmax(0,1fr) 18rem;gap:2.5rem;align-items:start}
8585 .columns.user{grid-template-columns:280px minmax(0,1fr);gap:2rem}
@@ -300,7 +300,7 @@ h3.featured{font-size:1.3rem;font-weight:400;margin:2rem 0 .5rem}
300300 .featuredgrid{display:grid;grid-template-columns:1fr 1fr;gap:.9rem 1rem}
301301 .feature{background:var(--soft);padding:.5rem .5rem .9rem}
302302 .feature h4{margin:0 0 .4rem;font-weight:700}
303-.feature h4 a{color:var(--link)}
303+.feature h4 a{color:var(--repo)}
304304 .feature h4 a.owner{color:var(--muted)}
305305 .feature blockquote{margin:0 0 .5rem;padding:0 0 0 .5rem;border-left:2px solid #aaa}
306306 .feature .tags{margin:0}