/* proc website Colours come from proc's own terminal: the Catppuccin palette the demo is recorded in, the blue of the prompt's path and the pink of its chevron. Code blocks are always the dark "terminal", in light and dark mode alike. */ :root { /* page */ --paper: #f4f5f9; --paper-raised: #ffffff; --paper-sunk: #e8ebf2; --ink: #23263a; --ink-soft: #4c4f69; --muted: #6c6f85; --rule: #d5d9e3; --link: #1e5fd9; --link-hover: #0f43a8; --chevron: #c8338f; --target: #a35f00; /* the reader's target yellow, darkened to 4.6:1 on paper */ --focus: #1e5fd9; --mark: rgba(30, 95, 217, 0.08); /* terminal (Catppuccin Mocha, as in the demo) */ --term: #1e1e2e; --term-edge: #313244; --term-text: #cdd6f4; --term-muted: #9399b2; --term-path: #89b4fa; --term-chevron: #f5c2e7; --syn-keyword: #cba6f7; --syn-string: #a6e3a1; --syn-comment: #8a8fa8; --syn-function: #89b4fa; --syn-number: #fab387; --syn-operator: #89dceb; --syn-type: #f9e2af; --syn-variable: #f38ba8; /* process status, the colours proc itself prints */ --running: #40a02b; --sleeping: #1e66f5; --stopped: #df8e1d; --font-text: "Atkinson Hyperlegible Next", "Atkinson Hyperlegible", -apple-system, "Segoe UI", sans-serif; --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace; --measure: 42rem; --wide: 72rem; --radius: 10px; } @media (prefers-color-scheme: dark) { :root { --paper: #181825; --paper-raised: #1e1e2e; --paper-sunk: #11111b; --ink: #e2e6f6; --ink-soft: #bac2de; --muted: #9399b2; --rule: #313244; --link: #89b4fa; --link-hover: #b4cdfc; --chevron: #f5c2e7; --target: #f9e2af; --focus: #89b4fa; --mark: rgba(137, 180, 250, 0.1); --term: #11111b; --term-edge: #2a2b3c; --running: #a6e3a1; --sleeping: #89b4fa; --stopped: #f9e2af; } } /* ---------- base ---------- */ *, *::before, *::after { box-sizing: border-box; } html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; /* the part of the screen the stuck header covers: site.js sets the real height on one row, and 0 where the header wraps (phones), since there it hides while you scroll down; 4rem is the one-row header without the script */ --header-offset: 4rem; scroll-padding-top: calc(var(--header-offset) + 1.5rem); } body { margin: 0; background: var(--paper); color: var(--ink-soft); font-family: var(--font-text); font-size: 1.0625rem; line-height: 1.6; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } h1, h2, h3, h4 { color: var(--ink); font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; margin: 0; } p { margin: 0; } a { color: var(--link); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.18em; text-decoration-color: color-mix(in srgb, var(--link) 40%, transparent); } a:hover { color: var(--link-hover); text-decoration-color: currentColor; } :focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 4px; } strong { color: var(--ink); font-weight: 700; } code, kbd, pre { font-family: var(--font-mono); } ::selection { background: color-mix(in srgb, var(--link) 25%, transparent); } .skip-link { position: absolute; left: 1rem; top: -3rem; padding: 0.5rem 0.9rem; background: var(--ink); color: var(--paper); border-radius: 6px; z-index: 100; } .skip-link:focus { top: 1rem; } /* ---------- header ---------- */ .site-header { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: 1px solid var(--rule); transition: transform 0.25s ease; } @supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .site-header { background: color-mix(in srgb, var(--paper) 85%, transparent); -webkit-backdrop-filter: blur(12px) saturate(1.4); backdrop-filter: blur(12px) saturate(1.4); } } /* site.js: where the header wraps (phones), it slides away while you scroll down and comes back when you scroll up */ .site-header.is-tucked { transform: translateY(-100%); } .site-header.is-tucked:focus-within { transform: none; } .header-inner { max-width: var(--wide); margin: 0 auto; padding: 0.9rem 1.25rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; } .wordmark { font-family: var(--font-mono); font-weight: 700; font-size: 1.2rem; color: var(--ink); text-decoration: none; letter-spacing: -0.02em; } .wordmark:hover { color: var(--ink); } .wordmark-prompt { color: var(--chevron); margin-right: 0.35em; } .site-nav { display: flex; align-items: center; gap: 0.25rem 1.1rem; flex-wrap: wrap; font-size: 0.97rem; } .site-nav a { color: var(--ink-soft); text-decoration: none; padding: 0.2rem 0; border-bottom: 2px solid transparent; } .site-nav a:hover { color: var(--ink); } .site-nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--chevron); } .site-nav .version { font-family: var(--font-mono); font-size: 0.82rem; padding: 0.15rem 0.55rem; border: 1px solid var(--rule); border-radius: 999px; color: var(--ink-soft); } .site-nav .version[aria-current="page"] { border-color: var(--chevron); } .nav-github { display: inline-flex; color: var(--ink-soft); } .nav-github svg { display: block; } /* ---------- page shells ---------- */ .site-main { padding: 0 1.25rem; } .page { max-width: var(--measure); margin: 0 auto; padding: 3.25rem 0 5rem; } .page-docs { max-width: var(--wide); display: grid; grid-template-columns: 13.5rem minmax(0, var(--measure)); gap: 4rem; justify-content: center; } .page-header { margin-bottom: 2.25rem; } .page-header h1 { font-size: clamp(2rem, 4.5vw, 2.6rem); letter-spacing: -0.02em; } .page-commands .page-header h1 { font-family: var(--font-mono); font-weight: 700; letter-spacing: -0.03em; } .page-lede { margin-top: 0.85rem; font-size: 1.2rem; line-height: 1.5; color: var(--muted); max-width: 36rem; } /* ---------- docs sidebar ---------- */ .page-aside { position: sticky; top: calc(var(--header-offset) + 1.5rem); align-self: start; max-height: calc(100vh - var(--header-offset) - 3rem); overflow-y: auto; padding-top: 0.6rem; } .docs-nav { font-size: 0.95rem; } .docs-nav ul { list-style: none; margin: 0 0 1.25rem; padding: 0; } .docs-nav a { display: block; padding: 0.22rem 0.6rem; margin-left: -0.6rem; border-radius: 6px; color: var(--ink-soft); text-decoration: none; font-family: var(--font-mono); font-size: 0.88rem; } .docs-nav a:hover { background: var(--paper-sunk); color: var(--ink); } .docs-nav a[aria-current="page"], .docs-nav a[aria-current="location"] { background: var(--paper-sunk); color: var(--ink); font-weight: 700; } .docs-nav .docs-nav-all { font-family: var(--font-text); font-size: 0.95rem; margin-bottom: 0.9rem; } .docs-nav-proc { color: var(--muted); font-weight: 400; } .docs-nav-ref a { font-family: var(--font-text); font-size: 0.92rem; } /* changelog: version on the left, release date on the right */ .page-changelog .docs-nav li a { display: flex; justify-content: space-between; align-items: baseline; gap: 0.75rem; } .docs-nav-date { font-family: var(--font-text); font-size: 0.8rem; font-weight: 400; color: var(--muted); white-space: nowrap; } .docs-nav-group { margin: 0 0 0.35rem; font-size: 0.85rem; font-weight: 700; color: var(--muted); } /* ---------- prose ---------- */ .prose { font-size: 1.125rem; line-height: 1.65; } .prose > * + * { margin-top: 1.15rem; } .prose h2 { font-size: 1.55rem; margin-top: 3rem; padding-top: 0.25rem; } .prose h3 { font-size: 1.22rem; margin-top: 2.25rem; } .prose h4 { font-size: 1.05rem; margin-top: 1.75rem; } .prose h2 + *, .prose h3 + *, .prose h4 + * { margin-top: 0.85rem; } .prose ul, .prose ol { padding-left: 1.4rem; } .prose li + li { margin-top: 0.45rem; } .prose li > ul, .prose li > ol { margin-top: 0.45rem; } .prose li::marker { color: var(--muted); } .prose blockquote { margin-left: 0; padding-left: 1.1rem; border-left: 3px solid var(--rule); color: var(--muted); } .prose hr { border: 0; border-top: 1px solid var(--rule); margin: 3rem 0; } .prose img, .prose video { max-width: 100%; height: auto; border-radius: var(--radius); } .heading-anchor { margin-left: 0.4rem; color: var(--muted); text-decoration: none; font-weight: 400; opacity: 0; } h2:hover .heading-anchor, h3:hover .heading-anchor, .heading-anchor:focus { opacity: 1; } /* inline code */ :not(pre) > code { font-size: 0.86em; padding: 0.12em 0.38em; border-radius: 5px; background: var(--paper-sunk); color: var(--ink); white-space: nowrap; } /* inline code wraps only between its words, on every screen, so a flag such as --json never splits at its hyphen and a long message or pipeline never widens the page; only a single word too long for any line (a path, a URL) breaks inside. site.js marks the words */ :not(pre) > code.code-words { white-space: normal; } :not(pre) > code .word { white-space: nowrap; } :not(pre) > code.code-long, :not(pre) > code .word-long { white-space: normal; overflow-wrap: anywhere; } /* ---------- code blocks: the terminal ---------- */ /* kramdown wraps every fenced block in div.highlighter-rouge > div.highlight > pre */ .prose .highlighter-rouge, .prose > pre, .term { position: relative; margin-top: 1.4rem; margin-bottom: 1.4rem; } .prose > .highlighter-rouge + *, .prose > pre + * { margin-top: 1.4rem; } pre { margin: 0; padding: 1.05rem 1.25rem; /* A line that runs past the edge shows a glow on the side it continues: the glows stay at the edges (scroll), and covers in the background colour travel with the text (local) and hide each glow once its end of the line is reached. No script; every browser. */ background: linear-gradient(to right, var(--term) 50%, transparent) left / 4rem 100% no-repeat local, linear-gradient(to left, var(--term) 50%, transparent) right / 4rem 100% no-repeat local, linear-gradient(to right, color-mix(in srgb, var(--term-text) 18%, transparent), transparent) left / 2rem 100% no-repeat scroll, linear-gradient(to left, color-mix(in srgb, var(--term-text) 18%, transparent), transparent) right / 2rem 100% no-repeat scroll, var(--term); color: var(--term-text); border: 1px solid var(--term-edge); border-radius: var(--radius); font-size: 0.92rem; line-height: 1.65; overflow-x: auto; tab-size: 2; /* A visible scrollbar, where macOS would hide it until a scroll */ scrollbar-width: thin; scrollbar-color: var(--term-edge) transparent; } pre::-webkit-scrollbar { height: 8px; } pre::-webkit-scrollbar-track { background: transparent; } pre::-webkit-scrollbar-thumb { background: var(--term-edge); border-radius: 4px; } pre code { font-size: inherit; background: none; padding: 0; color: inherit; white-space: pre; } /* rouge also puts .highlight on the pre itself, so only clear the wrapper div */ div.highlight { background: none; } /* Commands wrap at the edge instead of hiding the rest of the line, on every screen: a comment or a flag past the edge is otherwise unseen on a phone. site.js gives each line its own box, so a wrapped line keeps a hanging indent and still reads as one command. Output and program code keep their columns and scroll, with the glows above. A block of commands in another language (the /plugin lines Claude Code takes) is marked {: .commands} */ .prose .language-bash pre code, .prose .language-sh pre code, .prose .language-shell pre code, .prose .language-console pre code, .prose .language-bat pre code, .prose .language-powershell pre code, .prose .language-dockerfile pre code, .prose .commands pre code { white-space: pre-wrap; overflow-wrap: anywhere; } pre code .line { display: block; padding-left: 2ch; text-indent: -2ch; } /* a flag or other short token stays whole when its line wraps (a hyphen would otherwise let -t break after its dash); comments and quoted strings (an awk program, a jq filter) still wrap at their spaces, or anywhere */ pre code .line > span:not(.c):not(.c1):not(.cm):not(.ch):not(.cs):not([class^="s"]) { white-space: nowrap; } /* a blank line between commands keeps its height */ pre code .line:empty::before { content: "\200b"; } .highlight .c, .highlight .c1, .highlight .cm, .highlight .cs, .highlight .ch { color: var(--syn-comment); font-style: italic; } .highlight .k, .highlight .kd, .highlight .kn, .highlight .kp, .highlight .kr, .highlight .kc { color: var(--syn-keyword); } .highlight .s, .highlight .s1, .highlight .s2, .highlight .sb, .highlight .sc, .highlight .sh, .highlight .sx, .highlight .se, .highlight .si { color: var(--syn-string); } .highlight .nf, .highlight .fm, .highlight .nb, .highlight .bp { color: var(--syn-function); } .highlight .nc, .highlight .nn, .highlight .na, .highlight .nt, .highlight .kt { color: var(--syn-type); } .highlight .m, .highlight .mi, .highlight .mf, .highlight .mh, .highlight .mo, .highlight .il { color: var(--syn-number); } .highlight .o, .highlight .ow, .highlight .p { color: var(--syn-operator); } .highlight .nv, .highlight .vi, .highlight .vg, .highlight .vc { color: var(--syn-variable); } .highlight .n, .highlight .w { color: var(--term-text); } .highlight .err { color: var(--syn-variable); } .highlight .gp { color: var(--term-chevron); } .highlight .go { color: var(--term-muted); } /* copy button, added by site.js */ .copy-button { position: absolute; top: 0.55rem; right: 0.55rem; padding: 0.25rem 0.6rem; font: 500 0.78rem/1.4 var(--font-text); color: var(--term-muted); background: var(--term); border: 1px solid var(--term-edge); border-radius: 6px; cursor: pointer; opacity: 0; } .highlighter-rouge:hover .copy-button, .term:hover .copy-button, pre:hover + .copy-button, .copy-button:focus-visible, .copy-button.is-copied { opacity: 1; } .copy-button:hover { color: var(--term-text); } .copy-button.is-copied { color: var(--syn-string); } @media (hover: none) { .copy-button { opacity: 1; } } /* ---------- FAQ ---------- */ .faq-index ul { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--rule); } .faq-index li { margin: 0; border-bottom: 1px solid var(--rule); } .faq-index li + li { margin-top: 0; } .faq-index a { display: block; padding: 0.55rem 0; color: var(--ink); text-decoration: none; font-size: 1.02rem; } .faq-index a:hover { color: var(--link); } .prose .faq-item { margin-top: 3.25rem; } .prose .faq-item h2 { margin-top: 0; font-size: 1.35rem; } .prose .faq-item > * + * { margin-top: 1rem; } .prose .faq-item .highlighter-rouge { margin: 1.25rem 0; } /* ---------- tables ---------- */ .prose table { width: 100%; border-collapse: collapse; font-size: 0.98rem; line-height: 1.5; margin-top: 1.4rem; margin-bottom: 1.4rem; } .prose th, .prose td { text-align: left; vertical-align: top; padding: 0.6rem 0.75rem 0.6rem 0; border-bottom: 1px solid var(--rule); } .prose th { color: var(--ink); font-weight: 700; border-bottom-width: 2px; } .prose tr:last-child td { border-bottom: 0; } /* aliases and short flags stay on one line; the rest of the cell wraps (the whole column used to stay on one line, which made the exit code table twice the width of the screen) */ .page-commands .prose td:nth-child(2) code { white-space: nowrap; } /* a table wider than the column scrolls inside its own box, on every screen, never the page; site.js puts each table in one */ .prose .table-scroll { overflow-x: auto; margin-top: 1.4rem; margin-bottom: 1.4rem; /* the same edge glows as a code block that scrolls, in the page colours */ background: linear-gradient(to right, var(--paper) 50%, transparent) left / 3rem 100% no-repeat local, linear-gradient(to left, var(--paper) 50%, transparent) right / 3rem 100% no-repeat local, linear-gradient(to right, color-mix(in srgb, var(--ink) 12%, transparent), transparent) left / 1.25rem 100% no-repeat scroll, linear-gradient(to left, color-mix(in srgb, var(--ink) 12%, transparent), transparent) right / 1.25rem 100% no-repeat scroll, var(--paper); scrollbar-width: thin; scrollbar-color: var(--rule) transparent; } .prose .table-scroll > table { margin: 0; } /* ---------- posts ---------- */ .post-back { display: inline-block; margin-bottom: 1.4rem; font-size: 0.97rem; text-decoration: none; } .post-back::before { content: "\2190"; margin-right: 0.4rem; } .post-meta { margin-top: 1rem; display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 1.25rem; color: var(--muted); font-size: 0.97rem; } .post-author { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--ink); font-weight: 700; text-decoration: none; } .post-author img { border-radius: 50%; } .post-footer { margin-top: 4rem; padding-top: 1.5rem; border-top: 1px solid var(--rule); color: var(--muted); } .post-list { list-style: none; margin: 0; padding: 0; } .post-list li { border-top: 1px solid var(--rule); } .post-list li:last-child { border-bottom: 1px solid var(--rule); } .post-list a { display: grid; grid-template-columns: 1fr auto; gap: 0.3rem 1.5rem; padding: 1.15rem 0; text-decoration: none; color: var(--ink-soft); } .post-list-title { color: var(--ink); font-weight: 700; font-size: 1.12rem; line-height: 1.35; } .post-list a:hover .post-list-title { color: var(--link); } .post-list-date { color: var(--muted); font-size: 0.93rem; white-space: nowrap; padding-top: 0.15rem; } .post-list-desc { grid-column: 1 / -1; color: var(--muted); font-size: 1rem; line-height: 1.5; max-width: 38rem; } /* ---------- home ---------- */ /* one column for the whole home page, so every section shares a left edge */ .home { max-width: 64rem; margin: 0 auto; } .hero { padding: 4.5rem 0 3rem; display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; } .hero-copy { max-width: 46rem; } .hero h1 { font-size: clamp(2.3rem, 6vw, 3.9rem); line-height: 1.05; letter-spacing: -0.035em; } .hero-lede { margin-top: 1.25rem; font-size: clamp(1.15rem, 2vw, 1.35rem); line-height: 1.5; max-width: 38rem; } /* "Target" in the headline wears the same yellow and underline as the target in the reader */ .hero-target { color: var(--target); text-decoration: underline; text-decoration-thickness: 0.07em; text-underline-offset: 0.12em; } /* the command reader: the one loud thing on the page */ .reader { background: var(--term); border: 1px solid var(--term-edge); border-radius: 14px; color: var(--term-text); overflow: hidden; } .reader-line { margin: 0; padding: 1.6rem 1.75rem 0.4rem; font-family: var(--font-mono); font-size: clamp(1.35rem, 4.2vw, 2.6rem); font-weight: 500; letter-spacing: -0.02em; line-height: 1.35; white-space: nowrap; overflow-x: auto; } .reader-line .p-path { color: var(--term-path); } .reader-line .p-chevron { color: var(--term-chevron); margin: 0 0.45em 0 0.35em; } .reader-line .p-verb { color: var(--term-text); } /* the two words you can change: the command in mauve, the target in yellow */ .reader-verb, .reader-target { border-bottom: 3px solid currentColor; padding-bottom: 0.04em; } .reader-verb { color: var(--syn-keyword); } .reader-target { color: var(--syn-type); } .reader-explain { padding: 0.75rem 1.75rem 1.4rem; min-height: 7.5rem; /* fits the longest explanation, so the chips below never jump */ } .reader-explain p { margin: 0; } .reader-explain .explain-does { font-size: 1.12rem; line-height: 1.5; color: var(--term-text); max-width: 52rem; } .reader-explain .explain-rule { margin-top: 0.45rem; font-size: 0.95rem; line-height: 1.5; color: var(--term-muted); } .reader-explain code { background: rgba(205, 214, 244, 0.08); color: var(--term-text); } .reader-picks { display: grid; gap: 0.85rem; padding: 1.1rem 1.75rem 1.4rem; border-top: 1px solid var(--term-edge); } .reader-row { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); align-items: baseline; gap: 0.5rem 1rem; } .reader-label { font-size: 0.9rem; font-weight: 700; } .reader-label-verb { color: var(--syn-keyword); } .reader-label-target { color: var(--syn-type); } .reader-choices { display: flex; flex-wrap: wrap; gap: 0.45rem; } /* the command groups of the sidebar: Discovery on its own row, then Action, a gap, Monitoring */ .reader-break { flex-basis: 100%; height: 0; } .reader-sep { width: 0.6rem; } /* a target such as "--signal HUP" wraps between words, never inside one */ .reader-word { white-space: nowrap; } .reader-choices button { font: 500 0.9rem/1.2 var(--font-mono); color: var(--term-muted); background: transparent; border: 1px solid var(--term-edge); border-radius: 999px; padding: 0.4rem 0.8rem; cursor: pointer; } .reader-choices button:hover { color: var(--term-text); border-color: var(--term-muted); } .reader-choices button.is-none { font-family: var(--font-text); font-style: italic; } .reader-verbs button[aria-pressed="true"] { color: var(--term); background: var(--syn-keyword); border-color: var(--syn-keyword); } .reader-targets button[aria-pressed="true"] { color: var(--term); background: var(--syn-type); border-color: var(--syn-type); } .hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.9rem 1.5rem; } .install-line { position: relative; display: inline-flex; align-items: center; gap: 0.75rem; font-family: var(--font-mono); font-size: 1rem; background: var(--paper-raised); color: var(--ink); border: 1px solid var(--rule); border-radius: var(--radius); padding: 0.7rem 0.8rem 0.7rem 1rem; } .install-line .p-chevron { color: var(--chevron); } .install-line button { font: 500 0.82rem/1.3 var(--font-text); color: var(--ink-soft); background: var(--paper-sunk); border: 0; border-radius: 6px; padding: 0.3rem 0.6rem; cursor: pointer; } .install-line button:hover { color: var(--ink); } .hero-meta { color: var(--muted); font-size: 0.97rem; } /* demo recording */ .demo { margin: 1rem 0 0; } .demo video { display: block; width: 100%; height: auto; border-radius: 14px; background: #11111b; } .demo figcaption { margin-top: 0.8rem; max-width: 44rem; font-size: 0.97rem; color: var(--muted); } /* home sections */ .section { padding: 4.5rem 0 0; } .section > h2 { font-size: clamp(1.6rem, 3vw, 2.05rem); letter-spacing: -0.02em; } .section-lede { margin-top: 0.75rem; max-width: 40rem; font-size: 1.12rem; } /* before and after */ .swap { margin-top: 2rem; border-top: 1px solid var(--rule); } .swap-row { display: grid; grid-template-columns: 11rem minmax(0, 1fr) minmax(0, 15rem); gap: 0.5rem 1.5rem; align-items: baseline; padding: 0.95rem 0; border-bottom: 1px solid var(--rule); } .swap-task { color: var(--ink); font-weight: 700; } .swap-old code { background: none; padding: 0; color: var(--muted); white-space: normal; font-size: 0.9rem; } .swap-new code { background: none; padding: 0; color: var(--ink); font-weight: 500; font-size: 0.98rem; } .swap-new code::before { content: "❯ "; color: var(--chevron); } /* commands overview */ .verbs { margin-top: 2rem; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem; } .verbs h3 { font-size: 1.12rem; } .verbs p { margin-top: 0.4rem; color: var(--muted); font-size: 1rem; } .verbs ul { list-style: none; margin: 1rem 0 0; padding: 0; } .verbs li { padding: 0.32rem 0; border-top: 1px solid var(--rule); } .verbs li:last-child { border-bottom: 1px solid var(--rule); } .verbs a { display: flex; justify-content: space-between; gap: 1rem; text-decoration: none; color: var(--ink-soft); font-size: 0.98rem; } .verbs a code { background: none; padding: 0; color: var(--ink); font-weight: 500; } .verbs a:hover code { color: var(--link); } .verbs a span { color: var(--muted); text-align: right; } /* status dots reuse proc's own colours: observe, act, wait */ .verbs h3::before { content: ""; display: inline-block; width: 0.6rem; height: 0.6rem; border-radius: 50%; margin-right: 0.55rem; vertical-align: 0.08em; } .verbs .v-observe h3::before { background: var(--sleeping); } .verbs .v-act h3::before { background: var(--running); } .verbs .v-wait h3::before { background: var(--stopped); } /* Find out holds most commands, so it spans two columns with its list in two, beside Change it (the same six rows); Keep watching takes the same two columns below it */ .verbs .v-wide { grid-column: span 2; } .verbs .v-wide ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(var(--rows), auto); grid-auto-flow: column; column-gap: 2.5rem; } .verbs .v-wide li { border-top: 0; border-bottom: 1px solid var(--rule); } .verbs .v-wide li:first-child, .verbs .v-wide li.col-top { border-top: 1px solid var(--rule); } .more { margin-top: 1.5rem; } /* agents */ .agents { margin-top: 2rem; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 2.5rem; align-items: start; } .agents ul { margin: 0; padding-left: 1.2rem; } .agents li + li { margin-top: 0.55rem; } .agents .term pre { font-size: 0.86rem; } .agents .term pre code { white-space: pre-wrap; overflow-wrap: anywhere; } /* home: posts */ .home .post-list { margin-top: 1.5rem; } .home-end { padding-bottom: 5rem; } /* ---------- footer ---------- */ .site-footer { border-top: 1px solid var(--rule); font-size: 0.95rem; color: var(--muted); } .footer-inner { max-width: var(--wide); margin: 0 auto; padding: 1.75rem 1.25rem 2.5rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem; } .footer-links { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; } .footer-links a { color: var(--ink-soft); text-decoration: none; } .footer-links a:hover { color: var(--ink); text-decoration: underline; } /* ---------- small screens ---------- */ @media (max-width: 960px) { .page-docs { grid-template-columns: minmax(0, 1fr); gap: 0; } .page-aside { display: none; } .verbs, .agents { grid-template-columns: minmax(0, 1fr); gap: 2rem; } .verbs .v-wide { grid-column: auto; } } @media (max-width: 560px) { .verbs .v-wide ul { display: block; } .verbs .v-wide li.col-top { border-top: 0; } } @media (max-width: 720px) { body { font-size: 1rem; } .prose { font-size: 1.06rem; } .page { padding-top: 2.25rem; } .hero { padding-top: 2.75rem; } .swap-row { grid-template-columns: minmax(0, 1fr); gap: 0.2rem; } .post-list a { grid-template-columns: minmax(0, 1fr); } .install-line { font-size: 0.9rem; } .reader-line, .reader-explain, .reader-picks { padding-left: 1.15rem; padding-right: 1.15rem; } .reader-row { grid-template-columns: minmax(0, 1fr); } .reader-explain { min-height: 13rem; } .reader-explain .explain-does { font-size: 1.02rem; } /* let a long target wrap rather than hide behind a scroll */ .reader-line { white-space: normal; font-size: 1.3rem; } } @media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }