internal/web/static/style.css
1289 lines · 42004 bytes
1/* gitbay stylesheet — Harbor: black and white ground, two accents with
2 separate jobs. Blue is what you can do (links, buttons, focus); orange
3 is where you are and what wants you (active nav, counts, pending state,
4 unverified signatures). Orange is never a button, so the two never
5 compete. One file, light and dark via prefers-color-scheme. Tokens
6 first; components use tokens only. No external requests: Atkinson
7 Hyperlegible is served from this origin. */
8
9@font-face {
10 font-family: "Atkinson Hyperlegible Next";
11 font-style: normal;
12 font-weight: 400 700;
13 font-display: swap;
14 src: url(/static/fonts/atkinson-next-roman.woff2) format("woff2");
15}
16@font-face {
17 font-family: "Atkinson Hyperlegible Next";
18 font-style: italic;
19 font-weight: 400 700;
20 font-display: swap;
21 src: url(/static/fonts/atkinson-next-italic.woff2) format("woff2");
22}
23@font-face {
24 font-family: "Atkinson Hyperlegible Mono";
25 font-style: normal;
26 font-weight: 400 600;
27 font-display: swap;
28 src: url(/static/fonts/atkinson-mono-roman.woff2) format("woff2");
29}
30
31:root {
32 /* declare native light+dark support: correct form controls and
33 scrollbars per scheme, and opt out of browser auto-darkening */
34 color-scheme: light dark;
35
36 /* ground and ink */
37 --bg: #ffffff;
38 --fg: #0d0d0d;
39 --muted: #595959; /* 7.00:1 on white */
40 --faint: #eaeaea; /* hairlines, row separators */
41 --line: #d4d4d4; /* control borders, table edges */
42 --surface: #ffffff;
43 --hover: #f5f5f5;
44 --code-bg: #f5f5f5;
45
46 /* blue: what you can do */
47 --accent: #0000f0; /* links, focus — 9.30:1 on white */
48 --accent-fg: #ffffff;
49 --fill: #0000f0; /* button grounds; white on it is 9.30:1 */
50
51 /* orange: where you are, what wants you */
52 --mark: #e4572e; /* bars and underlines — non-text, 3.0 bar */
53 --warn: #c2410c; /* the same orange at text size — 5.18:1 */
54
55 /* semantic */
56 --ok: #0a7d3c;
57 --bad: #c62828;
58 --done: #6b21a8; /* merged */
59 --neutral: #595959;
60
61 /* the rail is black in both schemes: the one brand constant */
62 --shell-bg: #000000;
63 --shell-fg: #f2f2f2;
64 --shell-muted: #8f8f8f;
65 --shell-line: #1c1c1c;
66 --shell-hover: #141414;
67 --shell-mark: #ff6b3d; /* 7.42:1 on black, both schemes */
68
69 /* type */
70 --sans: "Atkinson Hyperlegible Next", -apple-system, BlinkMacSystemFont,
71 "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
72 --mono: "Atkinson Hyperlegible Mono", ui-monospace, "SF Mono",
73 SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
74 --fs-0: 0.78rem;
75 --fs-1: 0.85rem;
76 --fs-2: 0.92rem;
77 --fs-3: 1rem;
78 --fs-4: 1.2rem;
79 --fs-5: 1.6rem;
80
81 /* spacing */
82 --sp-1: 0.25rem;
83 --sp-2: 0.5rem;
84 --sp-3: 0.75rem;
85 --sp-4: 1rem;
86 --sp-5: 1.5rem;
87 --sp-6: 2.5rem;
88
89 --chev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23595959' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
90
91 /* radii: 2px everywhere — chart plates, not pills */
92 --r-sm: 2px;
93 --r-md: 2px;
94 --r-lg: 2px;
95 --r-pill: 2px;
96}
97@media (prefers-color-scheme: dark) {
98 :root {
99 --bg: #0a0a0a;
100 --fg: #f2f2f2;
101 --muted: #a1a1a1; /* 7.66:1 on #0a0a0a */
102 --faint: #1c1c1c;
103 --line: #2e2e2e;
104 --surface: #0f0f0f;
105 --hover: #161616;
106 --code-bg: #050505;
107 --accent: #5b6bff; /* 4.71:1 — pure #0000f0 is 2.13:1 here */
108 --accent-fg: #ffffff;
109 --fill: #0000f0; /* fills stay pure; white on it clears 9:1 */
110 --mark: #ff6b3d;
111 --warn: #ff6b3d;
112 --ok: #3fce7a;
113 --bad: #ff6b6b;
114 --done: #c084fc;
115 --neutral: #a1a1a1;
116 --chev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23a1a1a1' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
117 }
118}
119
120* { box-sizing: border-box; }
121html { font-size: 15px; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
122body {
123 margin: 0;
124 background: var(--bg);
125 color: var(--fg);
126 font: var(--fs-3)/1.6 var(--sans);
127 min-height: 100vh;
128}
129
130a { color: var(--accent); text-decoration: none; }
131a:hover { text-decoration: underline; }
132
133/* one authored focus ring, so keyboard position is never the browser's
134 guess. Blue, because focus is an interactive state. */
135:focus-visible {
136 outline: 2px solid var(--accent);
137 outline-offset: 2px;
138 border-radius: 1px;
139}
140
141/* visually hidden, still read aloud: for headings a sighted reader gets
142 from the layout but a screen reader would otherwise miss */
143.vh {
144 position: absolute;
145 width: 1px; height: 1px;
146 margin: -1px; padding: 0; border: 0;
147 clip-path: inset(50%);
148 overflow: hidden;
149 white-space: nowrap;
150}
151/* the rail runs ahead of the content in source order, so give keyboard
152 and screen-reader users a way past it */
153a.skip {
154 position: absolute;
155 left: var(--sp-3); top: -3rem;
156 z-index: 50;
157 background: var(--fill);
158 color: #ffffff;
159 padding: var(--sp-2) var(--sp-4);
160 font-weight: 600;
161}
162a.skip:focus { top: var(--sp-3); text-decoration: none; }
163
164h1 { font-size: var(--fs-5); font-weight: 700; line-height: 1.18;
165 margin: 0 0 var(--sp-3); letter-spacing: -0.025em; text-wrap: balance; }
166h2 { font-size: var(--fs-4); font-weight: 700; line-height: 1.3;
167 margin: var(--sp-5) 0 var(--sp-3); letter-spacing: -0.015em; }
168h3 { font-size: var(--fs-3); font-weight: 600; margin: var(--sp-5) 0 var(--sp-2); }
169
170code, pre, .code, td.mode, td.size {
171 font-family: var(--mono);
172 font-size: var(--fs-1);
173}
174
175/* ---- shell: black rail, content pane ---- */
176.shell { display: flex; align-items: stretch; min-height: 100vh; }
177
178.rail {
179 flex: none;
180 width: 13rem;
181 background: var(--shell-bg);
182 color: var(--shell-fg);
183 border-right: 1px solid var(--shell-line);
184 position: sticky;
185 top: 0;
186 height: 100vh;
187 display: flex;
188 flex-direction: column;
189}
190a.brand {
191 display: flex;
192 align-items: center;
193 gap: var(--sp-2);
194 padding: var(--sp-3) var(--sp-4);
195 color: var(--shell-fg);
196 font-weight: 700;
197 font-size: var(--fs-3);
198 letter-spacing: -0.02em;
199 border-bottom: 1px solid var(--shell-line);
200}
201a.brand:hover { text-decoration: none; color: #ffffff; }
202a.brand svg.mark { display: block; flex: none; }
203a.brand span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
204
205.railbody { flex: 1; overflow-y: auto; padding: var(--sp-3) 0; }
206ul.raillist { list-style: none; margin: 0; padding: 0; }
207ul.raillist a {
208 display: block;
209 padding: 0.28rem var(--sp-4);
210 color: var(--shell-fg);
211 font-size: var(--fs-2);
212 border-left: 3px solid transparent;
213 overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
214}
215ul.raillist a:hover { background: var(--shell-hover); text-decoration: none; }
216/* orange marks position — the rail's only accent */
217ul.raillist a[aria-current] {
218 border-left-color: var(--shell-mark);
219 background: var(--shell-hover);
220 font-weight: 600;
221}
222ul.raillist .owner { color: var(--shell-muted); }
223ul.raillist.wide a { white-space: normal; padding-top: var(--sp-1); padding-bottom: var(--sp-1); }
224ul.raillist.wide b { display: block; font-weight: 500; font-size: var(--fs-1); }
225ul.raillist.wide .owner { font-size: var(--fs-0); }
226
227.raillabel {
228 display: flex;
229 align-items: center;
230 gap: var(--sp-2);
231 margin: var(--sp-4) 0 var(--sp-1);
232 padding: 0 var(--sp-4);
233 font-family: var(--mono);
234 font-size: var(--fs-0);
235 font-weight: 500;
236 letter-spacing: 0.1em;
237 text-transform: uppercase;
238 color: var(--shell-muted);
239}
240.raillabel .count {
241 font-family: var(--sans);
242 font-size: var(--fs-0);
243 font-weight: 700;
244 letter-spacing: 0;
245 background: var(--shell-mark);
246 color: #000000;
247 padding: 0 0.35rem;
248 border-radius: var(--r-sm);
249}
250.railfoot {
251 flex: none;
252 border-top: 1px solid var(--shell-line);
253 padding: var(--sp-2) var(--sp-4);
254 display: flex;
255 align-items: center;
256 gap: var(--sp-3);
257 font-size: var(--fs-2);
258}
259.railfoot a { color: var(--shell-fg); }
260a.railuser { display: inline-flex; align-items: center; gap: var(--sp-2); }
261.railfoot .linklike {
262 background: none; border: 0; padding: 0; cursor: pointer;
263 color: var(--shell-muted); font: inherit; text-decoration: underline;
264}
265.railfoot .linklike:hover { color: var(--shell-fg); }
266.avatar {
267 width: 1.4rem; height: 1.4rem; flex: none;
268 display: inline-grid; place-items: center;
269 background: var(--fill);
270 color: #ffffff;
271 font-size: var(--fs-0);
272 font-weight: 700;
273 border-radius: var(--r-sm);
274}
275
276.pane { flex: 1; min-width: 0; display: flex; flex-direction: column; }
277.content {
278 flex: 1;
279 padding: var(--sp-5) var(--sp-5) var(--sp-6);
280 max-width: 78rem;
281 width: 100%;
282}
283
284/* ---- repo header: identity and tabs on every page, the rest once ---- */
285.repohead {
286 padding: var(--sp-4) var(--sp-5) 0;
287 border-bottom: 1px solid var(--line);
288}
289.repohead .identity { display: flex; align-items: center; gap: var(--sp-2); flex-wrap: wrap; }
290.repohead .identity .grow { flex: 1; }
291/* h1 on the repo home, p elsewhere so each page keeps its own h1 — but
292 identical in size, because the tabs sit below this and navigation must
293 not move when you use it */
294.repotitle {
295 margin: 0;
296 font-size: var(--fs-4);
297 font-weight: 700;
298 letter-spacing: -0.02em;
299 line-height: 1.3;
300}
301.repotitle a { color: var(--fg); }
302.repotitle a.owner { color: var(--muted); font-weight: 400; }
303.repotitle a:hover { color: var(--accent); text-decoration: none; }
304.repotitle .sep { color: var(--muted); margin: 0 0.12em; font-weight: 400; }
305.repodesc { margin: var(--sp-2) 0 0; color: var(--muted); font-size: var(--fs-2); max-width: 62ch; }
306.repometa { margin: var(--sp-1) 0 0; color: var(--muted); font-size: var(--fs-1); }
307.repohead .topics { margin: var(--sp-2) 0 0; }
308
309button.btn {
310 font: inherit;
311 font-size: var(--fs-1);
312 font-weight: 600;
313 padding: 0.15rem 0.7rem;
314 border: 1px solid var(--line);
315 border-radius: var(--r-sm);
316 background: var(--bg);
317 color: var(--fg);
318 cursor: pointer;
319}
320button.btn:hover { border-color: var(--accent); color: var(--accent); }
321button.btn[aria-pressed="true"] { border-color: var(--accent); color: var(--accent); }
322form.inline { display: inline; }
323
324nav.tabs {
325 display: flex;
326 gap: var(--sp-1);
327 margin-top: var(--sp-4);
328 overflow-x: auto;
329 scrollbar-width: none;
330}
331nav.tabs::-webkit-scrollbar { display: none; }
332nav.tabs a {
333 display: inline-flex;
334 align-items: center;
335 gap: var(--sp-2);
336 padding: var(--sp-2) var(--sp-3) 0.6rem;
337 color: var(--muted);
338 font-size: var(--fs-2);
339 white-space: nowrap;
340 border-bottom: 2px solid transparent;
341 margin-bottom: -1px;
342}
343nav.tabs a:hover { color: var(--fg); text-decoration: none; }
344/* orange marks position here too */
345nav.tabs a[aria-current] {
346 color: var(--fg);
347 font-weight: 700;
348 border-bottom-color: var(--mark);
349}
350nav.tabs a i {
351 font-style: normal;
352 font-family: var(--mono);
353 font-size: var(--fs-0);
354 background: var(--hover);
355 border-radius: var(--r-sm);
356 padding: 0 0.35rem;
357}
358
359/* ---- mobile: the rail becomes a single strip, not a wall of links ---- */
360@media (max-width: 52rem) {
361 .shell { display: block; }
362 .rail {
363 width: auto;
364 height: auto;
365 position: static;
366 flex-direction: row;
367 align-items: center;
368 gap: var(--sp-2);
369 border-right: 0;
370 border-bottom: 1px solid var(--shell-line);
371 overflow-x: auto;
372 }
373 a.brand { border-bottom: 0; padding-right: var(--sp-2); }
374 .railbody { flex: 1; overflow: visible; padding: 0; display: flex; align-items: center; }
375 /* pinned repos and the review queue both live on the dashboard, so the
376 strip keeps only what has nowhere else to go */
377 .railgroup { display: none; }
378 ul.raillist { display: flex; }
379 ul.raillist a { border-left: 0; border-bottom: 2px solid transparent; padding: var(--sp-2) var(--sp-3); }
380 ul.raillist a[aria-current] { border-left: 0; border-bottom-color: var(--shell-mark); }
381 .railfoot { border-top: 0; padding-left: var(--sp-2); }
382 .content { padding: var(--sp-4) var(--sp-4) var(--sp-5); }
383 .repohead { padding: var(--sp-3) var(--sp-4) 0; }
384}
385
386/* tables */
387table { border-collapse: collapse; width: 100%; }
388td {
389 padding: var(--sp-2) var(--sp-4) var(--sp-2) 0;
390 border-bottom: 1px solid var(--faint);
391 vertical-align: top;
392 font-size: var(--fs-2);
393}
394td:last-child { padding-right: 0; }
395td.size, td.mode { color: var(--muted); white-space: nowrap; }
396
397/* path bar on tree and blob pages */
398.pathbar {
399 display: flex;
400 flex-wrap: wrap;
401 align-items: center;
402 gap: var(--sp-2) var(--sp-3);
403 margin: var(--sp-3) 0;
404 font-size: var(--fs-2);
405}
406.pathbar .spacer { flex: 1; }
407.refchip {
408 display: inline-flex;
409 align-items: center;
410 gap: 0.3rem;
411 background: var(--surface);
412 border: 1px solid var(--faint);
413 border-radius: var(--r-md);
414 padding: 0.1rem 0.55rem;
415 font-family: var(--mono);
416 font-size: var(--fs-1);
417 color: var(--fg);
418}
419.pathbar .crumbs strong { color: var(--fg); }
420details.refmenu { position: relative; }
421details.refmenu summary { cursor: pointer; list-style: none; }
422details.refmenu summary::-webkit-details-marker { display: none; }
423details.refmenu summary::after { content: " ▾"; color: var(--muted); }
424details.refmenu .refdrop {
425 position: absolute;
426 z-index: 10;
427 top: calc(100% + 4px);
428 left: 0;
429 min-width: 12rem;
430 max-height: 20rem;
431 overflow-y: auto;
432 background: var(--bg);
433 border: 1px solid var(--line);
434 border-radius: var(--r-md);
435 box-shadow: 0 4px 16px rgba(0,0,0,0.12);
436 padding: var(--sp-1) 0;
437}
438details.refmenu .refdrop a {
439 display: block;
440 padding: var(--sp-1) var(--sp-3);
441 color: var(--fg);
442 font-family: var(--mono);
443 font-size: var(--fs-1);
444}
445details.refmenu .refdrop a:hover { background: var(--hover); text-decoration: none; }
446details.refmenu .refdrop a.allrefs { color: var(--accent); font-family: var(--sans); border-top: 1px solid var(--faint); margin-top: var(--sp-1); }
447
448/* file and refs tables: bordered cards, rows inside */
449table.tree, table.refs {
450 background: var(--surface);
451 border: 1px solid var(--line);
452 border-radius: var(--r-lg);
453 border-collapse: separate;
454 border-spacing: 0;
455 overflow: hidden;
456 margin-bottom: var(--sp-4);
457}
458table.tree td, table.refs td {
459 padding: var(--sp-2) var(--sp-4);
460 border-bottom: 1px solid var(--faint);
461}
462table.tree tr:last-child td, table.refs tr:last-child td { border-bottom: none; }
463table.tree tr:hover td, table.refs tr:hover td { background: var(--hover); }
464table.tree tr.cols th {
465 text-align: left;
466 font-weight: 500;
467 font-size: var(--fs-1);
468 color: var(--muted);
469 padding: var(--sp-1) var(--sp-4);
470 border-bottom: 1px solid var(--line);
471 background: var(--bg);
472}
473table.tree tr.cols:hover th { background: var(--bg); }
474table.tree th.size { text-align: right; }
475table.tree td.name { width: 100%; }
476table.tree td.name a { color: var(--fg); }
477table.tree td.name a:hover { color: var(--accent); }
478table.tree td.size { text-align: right; }
479table.tree td.empty, table.refs td.empty, li.empty, ul.loglist li.empty { color: var(--muted); }
480
481/* refs page */
482table.refs td.name { width: 100%; }
483table.refs td.sha { color: var(--muted); }
484
485/* card header (README) */
486.cardhead {
487 font-family: var(--mono);
488 font-size: var(--fs-1);
489 color: var(--muted);
490 border-bottom: 1px solid var(--faint);
491 margin: calc(-1 * var(--sp-4)) calc(-1 * var(--sp-5)) var(--sp-4);
492 padding: var(--sp-2) var(--sp-5);
493 background: var(--bg);
494 border-radius: var(--r-lg) var(--r-lg) 0 0;
495}
496
497/* log */
498ul.loglist {
499 list-style: none;
500 margin: var(--sp-3) 0;
501 padding: 0;
502 background: var(--surface);
503 border: 1px solid var(--line);
504 border-radius: var(--r-lg);
505 overflow: hidden;
506}
507ul.loglist li {
508 display: flex;
509 align-items: baseline;
510 gap: var(--sp-3);
511 padding: var(--sp-2) var(--sp-4);
512 border-bottom: 1px solid var(--faint);
513}
514ul.loglist li:last-child { border-bottom: none; }
515ul.loglist li:hover { background: var(--hover); }
516ul.loglist .commitmain { flex: 1; min-width: 0; }
517ul.loglist p { margin: 0; }
518ul.loglist .subject a { color: var(--fg); font-weight: 550; }
519ul.loglist .subject a:hover { color: var(--accent); }
520ul.loglist .commitside {
521 display: flex;
522 align-items: baseline;
523 gap: var(--sp-2);
524 white-space: nowrap;
525}
526p.pager { margin-top: var(--sp-4); }
527
528/* commit page */
529.commithead p { margin: var(--sp-1) 0; }
530.commithead h2 { margin-bottom: var(--sp-1); }
531code.fullsha { color: var(--muted); overflow-wrap: anywhere; }
532.empty-note { color: var(--muted); }
533.crumbs { color: var(--muted); font-size: var(--fs-2); }
534.desc, td.desc { color: var(--muted); }
535.error {
536 color: var(--fg);
537 border: 1px solid var(--bad);
538 border-left-width: 3px;
539 border-radius: var(--r-sm);
540 padding: var(--sp-2) var(--sp-3);
541 margin-bottom: var(--sp-4);
542}
543/* merge request actions in the aside: stacked controls, full width */
544.aside form.actions {
545 display: flex;
546 flex-wrap: wrap;
547 gap: var(--sp-2);
548 margin-top: var(--sp-2);
549}
550.aside form.actions button { flex: 1 1 auto; }
551.aside form.actions select { width: 100%; }
552form.threadact { margin: var(--sp-1) 0 0; padding: 0 var(--sp-3) var(--sp-2); }
553
554.meta { color: var(--muted); font-size: var(--fs-1); }
555svg.icon { vertical-align: -0.125em; }
556.lede { font-size: var(--fs-3); margin: var(--sp-2) 0; }
557
558/* repo listings (explore, owner pages, dashboard): one row per repo */
559ul.repolist {
560 list-style: none;
561 margin: var(--sp-3) 0 var(--sp-5);
562 padding: 0;
563 background: var(--surface);
564 border: 1px solid var(--line);
565 border-radius: var(--r-lg);
566 overflow: hidden;
567}
568ul.repolist li { padding: var(--sp-3) var(--sp-4); border-bottom: 1px solid var(--faint); }
569/* pinned repos: a compact wrap of name pills, no description or meta */
570ul.pinlist {
571 list-style: none;
572 margin: var(--sp-3) 0 var(--sp-5);
573 padding: 0;
574 display: flex;
575 flex-wrap: wrap;
576 gap: var(--sp-2);
577}
578ul.pinlist li {
579 background: var(--surface);
580 border: 1px solid var(--line);
581 border-radius: var(--r-md);
582 padding: var(--sp-1) var(--sp-3);
583}
584ul.pinlist li:hover { background: var(--hover); }
585ul.pinlist li a { color: var(--fg); }
586ul.pinlist li a:hover { color: var(--accent); text-decoration: none; }
587ul.pinlist .sep { color: var(--muted); margin: 0 0.15em; }
588ul.repolist li:last-child { border-bottom: none; }
589ul.repolist li:hover { background: var(--hover); }
590ul.repolist li.empty { color: var(--muted); }
591ul.repolist p { margin: 0; }
592ul.repolist .reponame { font-size: var(--fs-3); }
593ul.repolist .reponame a { color: var(--fg); }
594ul.repolist .reponame a strong { color: var(--accent); font-weight: 600; }
595ul.repolist .reponame .sep { color: var(--muted); margin: 0 0.1em; }
596ul.repolist .desc { margin-top: 0.1rem; }
597ul.repolist .topics { margin-top: var(--sp-1); }
598ul.repolist .meta { margin-top: var(--sp-1); }
599
600/* owner profile header */
601.profilehead {
602 border-bottom: 1px solid var(--faint);
603 padding-bottom: var(--sp-4);
604 margin-bottom: var(--sp-4);
605}
606.profilehead h1 { margin: var(--sp-4) 0 var(--sp-1); }
607.profilehead .lede { margin: 0 0 var(--sp-1); }
608.profilehead .meta { margin: var(--sp-1) 0 0; }
609h2 .count { color: var(--muted); font-weight: 400; font-size: var(--fs-2); }
610
611/* activity graph: 53 week columns x 7 day rows, accent-tinted levels */
612.actgraph-scroll { overflow-x: auto; padding-bottom: var(--sp-1); }
613.actgraph { display: flex; gap: 3px; width: max-content; }
614.actweek { display: flex; flex-direction: column; gap: 3px; }
615.actday {
616 width: 11px;
617 height: 11px;
618 border-radius: 2px;
619 background: var(--faint);
620}
621.actday.pad { background: transparent; }
622.actday.l1 { background: color-mix(in srgb, var(--accent) 25%, var(--bg)); }
623.actday.l2 { background: color-mix(in srgb, var(--accent) 50%, var(--bg)); }
624.actday.l3 { background: color-mix(in srgb, var(--accent) 75%, var(--bg)); }
625.actday.l4 { background: var(--accent); }
626
627/* heading row with actions on the right */
628.headrow {
629 display: flex;
630 align-items: baseline;
631 gap: var(--sp-4);
632 flex-wrap: wrap;
633}
634.headrow .spacer { flex: 1; }
635
636/* member and org chips on owner pages */
637a.memberchip {
638 display: inline-block;
639 border: 1px solid var(--line);
640 border-radius: var(--r-pill);
641 padding: 0.05rem 0.6rem;
642 color: var(--fg);
643 font-size: var(--fs-1);
644 margin: 0 0.15rem 0.15rem 0;
645}
646a.memberchip:hover { text-decoration: none; border-color: var(--accent); color: var(--accent); }
647a.memberchip .role { color: var(--muted); }
648
649/* landing page */
650.landing { max-width: 44rem; padding: var(--sp-6) 0; }
651.landing h1 { font-size: 1.8rem; margin-bottom: var(--sp-3); }
652.landing .lede { font-size: var(--fs-4); color: var(--muted); line-height: 1.7; margin: 0 0 var(--sp-4); }
653pre.quickstart {
654 background: var(--code-bg);
655 border: 1px solid var(--line);
656 border-radius: var(--r-md);
657 padding: var(--sp-3) var(--sp-4);
658 overflow-x: auto;
659 margin: 0 0 var(--sp-4);
660}
661.landing .explorelink { font-weight: 550; }
662
663/* index toolbar */
664p.toolbar { color: var(--muted); font-size: var(--fs-2); margin-top: var(--sp-4); }
665form.inline { display: inline; }
666button.linklike {
667 background: none;
668 border: none;
669 color: var(--accent);
670 padding: 0;
671 font: inherit;
672 font-size: var(--fs-2);
673 cursor: pointer;
674}
675button.linklike:hover { text-decoration: underline; filter: none; }
676
677/* cards: README, comments */
678.readme, .code {
679 background: var(--surface);
680 border: 1px solid var(--line);
681 border-radius: var(--r-lg);
682 padding: var(--sp-4) var(--sp-5);
683 margin-top: var(--sp-4);
684 overflow-x: auto;
685}
686/* Highlighting is class-based with a palette per scheme, so code blocks
687 follow the site's own colors. */
688.code { background: var(--code-bg); color: var(--fg); padding: var(--sp-3) var(--sp-4); border-color: var(--line); }
689.code pre { margin: 0; background: transparent !important; }
690@media (prefers-color-scheme: dark) {
691 .code { border-color: var(--line); }
692}
693
694/* rendered markdown / org / html */
695.rendered { max-width: 100%; overflow-wrap: anywhere; }
696.rendered pre {
697 background: var(--code-bg);
698 border: 1px solid var(--line);
699 padding: var(--sp-3) var(--sp-4);
700 border-radius: var(--r-md);
701 overflow-x: auto;
702}
703.rendered code {
704 background: var(--code-bg);
705 border: 1px solid var(--line);
706 padding: 0.05rem 0.3rem;
707 border-radius: var(--r-sm);
708}
709.rendered pre code { background: transparent; border: none; padding: 0; }
710.rendered blockquote {
711 border-left: 3px solid var(--line);
712 margin-left: 0;
713 padding-left: var(--sp-4);
714 color: var(--muted);
715}
716.rendered img { max-width: 100%; }
717.rendered h1, .rendered h2 { border-bottom: 1px solid var(--faint); padding-bottom: var(--sp-1); }
718.rendered table {
719 border-collapse: collapse;
720 margin: var(--sp-3) 0;
721 display: block;
722 max-width: 100%;
723 overflow-x: auto;
724}
725.rendered th, .rendered td {
726 border: 1px solid var(--line);
727 padding: var(--sp-1) var(--sp-3);
728 text-align: left;
729 overflow-wrap: normal; /* scroll the table, don't shatter words */
730}
731.rendered th { background: var(--surface); font-weight: 600; }
732.blobimage { text-align: center; }
733.blobimage img {
734 max-width: 100%;
735 border: 1px solid var(--faint);
736 border-radius: var(--r-md);
737 background: var(--surface);
738}
739
740pre.message {
741 background: var(--code-bg);
742 border: 1px solid var(--line);
743 padding: var(--sp-3) var(--sp-4);
744 border-radius: var(--r-md);
745 white-space: pre-wrap;
746 overflow-wrap: anywhere;
747}
748
749/* diffs */
750details.difffold summary {
751 cursor: pointer;
752 display: flex;
753 align-items: baseline;
754 gap: var(--sp-3);
755 margin: var(--sp-5) 0 var(--sp-2);
756 list-style: none;
757}
758details.difffold summary::-webkit-details-marker { display: none; }
759/* flex summaries lose the native disclosure marker; draw our own */
760details.difffold summary::before { content: "▸"; color: var(--muted); }
761details.difffold[open] summary::before { content: "▾"; }
762details.difffold summary h3 { display: inline; margin: 0; }
763details.difffold summary .add { color: var(--ok); }
764details.difffold summary .del { color: var(--bad); }
765pre.diff {
766 background: var(--code-bg);
767 border: 1px solid var(--line);
768 padding: var(--sp-3) var(--sp-4);
769 border-radius: var(--r-md);
770 overflow-x: auto;
771 line-height: 1.5;
772}
773pre.diff .add { color: var(--ok); }
774pre.diff .del { color: var(--bad); }
775pre.diff .hunk { color: var(--accent); }
776pre.diff .meta { color: var(--muted); }
777
778/* badges: signature and check states. Semantic colors stay distinct:
779 green verified/success, amber pending/stale, red bad/failure, muted
780 unsigned. */
781.badge, .chip {
782 --chip: var(--neutral);
783 display: inline-block;
784 padding: 0.05rem 0.55rem;
785 border-radius: var(--r-pill);
786 font-size: var(--fs-0);
787 font-weight: 500;
788 line-height: 1.5;
789 color: var(--chip);
790 border: 1px solid color-mix(in srgb, var(--chip) 35%, transparent);
791 background: color-mix(in srgb, var(--chip) 7%, transparent);
792 white-space: nowrap;
793 vertical-align: middle;
794}
795.chip-open { --chip: var(--ok); }
796.chip-closed { --chip: var(--bad); }
797.chip-merged, .chip-done { --chip: var(--done); }
798.chip-neutral, .chip-source_gone { --chip: var(--neutral); }
799.chip-stale { --chip: var(--warn); }
800.chip.label { font-weight: 500; }
801.chip.topic { --chip: var(--accent); }
802.repohead .topics { margin: 0 0 var(--sp-2); }
803.repohead .mirrorline { margin: 0 0 var(--sp-2); }
804.mirrorerr { color: var(--bad); }
805.badge-verified { --chip: var(--ok); }
806.badge-unsigned { --chip: var(--neutral); }
807.badge-signed_unknown_key { --chip: var(--warn); }
808.badge-signed_email_mismatch { --chip: var(--bad); }
809.badge-signed_key_expired { --chip: var(--warn); }
810.badge-signed_key_revoked { --chip: var(--bad); }
811.badge-bad_signature { --chip: var(--bad); }
812.badge.check-success { --chip: var(--ok); }
813.badge.check-pending { --chip: var(--warn); }
814.badge.check-failure, .badge.check-error { --chip: var(--bad); }
815.badge.check-running, .chip.check-running { --chip: var(--warn); }
816.chip.check-success { --chip: var(--ok); }
817.chip.check-pending { --chip: var(--warn); }
818.chip.check-failure { --chip: var(--bad); }
819pre.buildlog { max-height: 40rem; overflow: auto; }
820span.check-success { color: var(--ok); }
821span.check-pending { color: var(--warn); }
822span.check-failure, span.check-error { color: var(--bad); }
823
824/* issue and MR listings */
825.listhead {
826 display: flex;
827 align-items: baseline;
828 gap: var(--sp-4);
829 flex-wrap: wrap;
830}
831.listhead h2 { margin-bottom: var(--sp-2); }
832nav.filters { display: flex; gap: var(--sp-1); }
833nav.filters a {
834 color: var(--muted);
835 font-size: var(--fs-2);
836 padding: 0.05rem var(--sp-2);
837 border-radius: var(--r-pill);
838}
839nav.filters a:hover { color: var(--fg); background: var(--hover); text-decoration: none; }
840nav.filters a.active { color: var(--accent); background: color-mix(in srgb, var(--accent) 10%, transparent); }
841
842ul.issuelist {
843 list-style: none;
844 margin: var(--sp-2) 0;
845 padding: 0;
846 background: var(--surface);
847 border: 1px solid var(--line);
848 border-radius: var(--r-lg);
849 overflow: hidden;
850}
851ul.issuelist li {
852 display: flex;
853 align-items: baseline;
854 gap: var(--sp-3);
855 padding: var(--sp-3) var(--sp-4);
856 border-bottom: 1px solid var(--faint);
857}
858ul.issuelist li:last-child { border-bottom: none; }
859ul.issuelist li:hover { background: var(--hover); }
860ul.issuelist li.empty { display: block; color: var(--muted); }
861ul.issuelist .issuemain { flex: 1; min-width: 0; }
862ul.issuelist p { margin: 0; }
863ul.issuelist .title a { color: var(--fg); font-weight: 550; }
864ul.issuelist .title a:hover { color: var(--accent); }
865
866/* releases */
867article.release {
868 background: var(--surface);
869 border: 1px solid var(--line);
870 border-radius: var(--r-lg);
871 padding: var(--sp-3) var(--sp-4);
872 margin: var(--sp-4) 0;
873}
874.releasehead { background: none; border: 0; padding: 0; }
875.releasehead h3 { margin: 0 0 var(--sp-1); }
876.releasehead .meta { margin: 0 0 var(--sp-2); }
877table.assets { margin-top: var(--sp-2); }
878table.assets td.size { color: var(--muted); white-space: nowrap; text-align: right; }
879table.assets td.name { width: 100%; font-family: var(--mono); font-size: var(--fs-1); }
880
881/* milestones */
882ul.milestonelist {
883 list-style: none;
884 margin: var(--sp-2) 0;
885 padding: 0;
886 border: 1px solid var(--line);
887 border-radius: var(--r-lg);
888 overflow: hidden;
889}
890ul.milestonelist li { padding: var(--sp-3) var(--sp-4); border-bottom: 1px solid var(--faint); }
891ul.milestonelist li:last-child { border-bottom: none; }
892ul.milestonelist li.empty { color: var(--muted); }
893ul.milestonelist p { margin: 0; }
894ul.milestonelist .title { font-weight: 550; }
895.progress {
896 height: 6px;
897 background: var(--faint);
898 border-radius: var(--r-pill);
899 margin-top: var(--sp-2);
900 overflow: hidden;
901 max-width: 24rem;
902}
903.progress .bar { height: 100%; background: var(--ok); }
904.listhead .spacer { flex: 1; }
905
906/* issue / MR detail */
907h2.issuetitle { margin-bottom: var(--sp-1); font-size: var(--fs-5); }
908.issuenumber { color: var(--muted); font-weight: 400; }
909.issuemeta { color: var(--muted); font-size: var(--fs-2); margin-top: 0; }
910.review { font-size: var(--fs-2); }
911
912/* comment cards; discussion stays at a readable measure */
913article.comment, form.commentform {
914 max-width: 48rem;
915}
916article.comment {
917 border: 1px solid var(--faint);
918 border-radius: var(--r-lg);
919 margin: var(--sp-4) 0;
920}
921article.comment .commenthead {
922 background: var(--surface);
923 border-bottom: 1px solid var(--faint);
924 border-radius: var(--r-lg) var(--r-lg) 0 0;
925 padding: var(--sp-2) var(--sp-4);
926 font-size: var(--fs-2);
927}
928article.comment .commenthead .when { color: var(--muted); }
929article.comment .rendered { padding: 0 var(--sp-4); }
930article.comment .rendered > :first-child { margin-top: var(--sp-3); }
931article.comment .rendered > :last-child { margin-bottom: var(--sp-3); }
932form.commentform { margin: var(--sp-4) 0; }
933details.editbox { margin: var(--sp-2) 0; max-width: 48rem; }
934details.editbox summary { cursor: pointer; color: var(--muted); font-size: var(--fs-2); }
935details.editbox summary:hover { color: var(--accent); }
936details.editbox input[type="text"] { width: 100%; }
937.syscomment {
938 max-width: 48rem;
939 color: var(--muted);
940 font-size: var(--fs-2);
941 margin: var(--sp-3) 0;
942 padding-left: var(--sp-4);
943 border-left: 3px solid var(--faint);
944}
945.syscomment p { display: inline; margin: 0; }
946
947/* review threads under diff lines */
948.thread {
949 border: 1px solid var(--faint);
950 border-left: 3px solid var(--accent);
951 border-radius: var(--r-md);
952 padding: var(--sp-2) var(--sp-4);
953 margin: var(--sp-2) 0 var(--sp-2) var(--sp-6);
954}
955.thread.resolved { border-left-color: var(--ok); opacity: 0.75; }
956.thread.stale { border-left-color: var(--warn); }
957.thread p.commenthead { font-size: var(--fs-2); margin: var(--sp-2) 0 0; }
958.thread .when { color: var(--muted); }
959.thread .rendered p { margin: var(--sp-1) 0; }
960.thread .threadstate { color: var(--muted); font-size: var(--fs-1); margin: var(--sp-1) 0 0; }
961
962/* forms: every control shares one shell, so a select reads as a sibling
963 of the text inputs beside it rather than as an OS control dropped in */
964input, textarea, button, select { font: inherit; color: inherit; }
965input[type="text"], input[type="search"], input[type="email"],
966input[type="password"], input:not([type]), textarea, select {
967 background: var(--bg);
968 color: var(--fg);
969 border: 1px solid var(--line);
970 border-radius: var(--r-md);
971 padding: var(--sp-2) var(--sp-3);
972 line-height: 1.4;
973}
974textarea { width: 100%; resize: vertical; }
975textarea[name="content"] { font-family: var(--mono); font-size: var(--fs-1); }
976/* the native arrow cannot be restyled, so draw our own and match the
977 inputs exactly; --chev carries the stroke colour per scheme */
978select {
979 appearance: none;
980 padding-right: 1.9rem;
981 background-image: var(--chev);
982 background-repeat: no-repeat;
983 background-position: right 0.6rem center;
984 background-size: 0.62rem;
985 cursor: pointer;
986}
987input:hover, textarea:hover, select:hover { border-color: var(--muted); }
988/* the global :focus-visible ring covers these; only the border moves */
989input:focus, textarea:focus, select:focus { border-color: var(--accent); }
990input[type="radio"], input[type="checkbox"] { accent-color: var(--fill); }
991label:has(> input[type="radio"]), label:has(> input[type="checkbox"]),
992label:has(> select) { display: inline-flex; align-items: center; gap: var(--sp-2); }
993
994/* Shape carries the meaning on these two and nothing else does: a circle
995 takes one answer, a square takes any number. It survives colour being
996 removed — greyscale, high contrast, colour blindness — so the native
997 shapes stay and only the colour joins the system. Drawing them by hand
998 would align the corners at the cost of the one cue that always works. */
999input[type="radio"], input[type="checkbox"] { accent-color: var(--fill); }
1000
1001/* a segmented control for a small, mutually exclusive set: real radios
1002 underneath, so arrow keys and screen readers behave as they always did */
1003fieldset.segmented { border: 0; margin: 0 0 var(--sp-4); padding: 0; }
1004fieldset.segmented legend {
1005 padding: 0;
1006 margin-bottom: var(--sp-2);
1007 color: var(--muted);
1008 font-size: var(--fs-2);
1009}
1010fieldset.segmented .options { display: inline-flex; }
1011fieldset.segmented label { gap: 0; }
1012fieldset.segmented input {
1013 position: absolute;
1014 width: 1px;
1015 height: 1px;
1016 opacity: 0;
1017 pointer-events: none;
1018}
1019fieldset.segmented span {
1020 display: block;
1021 padding: var(--sp-2) var(--sp-4);
1022 border: 1px solid var(--line);
1023 font-size: var(--fs-2);
1024 cursor: pointer;
1025}
1026fieldset.segmented label + label span { border-left: 0; }
1027fieldset.segmented label:first-child span { border-radius: var(--r-sm) 0 0 var(--r-sm); }
1028fieldset.segmented label:last-child span { border-radius: 0 var(--r-sm) var(--r-sm) 0; }
1029fieldset.segmented span:hover { border-color: var(--muted); }
1030fieldset.segmented input:checked + span {
1031 background: var(--fill);
1032 border-color: var(--fill);
1033 color: #ffffff;
1034 font-weight: 600;
1035}
1036fieldset.segmented input:focus-visible + span {
1037 outline: 2px solid var(--accent);
1038 outline-offset: 2px;
1039}
1040
1041/* remaining input states */
1042::placeholder { color: var(--muted); opacity: 1; }
1043::selection { background: var(--fill); color: #ffffff; }
1044/* :user-invalid, not :invalid — a required field is invalid the moment
1045 the page loads, and colouring it red before anyone has typed is a
1046 scolding, not a hint */
1047input:user-invalid, textarea:user-invalid {
1048 border-color: var(--bad);
1049}
1050.hint { display: block; color: var(--muted); font-size: var(--fs-1); margin-top: var(--sp-1); }
1051button {
1052 background: var(--fill);
1053 color: #ffffff;
1054 border: none;
1055 border-radius: var(--r-md);
1056 padding: var(--sp-2) var(--sp-4);
1057 font-weight: 600;
1058 cursor: pointer;
1059}
1060button:hover { filter: brightness(1.15); }
1061
1062/* 404 */
1063.notfound { text-align: center; padding: var(--sp-6) 0; }
1064.notfound .bigcode {
1065 font-family: var(--mono);
1066 font-size: 4rem;
1067 color: var(--faint);
1068 -webkit-text-stroke: 1px var(--line);
1069 margin: 0;
1070 line-height: 1;
1071}
1072.notfound h1 { margin-top: var(--sp-3); }
1073
1074/* footer */
1075footer {
1076 border-top: 1px solid var(--faint);
1077 padding: var(--sp-4) var(--sp-5) var(--sp-5);
1078 max-width: 78rem;
1079 width: 100%;
1080 color: var(--muted);
1081 font-size: var(--fs-1);
1082}
1083footer p { margin: 0; }
1084footer a { color: var(--muted); text-decoration: underline; }
1085footer a:hover { color: var(--accent); }
1086
1087/* search */
1088form.searchform {
1089 display: flex;
1090 gap: var(--sp-2);
1091 margin: var(--sp-3) 0 var(--sp-4);
1092}
1093form.searchform input[type="search"] { flex: 1; max-width: 32rem; }
1094form.searchform.compact { margin: 0; }
1095form.searchform.compact input[type="search"] {
1096 padding: var(--sp-1) var(--sp-3);
1097 font-size: var(--fs-2);
1098 min-width: 18rem;
1099}
1100ul.matchlist { list-style: none; margin: var(--sp-3) 0; padding: 0; }
1101ul.matchlist li { margin-bottom: var(--sp-3); }
1102ul.matchlist .matchpath { font-family: var(--mono); font-size: var(--fs-1); }
1103pre.matchline {
1104 background: var(--code-bg);
1105 border: 1px solid var(--faint);
1106 border-radius: var(--r-md);
1107 padding: var(--sp-1) var(--sp-3);
1108 margin: var(--sp-1) 0 0;
1109 overflow-x: auto;
1110}
1111pre.matchline mark {
1112 background: color-mix(in srgb, var(--warn) 25%, transparent);
1113 color: inherit;
1114 border-radius: 2px;
1115}
1116
1117/* wiki */
1118.wikilayout { display: flex; gap: var(--sp-5); align-items: flex-start; }
1119.wikipage { flex: 1; min-width: 0; }
1120.wikinav { flex: none; width: 13rem; padding-top: var(--sp-4); }
1121.wikinav ul { list-style: none; margin: var(--sp-1) 0 var(--sp-4); padding: 0; }
1122.wikinav li a { display: block; padding: 0.15rem 0; color: var(--fg); }
1123.wikinav li a:hover { color: var(--accent); text-decoration: none; }
1124.wikinav li a.active { color: var(--accent); font-weight: 550; }
1125@media (max-width: 40rem) {
1126 /* Column direction + the desktop align-items:flex-start lets .wikipage
1127 take its content's intrinsic width, overflowing the viewport (and
1128 triggering iOS font inflation). Stretch pins it to the container. */
1129 .wikilayout { flex-direction: column; align-items: stretch; }
1130 .wikinav { width: auto; padding-top: 0; }
1131}
1132
1133/* blame */
1134.blame {
1135 border: 1px solid var(--line);
1136 border-radius: var(--rad-2, 6px);
1137 overflow: hidden;
1138}
1139.blamehunk {
1140 display: flex;
1141 gap: var(--sp-3);
1142 border-top: 1px solid var(--line);
1143 align-items: flex-start;
1144}
1145.blamehunk:first-child { border-top: none; }
1146.blameinfo {
1147 flex: none;
1148 width: 17rem;
1149 padding: var(--sp-2) var(--sp-3);
1150 min-width: 0;
1151}
1152.blameinfo .subject {
1153 margin: 0;
1154 font-size: var(--fs-1);
1155 white-space: nowrap;
1156 overflow: hidden;
1157 text-overflow: ellipsis;
1158}
1159.blameinfo .meta { margin: 0; font-size: var(--fs-1); color: var(--muted); }
1160.blamecode {
1161 flex: 1;
1162 margin: 0;
1163 padding: var(--sp-2) var(--sp-3) var(--sp-2) 0;
1164 overflow-x: auto;
1165 border-left: 1px solid var(--line);
1166 align-self: stretch;
1167}
1168.lineno {
1169 display: inline-block;
1170 min-width: 3.5em;
1171 padding-right: 1em;
1172 text-align: right;
1173 color: var(--muted);
1174 user-select: none;
1175}
1176
1177/* mobile */
1178@media (max-width: 40rem) {
1179 .container { padding-left: var(--sp-4); padding-right: var(--sp-4); }
1180 main.container { padding-top: var(--sp-2); }
1181 .repogrid { grid-template-columns: 1fr; }
1182 .thread { margin-left: var(--sp-3); }
1183 table.tree td.mode, table.tree th.mode { display: none; }
1184 .readme, .code { padding: var(--sp-3); }
1185 .blamehunk { flex-direction: column; gap: 0; }
1186 .blameinfo { width: auto; }
1187 .blamecode { border-left: none; padding-left: var(--sp-3); width: 100%; }
1188 .cardhead {
1189 margin: calc(-1 * var(--sp-3)) calc(-1 * var(--sp-3)) var(--sp-3);
1190 padding: var(--sp-2) var(--sp-3);
1191 }
1192}
1193
1194/* tree listing: the last commit is what a file table is scanned for, so
1195 it leads. The file's own facts moved to the blob page. */
1196.tipbar {
1197 display: flex;
1198 align-items: center;
1199 gap: var(--sp-3);
1200 padding: var(--sp-2) var(--sp-4);
1201 background: var(--hover);
1202 border: 1px solid var(--line);
1203 border-bottom: 0;
1204 border-radius: var(--r-lg) var(--r-lg) 0 0;
1205 font-size: var(--fs-2);
1206}
1207.tipbar .who { font-weight: 600; }
1208.tipbar .subject { color: var(--fg); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
1209.tipbar .subject:hover { color: var(--accent); }
1210.tipbar .spacer { flex: 1; }
1211.tipbar .age { color: var(--muted); white-space: nowrap; }
1212.tipbar + table.tree { border-radius: 0 0 var(--r-lg) var(--r-lg); }
1213table.tree th.lastcommit, table.tree td.lastcommit { width: 55%; }
1214table.tree td.lastcommit a { color: var(--muted); display: block; overflow: hidden;
1215 text-overflow: ellipsis; white-space: nowrap; }
1216table.tree td.lastcommit a:hover { color: var(--accent); }
1217table.tree th.age, table.tree td.age {
1218 text-align: right;
1219 white-space: nowrap;
1220 color: var(--muted);
1221 font-variant-numeric: tabular-nums;
1222}
1223table.tree td.name { width: 25%; white-space: nowrap; }
1224table.tree td.name.dir a { color: var(--accent); }
1225p.clone { margin: 0 0 var(--sp-3); }
1226p.filefacts { color: var(--muted); font-size: var(--fs-1); margin: 0 0 var(--sp-3); }
1227.pathbar .act { font-size: var(--fs-1); }
1228
1229/* merge request: a two-column split, so state has somewhere to live that
1230 is not a run-on sentence under the title */
1231.withaside {
1232 display: grid;
1233 grid-template-columns: minmax(0, 1fr) 15rem;
1234 gap: var(--sp-5);
1235 align-items: start;
1236}
1237.withaside .mainside { min-width: 0; }
1238@media (max-width: 62rem) { .withaside { grid-template-columns: 1fr; } }
1239
1240.aside { font-size: var(--fs-2); }
1241.aside .grp { border-top: 1px solid var(--line); padding: var(--sp-3) 0; }
1242.aside .grp:first-child { border-top: 0; padding-top: 0; }
1243.aside h2 {
1244 margin: 0 0 var(--sp-2);
1245 font-family: var(--mono);
1246 font-size: var(--fs-0);
1247 font-weight: 500;
1248 letter-spacing: 0.1em;
1249 text-transform: uppercase;
1250 color: var(--muted);
1251}
1252.aside .row { display: flex; align-items: center; gap: var(--sp-2); margin: 0 0 var(--sp-1); flex-wrap: wrap; }
1253.aside .row:last-child { margin-bottom: 0; }
1254.aside .none { color: var(--muted); }
1255.aside .dot { width: 0.45rem; height: 0.45rem; flex: none; border-radius: 50%; background: var(--muted); }
1256.aside .dot.ok { background: var(--ok); }
1257.aside .dot.bad { background: var(--bad); }
1258.aside .dot.pend { background: var(--mark); }
1259
1260/* sub-navigation within an item; orange marks position as it does above */
1261nav.subtabs {
1262 display: flex;
1263 gap: var(--sp-4);
1264 border-bottom: 1px solid var(--line);
1265 margin: 0 0 var(--sp-4);
1266}
1267nav.subtabs a {
1268 display: inline-flex;
1269 align-items: center;
1270 gap: var(--sp-2);
1271 padding: 0 0 var(--sp-2);
1272 color: var(--muted);
1273 font-size: var(--fs-2);
1274 border-bottom: 2px solid transparent;
1275 margin-bottom: -1px;
1276}
1277nav.subtabs a:hover { color: var(--fg); text-decoration: none; }
1278nav.subtabs a[aria-current] { color: var(--fg); font-weight: 700; border-bottom-color: var(--mark); }
1279nav.subtabs a i {
1280 font-style: normal;
1281 font-family: var(--mono);
1282 font-size: var(--fs-0);
1283 background: var(--hover);
1284 border-radius: var(--r-sm);
1285 padding: 0 0.35rem;
1286}
1287p.diffstat { color: var(--muted); font-size: var(--fs-2); margin: 0 0 var(--sp-3); }
1288p.diffstat .add { color: var(--ok); }
1289p.diffstat .del { color: var(--bad); }