Commit 71ed6f61c2

71ed6f61c26e4ebf1dcee9c96bf916368b947e36

parent: bd5e0a9da5

Verified · cmc

cmc <hello@cleberg.net> · 2026-09-16 05:22 UTC

Replace the terminal theme with a Swiss design system

Drops the monospace/dark terminal styling for a systematic light-first
theme: system sans stack, numbered section rules, one red accent, a
fixed name column so directory rows align down the page.

Palette is tuned for WCAG AA at the small sizes this design uses. The
accent carries 11-12px uppercase text, so it sits at #d9291f (4.9:1)
rather than a lighter poster red; the previous candidate red was
4.35:1. --dim was also below 4.5 and moved to #6b6b72.

Structure: the site is now one page. /apps/ and /services/ redirect to
the matching home section rather than 404ing, since App Store listings
reference URLs under /apps/. App detail pages and /privacy/ are
unchanged and still generate. About moves onto the home page and
/about/ is dropped.

Mark recolored to the accent; icons and og.png regenerated.
Smooth scrolling is gated on prefers-reduced-motion.

Layout: unified · split

assets/og.svg +6 −6
@@ -1,21 +1,21 @@
1<svg xmlns="http://www.w3.org/2000/svg" width="1200" height="1200" viewBox="0 0 1200 1200"> 1<svg xmlns="http://www.w3.org/2000/svg" width="1200" height="1200" viewBox="0 0 1200 1200">
2 <rect width="1200" height="1200" fill="#fbfbf9"/> 2 <rect width="1200" height="1200" fill="#ffffff"/>
3 <!-- content band: 1200x630, centered vertically for a post-render crop --> 3 <!-- content band: 1200x630, centered vertically for a post-render crop -->
4 <g transform="translate(0,285)"> 4 <g transform="translate(0,285)">
5 <rect x="48" y="48" width="1104" height="534" fill="none" stroke="#d9d8d2" stroke-width="2"/> 5 <rect x="48" y="48" width="1104" height="534" fill="none" stroke="#e3e3e0" stroke-width="2"/>
6 6
7 <!-- mark, 120x120 at (112,225) --> 7 <!-- mark, 120x120 at (112,225) -->
8 <g transform="translate(112,225) scale(3.75)"> 8 <g transform="translate(112,225) scale(3.75)">
9 <g fill="#17171a"> 9 <g fill="#111113">
10 <rect x="4" y="4" width="24" height="4"/> 10 <rect x="4" y="4" width="24" height="4"/>
11 <rect x="4" y="24" width="24" height="4"/> 11 <rect x="4" y="24" width="24" height="4"/>
12 <rect x="4" y="8" width="4" height="16"/> 12 <rect x="4" y="8" width="4" height="16"/>
13 <rect x="24" y="8" width="4" height="16"/> 13 <rect x="24" y="8" width="4" height="16"/>
14 </g> 14 </g>
15 <rect x="12" y="12" width="8" height="8" fill="#2f6bd6"/> 15 <rect x="12" y="12" width="8" height="8" fill="#d9291f"/>
16 </g> 16 </g>
17 17
18 <text x="272" y="314" font-family="SF Mono, Menlo, monospace" font-size="84" font-weight="700" fill="#17171a" letter-spacing="-2">krz.sh</text> 18 <text x="272" y="314" font-family="-apple-system, Helvetica Neue, Arial, sans-serif" font-size="84" font-weight="700" fill="#111113" letter-spacing="-2">krz.sh</text>
19 <text x="112" y="403" font-family="SF Mono, Menlo, monospace" font-size="24" fill="#5c5c5f">Small, durable software focused on utility, privacy, and control.</text> 19 <text x="112" y="403" font-family="-apple-system, Helvetica Neue, Arial, sans-serif" font-size="24" fill="#5a5a60">Small, durable software focused on utility, privacy, and control.</text>
20 </g> 20 </g>
21</svg> 21</svg>
assets/touch.svg +3 −3
@@ -1,12 +1,12 @@
1<svg xmlns="http://www.w3.org/2000/svg" width="180" height="180" viewBox="0 0 32 32"> 1<svg xmlns="http://www.w3.org/2000/svg" width="180" height="180" viewBox="0 0 32 32">
2 <rect width="32" height="32" fill="#fbfbf9"/> 2 <rect width="32" height="32" fill="#ffffff"/>
3 <g transform="translate(3.2,3.2) scale(0.8)"> 3 <g transform="translate(3.2,3.2) scale(0.8)">
4 <g fill="#17171a"> 4 <g fill="#111113">
5 <rect x="4" y="4" width="24" height="4"/> 5 <rect x="4" y="4" width="24" height="4"/>
6 <rect x="4" y="24" width="24" height="4"/> 6 <rect x="4" y="24" width="24" height="4"/>
7 <rect x="4" y="8" width="4" height="16"/> 7 <rect x="4" y="8" width="4" height="16"/>
8 <rect x="24" y="8" width="4" height="16"/> 8 <rect x="24" y="8" width="4" height="16"/>
9 </g> 9 </g>
10 <rect x="12" y="12" width="8" height="8" fill="#2f6bd6"/> 10 <rect x="12" y="12" width="8" height="8" fill="#d9291f"/>
11 </g> 11 </g>
12</svg> 12</svg>
content/_index.md +9 −2
@@ -2,5 +2,12 @@
2title = "krz" 2title = "krz"
3+++ 3+++
4 4
5krz builds native apps and self-hosted, privacy-respecting frontends. no 5krz builds native apps and self-hosted, privacy-respecting frontends. Two
6accounts, no ads, no tracking. [about krz &rarr;](@/about.md) 6people, a few servers, no investors. Local-first data, few dependencies, no
7ads, no tracking.
8
9Fixed scope — a tool that's done stays done. Local-first — your data stays on
10your device, not our servers. Fewer dependencies — less to break, less to
11trust. Maintenance over features — we'd rather fix than pad.
12
13Active. Slow. Not recruiting.
content/about.md deleted −21
@@ -1,21 +0,0 @@
1+++
2title = "About"
3description = "Small, durable software focused on utility, privacy, and control."
4+++
5
6krz builds native apps and self-hosted, privacy-respecting frontends. two people, a few servers, no investors. local-first data, few dependencies, no ads, no tracking.
7
8## principles
9
10- fixed scope. a tool that's done stays done.
11- local-first. your data stays on your device, not our servers.
12- fewer dependencies. less to break, less to trust.
13- maintenance over features. we'd rather fix than pad.
14
15## status
16
17active. slow. not recruiting.
18
19## greetz
20
21everyone still writing plain text on purpose.
content/apps/_index.md +1
@@ -2,6 +2,7 @@
2title = "Apps" 2title = "Apps"
3description = "Small, durable apps and privacy-focused frontends from krz." 3description = "Small, durable apps and privacy-focused frontends from krz."
4sort_by = "weight" 4sort_by = "weight"
5redirect_to = "/#apps"
5template = "section.html" 6template = "section.html"
6page_template = "page.html" 7page_template = "page.html"
7+++ 8+++
content/services/_index.md +1 −4
@@ -1,8 +1,5 @@
1+++ 1+++
2title = "Services" 2title = "Services"
3description = "Public self-hosted services from krz." 3description = "Public self-hosted services from krz."
4template = "services.html" 4redirect_to = "/#services"
5+++ 5+++
6
7Public services hosted by krz. Maintained on a best-effort basis; logging and
8retention are kept minimal where practical.
sass/main.scss +194 −169
@@ -1,84 +1,96 @@
1// krz — plain-text-on-purpose. ascii frames, uppercase labels, 1// krz — Swiss/systematic. System sans, light-first, one red accent.
2// mono, near-black/white, mostly monochrome with one link accent. 2//
3// Tokens. Contrast against the matching --bg, WCAG AA needs 4.5:1 for the
4// small text this design uses throughout:
5// light fg 18.9 mut 6.9 dim 5.3 ac 4.9
6// dark fg 17.2 mut 7.4 dim 5.6 ac 6.3
7// The accent carries 11-12px uppercase text, so it cannot be lightened
8// toward poster red without dropping below 4.5.
3 9
4@mixin dark { 10@mixin light {
5 --bg: #0a0a0b; 11 --bg: #ffffff;
6 --surface: #101012; 12 --fg: #111113;
7 --border: #2a2a2e; 13 --mut: #5a5a60;
8 --text: #f1f1ef; 14 --dim: #6b6b72;
9 --muted: #9b9b9e; 15 --line: #e3e3e0;
10 --dim: #6a6a6e; 16 --hair: #cfcfca;
11 --blue: #6f9dff; 17 --ac: #d9291f;
12 --btn-bg: #f1f1ef; 18 --hov: #f6f6f4;
13 --btn-fg: #0a0a0b;
14 --sel-bg: #6f9dff;
15 --sel-fg: #0a0a0b;
16} 19}
17 20
18@mixin light { 21@mixin dark {
19 --bg: #fbfbf9; 22 --bg: #0e0e10;
20 --surface: #ffffff; 23 --fg: #f2f2f0;
21 --border: #d9d8d2; 24 --mut: #a0a0a6;
22 --text: #17171a; 25 --dim: #8a8a92;
23 --muted: #5c5c5f; 26 --line: #26262a;
24 --dim: #8a8a8d; 27 --hair: #3a3a40;
25 --blue: #2f6bd6; 28 --ac: #ff5a4d;
26 --btn-bg: #17171a; 29 --hov: #17171a;
27 --btn-fg: #fbfbf9;
28 --sel-bg: #2f6bd6;
29 --sel-fg: #ffffff;
30} 30}
31 31
32:root { @include dark; } 32:root { @include light; }
33@media (prefers-color-scheme: light) { :root { @include light; } } 33@media (prefers-color-scheme: dark) { :root { @include dark; } }
34 34
35:root { 35:root {
36 --mono: "SF Mono", "JetBrains Mono", "Fira Code", ui-monospace, Menlo, Consolas, monospace; 36 --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
37 --max: 60rem; 37 "Helvetica Neue", Arial, sans-serif;
38 --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
39 --max: 1200px;
40 --gut: 40px;
38} 41}
39 42
40* { box-sizing: border-box; } 43* { box-sizing: border-box; }
41html { -webkit-text-size-adjust: 100%; } 44html { -webkit-text-size-adjust: 100%; }
45@media (prefers-reduced-motion: no-preference) {
46 html { scroll-behavior: smooth; }
47}
42 48
43body { 49body {
44 margin: 0; 50 margin: 0;
45 background: var(--bg); 51 background: var(--bg);
46 color: var(--muted); 52 color: var(--fg);
47 font-family: var(--mono); 53 font-family: var(--sans);
48 font-size: 15.5px; 54 font-size: 15px;
49 line-height: 1.7; 55 line-height: 1.55;
50 min-height: 100vh; 56 min-height: 100vh;
51 display: flex; 57 display: flex;
52 flex-direction: column; 58 flex-direction: column;
59 counter-reset: sec;
53 -webkit-font-smoothing: antialiased; 60 -webkit-font-smoothing: antialiased;
54} 61}
55 62
56a { color: var(--blue); text-decoration: none; } 63a { color: inherit; text-decoration: none; }
57a:hover { text-decoration: underline; text-underline-offset: 3px; } 64::selection { background: var(--ac); color: #fff; }
65:focus-visible { outline: 2px solid var(--ac); outline-offset: 2px; }
58 66
59::selection { background: var(--sel-bg); color: var(--sel-fg); } 67// Anchored sections must clear the sticky-free header on jump.
60:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; } 68:target { scroll-margin-top: 24px; }
61 69
62// ---- Header ---------------------------------------------------------------- 70// ---- Header ----------------------------------------------------------------
63.site-header { 71.site-header {
64 display: flex; 72 display: flex;
65 align-items: center; 73 align-items: baseline;
66 justify-content: space-between; 74 justify-content: space-between;
67 gap: 1rem; 75 gap: 1rem;
68 flex-wrap: wrap; 76 flex-wrap: wrap;
69 max-width: var(--max); 77 max-width: var(--max);
70 width: 100%; 78 width: 100%;
71 margin: 0 auto; 79 margin: 0 auto;
72 padding: 1.5rem 1.25rem; 80 padding: 28px var(--gut) 20px;
73 border-bottom: 1px solid var(--border); 81 border-bottom: 2px solid var(--fg);
74} 82}
75.brand { color: var(--text); font-weight: 700; letter-spacing: -0.01em; } 83.brand { font-size: 19px; font-weight: 700; letter-spacing: -0.03em; }
76.brand:hover { text-decoration: none; } 84.site-nav {
77 85 display: flex;
78.site-nav { display: flex; align-items: center; gap: 0.7rem; font-size: 0.92rem; } 86 gap: 26px;
79.site-nav a { color: var(--muted); } 87 font-size: 12px;
80.site-nav a:hover { color: var(--text); text-decoration: none; } 88 font-weight: 600;
81.sep { color: var(--dim); } 89 text-transform: uppercase;
90 letter-spacing: 0.12em;
91}
92.site-nav a { color: var(--mut); }
93.site-nav a:hover { color: var(--ac); }
82 94
83// ---- Main ------------------------------------------------------------------ 95// ---- Main ------------------------------------------------------------------
84.site-main { 96.site-main {
@@ -86,174 +98,187 @@ a:hover { text-decoration: underline; text-underline-offset: 3px; }
86 max-width: var(--max); 98 max-width: var(--max);
87 width: 100%; 99 width: 100%;
88 margin: 0 auto; 100 margin: 0 auto;
89 padding: 3rem 1.25rem 4rem; 101 padding: 56px var(--gut) 72px;
90} 102}
91 103
92// ---- Hero ------------------------------------------------------------------ 104.tagline {
93.tagline { color: var(--muted); font-size: 1rem; margin: 0 0 2rem; } 105 font-size: 28px;
94 106 line-height: 1.25;
95.btn { 107 letter-spacing: -0.025em;
96 display: inline-block; 108 font-weight: 500;
97 font-family: var(--mono); 109 max-width: 19ch;
98 font-size: 0.92rem; 110 margin: 0 0 72px;
99 padding: 0.6rem 1.1rem;
100 border: 1px solid var(--border);
101 color: var(--text);
102 background: transparent;
103} 111}
104.btn:hover { text-decoration: none; border-color: var(--dim); }
105.btn-primary { background: var(--btn-bg); color: var(--btn-fg); border-color: var(--btn-bg); }
106.btn-primary:hover { opacity: 0.88; border-color: var(--btn-bg); }
107 112
108// ---- Directory (home + services) ------------------------------------------- 113// ---- Numbered sections -----------------------------------------------------
109.dir { margin: 2.5rem 0 0; } 114.sec { counter-increment: sec; margin: 0 0 64px; }
115.sec:last-child { margin-bottom: 0; }
110 116
111.dir-label { 117.sec-label {
112 color: var(--muted); 118 display: flex;
113 font-size: 0.8rem; 119 align-items: baseline;
120 gap: 14px;
121 font-size: 11px;
114 font-weight: 700; 122 font-weight: 700;
115 text-transform: uppercase; 123 text-transform: uppercase;
116 letter-spacing: 0.18em; 124 letter-spacing: 0.16em;
117 margin: 0; 125 color: var(--fg);
118 padding-bottom: 0.6rem; 126 margin: 0 0 16px;
119 border-bottom: 1px solid var(--border); 127 padding-bottom: 10px;
128 border-bottom: 1px solid var(--fg);
120} 129}
130.sec-label::before { content: counter(sec, decimal-leading-zero); color: var(--ac); }
121 131
122.dir-list { list-style: none; padding: 0; margin: 0; } 132.sec-sub {
123.dir-grid { display: grid; grid-template-columns: 1fr; column-gap: 2rem; } 133 font-size: 11px;
124.dir-item { border-bottom: 1px solid var(--border); } 134 font-weight: 600;
125 135 text-transform: uppercase;
126.dir-row { 136 letter-spacing: 0.14em;
127 display: block; 137 color: var(--dim);
128 padding: 0.7rem 0.6rem; 138 margin: 32px 0 2px;
129 margin: 0 -0.6rem;
130 color: var(--muted);
131} 139}
132.dir-row:hover { background: var(--surface); text-decoration: none; } 140.dir-group:first-of-type .sec-sub { margin-top: 20px; }
133.dir-row:hover .dir-name { color: var(--blue); }
134 141
135.dir-head { display: flex; align-items: baseline; gap: 0.75rem; } 142// ---- Directory rows --------------------------------------------------------
136.dir-name { color: var(--text); font-weight: 700; } 143// The name column is fixed so names align down the page; long descriptions
137.dir-host { color: var(--dim); font-size: 0.78rem; margin-left: auto; } 144// wrap inside their own cell rather than pushing the grid out of true.
138.dir-desc { 145.dir { list-style: none; margin: 0; padding: 0; }
139 display: block; 146.dir-grid { display: grid; grid-template-columns: 1fr; column-gap: 48px; }
140 color: var(--muted); 147.dir-item { border-bottom: 1px solid var(--line); }
141 font-size: 0.86rem; 148
142 line-height: 1.5; 149.dir-row {
143 margin-top: 0.1rem; 150 display: grid;
151 grid-template-columns: 150px 1fr auto;
152 align-items: baseline;
153 gap: 4px 20px;
154 padding: 11px 8px 11px 0;
144} 155}
156.dir-name { font-weight: 600; letter-spacing: -0.01em; }
157.dir-desc { color: var(--mut); font-size: 14px; }
158.dir-host { font-family: var(--mono); font-size: 11.5px; color: var(--dim); }
159.dir-item:hover { background: var(--hov); }
160.dir-item:hover .dir-name { color: var(--ac); }
145 161
146.dir-item-app { display: flex; flex-direction: column; align-items: flex-start; } 162.dir-item-app { display: flex; align-items: baseline; gap: 24px; }
147.dir-item-app .dir-row { width: 100%; } 163.dir-item-app .dir-row { flex: 1; grid-template-columns: 150px 1fr; min-width: 0; }
148.dir-actions { 164.dir-actions {
149 display: flex; 165 display: flex;
150 gap: 1.1rem; 166 gap: 20px;
151 font-size: 0.84rem; 167 font-size: 12px;
152 padding: 0 0 0.75rem; 168 font-weight: 600;
169 text-transform: uppercase;
170 letter-spacing: 0.08em;
171 white-space: nowrap;
153} 172}
173.dir-actions a { color: var(--ac); }
174.dir-actions a:hover { text-decoration: underline; text-underline-offset: 3px; }
154 175
155@media (min-width: 44rem) { 176@media (min-width: 1000px) {
156 .dir-item-app { flex-direction: row; align-items: center; gap: 1.5rem; } 177 .dir-grid { grid-template-columns: 1fr 1fr; }
157 .dir-item-app .dir-row { flex: 1; min-width: 0; }
158 .dir-actions { white-space: nowrap; padding: 0; }
159} 178}
160 179
161@media (min-width: 48rem) { 180@media (max-width: 760px) {
162 .dir-grid { grid-template-columns: 1fr 1fr; } 181 :root { --gut: 20px; }
182 .tagline { font-size: 22px; max-width: none; margin-bottom: 48px; }
183 .dir-row { grid-template-columns: 1fr; gap: 2px; padding: 12px 0; }
184 .dir-item-app { display: block; }
185 .dir-item-app .dir-row { grid-template-columns: 1fr; }
186 .dir-actions { padding: 0 0 12px; }
163} 187}
164 188
165.home-note { 189// ---- Prose (app detail, privacy, home about) -------------------------------
166 margin: 3.5rem 0 0; 190.prose { max-width: 64ch; }
167 padding-top: 1.5rem; 191.prose p { margin: 0 0 14px; }
168 border-top: 1px solid var(--border); 192.prose a { color: var(--ac); text-decoration: underline; text-underline-offset: 3px; }
169 font-size: 0.88rem; 193.prose strong { font-weight: 600; }
194.prose ul { list-style: none; padding-left: 0; margin: 14px 0; }
195.prose li { margin: 6px 0; padding-left: 20px; position: relative; color: var(--mut); }
196.prose li::before {
197 content: ""; position: absolute; left: 0; top: 0.62em;
198 width: 8px; height: 1px; background: var(--ac);
170} 199}
171.home-note p { margin: 0; } 200.prose hr { border: 0; border-top: 1px solid var(--line); margin: 32px 0; }
172 201
173// ---- Prose -----------------------------------------------------------------
174.prose { max-width: 44rem; }
175.page-label { 202.page-label {
176 color: var(--text); 203 font-size: 11px;
177 font-size: 1rem;
178 font-weight: 700; 204 font-weight: 700;
179 text-transform: uppercase; 205 text-transform: uppercase;
180 letter-spacing: 0.2em; 206 letter-spacing: 0.16em;
181 margin: 0 0 1.75rem; 207 margin: 0 0 16px;
208 padding-bottom: 10px;
209 border-bottom: 1px solid var(--fg);
182} 210}
183.prose h2 { 211.prose h2 {
184 color: var(--muted); 212 font-size: 11px;
185 font-size: 0.82rem;
186 font-weight: 700; 213 font-weight: 700;
187 text-transform: uppercase; 214 text-transform: uppercase;
188 letter-spacing: 0.18em; 215 letter-spacing: 0.14em;
189 margin: 2.5rem 0 0.85rem; 216 color: var(--dim);
217 margin: 40px 0 10px;
218}
219.lede {
220 font-size: 22px;
221 line-height: 1.3;
222 letter-spacing: -0.02em;
223 font-weight: 500;
224 color: var(--fg);
225 margin: 0 0 24px;
226 max-width: 34ch;
190} 227}
191.prose p { margin: 0 0 1rem; }
192.prose a { color: var(--blue); }
193.prose strong { color: var(--text); font-weight: 700; }
194.prose ul { list-style: none; padding-left: 0; margin: 1rem 0; }
195.prose li { margin: 0.4rem 0; padding-left: 1.3rem; position: relative; }
196.prose li::before { content: "-"; position: absolute; left: 0; color: var(--dim); }
197.prose hr { border: 0; border-top: 1px solid var(--border); margin: 2rem 0; }
198.prose .lede { color: var(--muted); margin: -0.5rem 0 1.25rem; }
199 228
200.back { font-size: 0.9rem; margin: 0 0 1.5rem; } 229.back { font-size: 12px; font-weight: 600; text-transform: uppercase;
201.back a { color: var(--muted); } 230 letter-spacing: 0.1em; margin: 0 0 28px; }
231.back a { color: var(--mut); }
232.back a:hover { color: var(--ac); }
202 233
203// ---- App page: actions + screenshots --------------------------------------- 234// ---- App page: actions + screenshots ---------------------------------------
204.app-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; margin: 2rem 0 1rem; } 235.app-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 32px 0 8px; }
205.prose a.btn { color: var(--text); } 236.btn {
206.prose a.btn-primary { color: var(--btn-fg); } 237 display: inline-block;
207.privacy-link { font-size: 0.9rem; margin: 0.25rem 0 0; } 238 font-family: var(--sans);
239 font-size: 12px;
240 font-weight: 600;
241 text-transform: uppercase;
242 letter-spacing: 0.08em;
243 padding: 10px 18px;
244 border: 1px solid var(--hair);
245 color: var(--fg);
246}
247.btn:hover { border-color: var(--fg); }
248.btn-primary { background: var(--ac); border-color: var(--ac); color: #fff; }
249.btn-primary:hover { opacity: 0.88; border-color: var(--ac); }
250.prose a.btn { color: var(--fg); text-decoration: none; }
251.prose a.btn-primary { color: #fff; }
252.privacy-link { font-size: 13px; margin: 12px 0 0; }
208 253
209.shots { 254.shots {
210 display: flex; 255 display: flex;
211 gap: 0.85rem; 256 gap: 14px;
212 overflow-x: auto; 257 overflow-x: auto;
213 margin: 1.5rem 0 0.5rem; 258 margin: 20px 0 8px;
214 padding-bottom: 0.75rem; 259 padding-bottom: 12px;
215 scroll-snap-type: x mandatory; 260 scroll-snap-type: x mandatory;
216 -webkit-overflow-scrolling: touch; 261 -webkit-overflow-scrolling: touch;
217} 262}
218.shots figure { flex: 0 0 auto; width: 11rem; margin: 0; scroll-snap-align: start; } 263.shots figure { flex: 0 0 auto; width: 176px; margin: 0; scroll-snap-align: start; }
219.shots img { 264.shots img { display: block; width: 100%; height: auto; border: 1px solid var(--line); }
220 display: block; 265.shots figcaption { color: var(--dim); font-size: 12px; margin-top: 8px; line-height: 1.4; }
221 width: 100%;
222 height: auto;
223 border: 1px solid var(--border);
224 background: var(--surface);
225}
226.shots figcaption { color: var(--dim); font-size: 0.8rem; margin-top: 0.55rem; line-height: 1.4; }
227 266
228// ---- Plain list (services / apps) ------------------------------------------ 267// ---- Plain list (privacy index) --------------------------------------------
229.plainlist { list-style: none; padding: 0; margin: 1.5rem 0 0; } 268.plainlist { list-style: none; padding: 0; margin: 20px 0 0; }
230.plainlist li { 269.plainlist li { padding: 11px 0; border-bottom: 1px solid var(--line); }
231 padding: 0.85rem 0;
232 border-bottom: 1px solid var(--border);
233 display: flex;
234 flex-direction: column;
235 gap: 0.4rem;
236}
237.plainlist li:last-child { border-bottom: 0; } 270.plainlist li:last-child { border-bottom: 0; }
238.pl-main { color: var(--muted); } 271.pl-name { font-weight: 600; }
239.pl-name { color: var(--text); font-weight: 700; } 272.pl-desc { color: var(--mut); font-size: 14px; }
240.pl-desc { color: var(--muted); }
241.pl-links { display: flex; gap: 1.1rem; font-size: 0.88rem; }
242.pl-link { color: var(--blue); }
243
244@media (min-width: 40rem) {
245 .plainlist li { flex-direction: row; align-items: baseline; gap: 1rem; }
246 .pl-links { margin-left: auto; white-space: nowrap; }
247}
248 273
249// ---- Footer ---------------------------------------------------------------- 274// ---- Footer ----------------------------------------------------------------
250.site-footer { 275.site-footer {
251 max-width: var(--max); 276 max-width: var(--max);
252 width: 100%; 277 width: 100%;
253 margin: 0 auto; 278 margin: 0 auto;
254 padding: 1.5rem 1.25rem 2.5rem; 279 padding: 20px var(--gut) 40px;
255 border-top: 1px solid var(--border); 280 border-top: 1px solid var(--line);
256} 281}
257.foot-links { color: var(--dim); font-size: 0.85rem; margin: 0; } 282.foot-links { font-size: 12px; color: var(--dim); margin: 0; }
258.foot-links a { color: var(--muted); } 283.foot-links a { color: var(--mut); }
259.foot-links a:hover { color: var(--text); } 284.foot-links a:hover { color: var(--ac); }
static/apple-touch-icon.png

Binary file not shown.

static/favicon.svg +4 −4
@@ -1,10 +1,10 @@
1<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"> 1<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">
2 <style> 2 <style>
3 .fg { fill: #17171a; } 3 .fg { fill: #111113; }
4 .ac { fill: #2f6bd6; } 4 .ac { fill: #d9291f; }
5 @media (prefers-color-scheme: dark) { 5 @media (prefers-color-scheme: dark) {
6 .fg { fill: #f1f1ef; } 6 .fg { fill: #f2f2f0; }
7 .ac { fill: #6f9dff; } 7 .ac { fill: #ff5a4d; }
8 } 8 }
9 </style> 9 </style>
10 <rect class="fg" x="4" y="4" width="24" height="4"/> 10 <rect class="fg" x="4" y="4" width="24" height="4"/>
static/og.png

Binary file not shown.

templates/base.html +3 −5
@@ -21,11 +21,9 @@
21 <header class="site-header"> 21 <header class="site-header">
22 <a class="brand" href="{{ get_url(path="/") | safe }}">krz</a> 22 <a class="brand" href="{{ get_url(path="/") | safe }}">krz</a>
23 <nav class="site-nav"> 23 <nav class="site-nav">
24 <a href="{{ get_url(path="/apps/") | safe }}">apps</a> 24 <a href="/#apps">apps</a>
25 <span class="sep">·</span> 25 <a href="/#services">services</a>
26 <a href="{{ get_url(path="/services/") | safe }}">services</a> 26 <a href="/#about">about</a>
27 <span class="sep">·</span>
28 <a href="{{ get_url(path="/about/") | safe }}">about</a>
29 </nav> 27 </nav>
30 </header> 28 </header>
31 29
templates/index.html +14 −6
@@ -1,12 +1,20 @@
1{% extends "base.html" %} 1{% extends "base.html" %}
2 2
3{% block content %} 3{% block content %}
4<p class="tagline">{{ config.extra.tagline | lower }}</p> 4<p class="tagline">{{ config.extra.tagline }}</p>
5 5
6{% include "partials/apps.html" %} 6<section class="sec" id="apps">
7{% include "partials/services.html" %} 7 <h2 class="sec-label">Apps</h2>
8 {% include "partials/apps.html" %}
9</section>
8 10
9<div class="home-note prose"> 11<section class="sec" id="services">
10 {{ section.content | safe }} 12 <h2 class="sec-label">Services</h2>
11</div> 13 {% include "partials/services.html" %}
14</section>
15
16<section class="sec" id="about">
17 <h2 class="sec-label">About</h2>
18 <div class="prose">{{ section.content | safe }}</div>
19</section>
12{% endblock content %} 20{% endblock content %}
templates/page.html +5
@@ -4,8 +4,13 @@
4{% block description %}{{ page.description | default(value=config.description) }}{% endblock description %} 4{% block description %}{{ page.description | default(value=config.description) }}{% endblock description %}
5 5
6{% block content %} 6{% block content %}
7{% set parent_path = page.ancestors | last %}
8{% if parent_path == "apps/_index.md" %}
9<p class="back"><a href="/#apps">&larr; all apps</a></p>
10{% else %}
7{% set parent = get_section(path=page.ancestors | last, metadata_only=true) %} 11{% set parent = get_section(path=page.ancestors | last, metadata_only=true) %}
8<p class="back"><a href="{{ parent.permalink | safe }}">&larr; back</a></p> 12<p class="back"><a href="{{ parent.permalink | safe }}">&larr; back</a></p>
13{% endif %}
9<article class="prose"> 14<article class="prose">
10 <h1 class="page-label">{{ page.title }}</h1> 15 <h1 class="page-label">{{ page.title }}</h1>
11 {% if page.description %}<p class="lede">{{ page.description }}</p>{% endif %} 16 {% if page.description %}<p class="lede">{{ page.description }}</p>{% endif %}
templates/partials/apps.html +15 −19
@@ -1,19 +1,15 @@
1<section class="dir"> 1{% set apps = get_section(path="apps/_index.md") %}
2 <h2 class="dir-label">apps</h2> 2<ul class="dir">
3 <ul class="dir-list"> 3 {% for page in apps.pages %}
4 {% set apps = get_section(path="apps/_index.md") %}{% for page in apps.pages %} 4 <li class="dir-item dir-item-app">
5 <li class="dir-item dir-item-app"> 5 <a class="dir-row" href="{{ page.permalink | safe }}">
6 <a class="dir-row" href="{{ page.permalink | safe }}"> 6 <span class="dir-name">{{ page.title }}</span>
7 <span class="dir-head"> 7 <span class="dir-desc">{{ page.description }}</span>
8 <span class="dir-name">{{ page.title }}</span> 8 </a>
9 </span> 9 <span class="dir-actions">
10 <span class="dir-desc">{{ page.description }}</span> 10 {% if page.extra.appstore %}<a href="{{ page.extra.appstore }}">app store</a>{% endif %}
11 </a> 11 {% if page.extra.link %}<a href="{{ page.extra.link }}">{{ page.extra.link_label | default(value="source") | lower }}</a>{% endif %}
12 <span class="dir-actions"> 12 </span>
13 {% if page.extra.appstore %}<a href="{{ page.extra.appstore }}">app store &rarr;</a>{% endif %} 13 </li>
14 {% if page.extra.link %}<a href="{{ page.extra.link }}">{{ page.extra.link_label | default(value="source") | lower }} &rarr;</a>{% endif %} 14 {% endfor %}
15 </span> 15</ul>
16 </li>
17 {% endfor %}
18 </ul>
19</section>
templates/partials/services.html +8 −9
@@ -1,18 +1,17 @@
1{% set services = load_data(path="data/services.toml") %}{% for group in services.groups %} 1{% set services = load_data(path="data/services.toml") %}
2<section class="dir"> 2{% for group in services.groups %}
3 <h2 class="dir-label">{{ group.name }}</h2> 3<div class="dir-group">
4 <ul class="dir-list dir-grid"> 4 <h3 class="sec-sub">{{ group.name }}</h3>
5 <ul class="dir dir-grid">
5 {% for item in group.items %} 6 {% for item in group.items %}
6 <li class="dir-item"> 7 <li class="dir-item">
7 <a class="dir-row" href="{{ item.url }}"> 8 <a class="dir-row" href="{{ item.url }}">
8 <span class="dir-head"> 9 <span class="dir-name">{{ item.name }}</span>
9 <span class="dir-name">{{ item.name }}</span>
10 <span class="dir-host">{{ item.url | replace(from="https://", to="") }}</span>
11 </span>
12 <span class="dir-desc">{{ item.description }}</span> 10 <span class="dir-desc">{{ item.description }}</span>
11 <span class="dir-host">{{ item.url | replace(from="https://", to="") }}</span>
13 </a> 12 </a>
14 </li> 13 </li>
15 {% endfor %} 14 {% endfor %}
16 </ul> 15 </ul>
17</section> 16</div>
18{% endfor %} 17{% endfor %}
templates/services.html deleted −13
@@ -1,13 +0,0 @@
1{% extends "base.html" %}
2
3{% block title %}{{ section.title | lower }} &middot; {{ config.title }}{% endblock title %}
4{% block description %}{{ section.description | default(value=config.description) }}{% endblock description %}
5
6{% block content %}
7<article class="prose">
8 <h1 class="page-label">{{ section.title }}</h1>
9 {{ section.content | safe }}
10</article>
11
12{% include "partials/services.html" %}
13{% endblock content %}