flagon-io/g1t

public

Where people and agents ship software together. The open-source git platform for the whole job: issues, agents, checks and deploys to the edge.

g1t/apps/docs/src/styles/g1t.css

414 lines10,407 bytesCodeBlame

Pick any line to see why it is the way it is: the commit, the pull request and issue it came from, and what the agent was thinking.

Docs worth reading, and kept that way1/*
2 * g1t's docs: Starlight in g1t's own design. A very dark gray base,
3 * lavender as the accent for links and the current page, quiet
4 * typography, and one theme.
5 */
Docs as their own app; shared theme package6:root,
7:root[data-theme='light'] {
8 --sl-font: var(--g1t-font-sans);
9 --sl-font-mono: var(--g1t-font-mono);
10
Docs worth reading, and kept that way11 /* Lavender is the docs' accent: links, the current page, highlights. */
12 --sl-color-accent-low: color-mix(in srgb, var(--g1t-merged) 14%, var(--g1t-bg));
13 --sl-color-accent: var(--g1t-merged);
14 --sl-color-accent-high: #d9d1ff;
Docs as their own app; shared theme package15
16 --sl-color-white: var(--g1t-fg);
17 --sl-color-gray-1: var(--g1t-fg-soft);
18 --sl-color-gray-2: var(--g1t-fg-soft);
19 --sl-color-gray-3: var(--g1t-muted);
20 --sl-color-gray-4: var(--g1t-faint);
21 --sl-color-gray-5: var(--g1t-line);
22 --sl-color-gray-6: var(--g1t-surface);
23 --sl-color-gray-7: var(--g1t-surface);
24 --sl-color-black: var(--g1t-bg);
25
26 --sl-color-bg: var(--g1t-bg);
Docs worth reading, and kept that way27 --sl-color-bg-nav: color-mix(in srgb, var(--g1t-bg) 88%, transparent);
Docs as their own app; shared theme package28 --sl-color-bg-sidebar: var(--g1t-bg);
29 --sl-color-hairline: var(--g1t-line);
30 --sl-color-hairline-light: var(--g1t-line);
Docs worth reading, and kept that way31 --sl-color-hairline-shade: var(--g1t-line);
Docs as their own app; shared theme package32 --sl-color-text: var(--g1t-fg-soft);
Docs worth reading, and kept that way33 --sl-color-text-accent: #cfc6ff;
Docs as their own app; shared theme package34 --sl-color-text-invert: var(--g1t-bg);
35 --sl-color-bg-inline-code: var(--g1t-raised);
36
Docs worth reading, and kept that way37 --sl-text-body: 0.9375rem;
38 --sl-line-height: 1.75;
39 --sl-content-width: 46rem;
Docs in the shape of docs.continue.dev40 /* The header's row, and the tabs beneath it. */
41 --sl-nav-height: 6.25rem;
Docs worth reading, and kept that way42 --sl-sidebar-width: 17rem;
43
Docs as their own app; shared theme package44 color-scheme: dark;
45}
46
47/* There is one theme, so the switcher has nothing to switch. */
48starlight-theme-select {
49 display: none;
50}
51
Docs worth reading, and kept that way52/* --- Header --------------------------------------------------------------- */
53
54header.header {
Docs in the shape of docs.continue.dev55 padding: 0 !important;
Docs worth reading, and kept that way56 backdrop-filter: blur(10px);
57 border-bottom: 1px solid var(--g1t-line);
58}
Docs in the shape of docs.continue.dev59site-search {
60 width: 100%;
61 max-width: 30rem;
62}
63/* On phones the menu button sits in the header's top row, not its middle. */
64.sl-menu-button {
65 top: calc((3.5rem - var(--sl-menu-button-size)) / 2) !important;
66}
Docs worth reading, and kept that way67site-search button[data-open-modal] {
68 border-radius: 0.5rem;
69 background: var(--g1t-surface);
70 border-color: var(--g1t-line);
71 color: var(--g1t-faint);
72}
73site-search button[data-open-modal]:hover {
74 border-color: var(--g1t-line-strong);
75 color: var(--g1t-muted);
76}
77
78/* --- Sidebar -------------------------------------------------------------- */
79
80.sidebar-content {
81 padding-top: 1.25rem;
82}
Docs in the shape of docs.continue.dev83/* Groups always show their pages: no caret, no folding. */
84.sidebar-content details > summary {
85 pointer-events: none;
86 padding-top: 0.25rem;
87}
88.sidebar-content details > summary .caret {
89 display: none;
90}
91.sidebar-content .top-level > li + li {
92 margin-top: 1rem;
93}
Docs worth reading, and kept that way94/* Group labels: small and quiet, like section names, not links. */
95.sidebar-content details > summary .group-label .large,
96.sidebar-content .top-level > li > details > summary {
97 font-size: 0.75rem;
98 font-weight: 600;
99 letter-spacing: 0.06em;
100 text-transform: uppercase;
101 color: var(--g1t-faint);
102}
103.sidebar-content ul ul,
104.sidebar-content ul ul li {
105 border-inline-start: 0;
106 margin-inline-start: 0;
107 padding-inline-start: 0;
108}
109.sidebar-content a {
110 border-radius: 0.375rem;
111 padding: 0.32rem 0.6rem;
112 font-size: 0.875rem;
113 color: var(--g1t-muted);
114}
115.sidebar-content a:hover {
116 background: var(--g1t-surface);
117 color: var(--g1t-fg);
118}
Agents get guardrails, run credentials, an audit log, a context hub, repository instructions and mentions; security upkeep; snake_case API119/* The current page: brighter text and a lavender mark, not a filled bar.
120 Square on the mark's side, so the mark is a straight line. */
Docs worth reading, and kept that way121.sidebar-content a[aria-current='page'],
122.sidebar-content a[aria-current='page']:hover {
Agents get guardrails, run credentials, an audit log, a context hub, repository instructions and mentions; security upkeep; snake_case API123 border-radius: 0 0.375rem 0.375rem 0;
Docs worth reading, and kept that way124 background: var(--g1t-surface);
125 color: var(--g1t-fg);
126 font-weight: 500;
127 box-shadow: inset 2px 0 0 var(--g1t-merged);
128}
129
130/* --- Content -------------------------------------------------------------- */
131
132.content-panel {
133 padding-top: 2rem;
134}
Docs in the shape of docs.continue.dev135/* The title and the page read as one, without a rule between them. */
136.content-panel + .content-panel {
137 border-top: 0;
138 padding-top: 0.5rem;
139}
140.sl-markdown-content h1 {
Docs worth reading, and kept that way141 font-size: 2.25rem;
142 font-weight: 650;
143 letter-spacing: -0.03em;
144 line-height: 1.15;
145 color: var(--g1t-fg);
146}
Docs in the shape of docs.continue.dev147/* Sections open with space, not rules. */
Docs worth reading, and kept that way148.sl-markdown-content .sl-heading-wrapper.level-h2 {
149 margin-top: 3rem;
150}
151.sl-markdown-content h2 {
Docs in the shape of docs.continue.dev152 font-size: 1.5rem;
153 font-weight: 600;
Docs as their own app; shared theme package154 letter-spacing: -0.02em;
Docs worth reading, and kept that way155 color: var(--g1t-fg);
Docs as their own app; shared theme package156}
Docs worth reading, and kept that way157.sl-markdown-content h3 {
158 margin-top: 2rem;
159 font-size: 1.1rem;
160 font-weight: 600;
161 letter-spacing: -0.01em;
162 color: var(--g1t-fg);
163}
164.sl-markdown-content p,
165.sl-markdown-content li {
166 color: var(--g1t-fg-soft);
167}
168.sl-markdown-content a:not(.card, .sl-link-button, .sl-link-card) {
169 color: #cfc6ff;
170 text-decoration-color: color-mix(in srgb, var(--g1t-merged) 45%, transparent);
171 text-underline-offset: 0.2em;
172}
173.sl-markdown-content a:not(.card, .sl-link-button, .sl-link-card):hover {
174 text-decoration-color: var(--g1t-merged);
175}
176.sl-markdown-content :not(pre) > code {
177 border-radius: 0.3rem;
Docs in the shape of docs.continue.dev178 padding: 0.1rem 0.3rem;
Docs worth reading, and kept that way179 font-size: 0.85em;
180 color: var(--g1t-fg);
Docs in the shape of docs.continue.dev181 background: var(--g1t-raised);
Docs worth reading, and kept that way182}
Docs as their own app; shared theme package183
Docs worth reading, and kept that way184/* Tables: ruled, not boxed. */
185.sl-markdown-content table {
186 display: table;
187 width: 100%;
188 border-collapse: collapse;
189 font-size: 0.875rem;
190}
191.sl-markdown-content th {
192 border-bottom: 1px solid var(--g1t-line-strong);
193 background: transparent;
194 font-weight: 600;
195 color: var(--g1t-muted);
196 text-align: start;
197}
198.sl-markdown-content td,
199.sl-markdown-content th {
200 padding: 0.6rem 0.75rem;
201 border-inline: 0;
202 border-top: 0;
203}
204.sl-markdown-content td {
205 border-bottom: 1px solid var(--g1t-line);
206 vertical-align: top;
207}
208.sl-markdown-content tr:nth-child(2n) {
209 background: transparent;
Docs as their own app; shared theme package210}
211
Docs worth reading, and kept that way212/* Callouts: a tinted panel with a coloured edge. */
213.starlight-aside {
214 border: 0;
215 border-inline-start: 2px solid;
216 border-radius: 0 0.6rem 0.6rem 0;
217 padding: 0.85rem 1.1rem;
218}
219.starlight-aside--note {
220 border-color: var(--g1t-info);
221 background: color-mix(in srgb, var(--g1t-info) 7%, var(--g1t-bg));
222}
223.starlight-aside--tip {
Docs as their own app; shared theme package224 border-color: var(--g1t-accent);
Docs worth reading, and kept that way225 background: color-mix(in srgb, var(--g1t-accent) 6%, var(--g1t-bg));
Docs as their own app; shared theme package226}
Docs worth reading, and kept that way227.starlight-aside--caution {
228 border-color: var(--g1t-warn);
229 background: color-mix(in srgb, var(--g1t-warn) 7%, var(--g1t-bg));
230}
231.starlight-aside--danger {
232 border-color: var(--g1t-danger);
233 background: color-mix(in srgb, var(--g1t-danger) 7%, var(--g1t-bg));
234}
235
236/* --- On this page --------------------------------------------------------- */
Docs as their own app; shared theme package237
Docs worth reading, and kept that way238.right-sidebar-panel h2 {
239 font-size: 0.75rem;
240 font-weight: 600;
241 letter-spacing: 0.06em;
242 text-transform: uppercase;
243 color: var(--g1t-faint);
244}
245.right-sidebar-panel a {
246 font-size: 0.8125rem;
247 color: var(--g1t-muted);
248}
249.right-sidebar-panel a:hover {
250 color: var(--g1t-fg);
251}
252.right-sidebar-panel a[aria-current='true'] {
253 color: #cfc6ff;
254}
255
256/* --- Cards and buttons ---------------------------------------------------- */
257
258.card,
259.sl-link-card {
260 border-radius: 1rem;
261 background: var(--g1t-surface);
262 border: 1px solid var(--g1t-line);
263 transition: border-color 0.15s;
264}
265.sl-link-card:hover {
266 border-color: var(--g1t-line-strong);
Docs as their own app; shared theme package267 background: var(--g1t-surface);
Docs worth reading, and kept that way268}
269.sl-link-button {
270 border-radius: 0.5rem;
271 font-size: 0.9rem;
272 font-weight: 500;
273}
274.sl-link-button.primary {
275 background: var(--g1t-fg);
276 border-color: var(--g1t-fg);
277 color: var(--g1t-bg);
278}
279.sl-link-button.primary:hover {
280 background: #fff;
281}
282.sl-link-button.minimal {
283 color: var(--g1t-fg-soft);
284}
285
286/* --- Pagination and footer ----------------------------------------------- */
287
288.pagination-links a {
289 border-radius: 0.75rem;
Docs as their own app; shared theme package290 border-color: var(--g1t-line);
Docs worth reading, and kept that way291 box-shadow: none;
292}
293.pagination-links a:hover {
294 border-color: var(--g1t-line-strong);
295}
296.pagination-links a .link-title {
297 color: var(--g1t-fg);
298}
299.meta,
300.meta a {
301 font-size: 0.8125rem;
302 color: var(--g1t-faint);
303}
304
Docs in the shape of docs.continue.dev305/* --- Cards ---------------------------------------------------------------- */
Docs worth reading, and kept that way306
Docs in the shape of docs.continue.dev307.sl-markdown-content .card-grid {
308 gap: 0.75rem;
Docs worth reading, and kept that way309}
Docs in the shape of docs.continue.dev310.sl-markdown-content .card {
311 padding: 1.1rem 1.2rem;
Docs worth reading, and kept that way312}
Docs in the shape of docs.continue.dev313.sl-markdown-content .card .title {
314 font-size: 1rem;
315 font-weight: 600;
316 color: var(--g1t-fg);
Docs worth reading, and kept that way317}
Docs in the shape of docs.continue.dev318.sl-markdown-content .card .icon {
Docs worth reading, and kept that way319 color: var(--g1t-merged);
Docs in the shape of docs.continue.dev320 background: color-mix(in srgb, var(--g1t-merged) 12%, transparent);
Docs worth reading, and kept that way321 border: 0;
Docs in the shape of docs.continue.dev322 border-radius: 0.5rem;
323 padding: 0.3rem;
Docs worth reading, and kept that way324}
Docs in the shape of docs.continue.dev325.sl-link-card {
326 padding: 1rem 1.2rem;
Docs worth reading, and kept that way327}
Docs in the shape of docs.continue.dev328.sl-link-card .title {
Docs worth reading, and kept that way329 font-size: 0.95rem;
Docs in the shape of docs.continue.dev330 font-weight: 600;
Docs worth reading, and kept that way331 color: var(--g1t-fg);
332}
Docs in the shape of docs.continue.dev333.sl-link-card .description {
Docs worth reading, and kept that way334 font-size: 0.85rem;
335 color: var(--g1t-muted);
336}
Docs in the shape of docs.continue.dev337
338/* Steps: numbered, on a quiet rail. */
339.sl-steps > li::before {
340 background: var(--g1t-raised) !important;
341 color: var(--g1t-fg) !important;
342 box-shadow: inset 0 0 0 1px var(--g1t-line-strong);
Docs worth reading, and kept that way343 font-family: var(--g1t-font-mono);
344 font-size: 0.8rem;
345}
Docs in the shape of docs.continue.dev346.sl-steps > li::after {
347 background: var(--g1t-line) !important;
Docs as their own app; shared theme package348}
Merge branch 'worktree-agent-ab2e39e11a6493412'349
350/* --- API reference -------------------------------------------------------- */
351
352/* An operation's method and path, at the top of its page. */
353.sl-markdown-content .g1t-endpoint {
354 display: flex;
355 align-items: center;
356 gap: 0.75rem;
357 overflow-x: auto;
358 border: 1px solid var(--g1t-line);
359 border-radius: 0.75rem;
360 padding: 0.7rem 0.9rem;
361 background: var(--g1t-surface);
362}
363.sl-markdown-content .g1t-endpoint code {
364 padding: 0;
365 background: transparent;
366 font-size: 0.875rem;
367 white-space: nowrap;
368 color: var(--g1t-fg);
369}
370/* Methods: the same small mono tag in the sidebar and on the page. */
371.g1t-method {
372 --method: var(--g1t-muted);
373 flex-shrink: 0;
374 border: 0 !important;
375 border-radius: 0.3rem;
376 padding: 0.05rem 0.4rem;
377 background: color-mix(in srgb, var(--method) 14%, transparent) !important;
378 color: var(--method) !important;
379 font-family: var(--g1t-font-mono);
380 font-size: 0.7rem;
381 font-weight: 600;
382 letter-spacing: 0.02em;
383}
384.g1t-method-get,
385.g1t-method[data-method='get'] {
386 --method: var(--g1t-accent);
387}
388.g1t-method-post,
389.g1t-method[data-method='post'] {
390 --method: var(--g1t-info);
391}
392.g1t-method-put,
393.g1t-method-patch,
394.g1t-method[data-method='put'],
395.g1t-method[data-method='patch'] {
396 --method: var(--g1t-warn);
397}
398.g1t-method-delete,
399.g1t-method[data-method='delete'] {
400 --method: var(--g1t-danger);
401}
402/* In the sidebar the method sits at the end of the row, in a fixed column. */
403.sidebar-content a:has(.g1t-method) {
404 display: flex;
405 justify-content: space-between;
406 align-items: center;
407 gap: 0.5rem;
408}
409.sidebar-content .g1t-method {
410 min-width: 3.1rem;
411 text-align: center;
412 font-size: 0.625rem;
413 line-height: 1.6;
414}

This file's history is long; its oldest lines are credited to the oldest commit read.