diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml index 993ee60..8a0a819 100644 --- a/.github/workflows/pages.yml +++ b/.github/workflows/pages.yml @@ -8,7 +8,10 @@ on: branches: [main] paths: - "site/**" + - "scripts/render_contributors.py" - ".github/workflows/pages.yml" + schedule: + - cron: "0 6 * * 1" # weekly, so the contributors list stays current workflow_dispatch: permissions: @@ -31,6 +34,11 @@ jobs: steps: - uses: actions/checkout@v4 + - name: Render contributors + run: python3 scripts/render_contributors.py ${{ github.repository }} + env: + GH_TOKEN: ${{ github.token }} + - uses: actions/configure-pages@v5 - uses: actions/upload-pages-artifact@v3 diff --git a/README.md b/README.md index a813e8d..016affa 100644 --- a/README.md +++ b/README.md @@ -1,137 +1,100 @@

- minilake — Local Databricks API Emulator + minilake

MiniLake

-

Free, open-source local Databricks emulator for offline development and testing.

-

Real SQL & Spark execution · Unity Catalog hierarchy · Databricks SDK compatible · Terraform compatible · MIT licensed

- GitHub release CI - Release - GHCR image + Release License - Python

-

- Website · Documentation · GitHub · Container Image (GHCR) -

+MiniLake is a local emulator of the Databricks REST API, for developing and testing +`databricks-sdk`, CLI and Terraform code without a workspace. ---- +SQL statements run on DuckDB. EXTERNAL Delta tables are Parquet files with a `_delta_log/`, +and writes to them go through a generated Spark job. Jobs run `spark-submit` in a sibling +Docker container. Everything else in the API is either stored and read back, or answers +`501 NOT_IMPLEMENTED`. It is meant for one developer on localhost, not as a shared server. -**MiniLake** is a free, local Databricks API emulator — a single-developer tool for testing -`databricks-sdk`/Terraform code against real SQL, real Delta Lake, and real Job execution, -without paying for cloud compute. +Website: -## Quick Start +## Run it ```bash -# Option 1: PyPI pip install minilake minilake --port 8000 -# Option 2: GitHub Container Registry +# or docker run -p 8000:8000 ghcr.io/dmux/minilake:latest -# Option 3: Clone and build -git clone https://github.com/dmux/minilake && cd minilake -docker compose up -d - -# Verify (any option) curl http://localhost:8000/_minilake/health ``` -Then open **** for the built-in SQL workspace — an -Athena-style query editor with a data catalog, saved queries and query history -([details](https://github.com/dmux/minilake/blob/main/docs/ui.md)). - -No account, no API key, no sign-up — and the container image downloads nothing at runtime: -DuckDB's `delta` extension and the Delta / Unity Catalog Spark jars are baked in at build -time, so it works air-gapped ([details](https://github.com/dmux/minilake/blob/main/docs/getting-started.md#offline-use)). +The web SQL editor is at . Any token is accepted. The image +downloads nothing at runtime, so it also works offline +([details](https://github.com/dmux/minilake/blob/main/docs/getting-started.md#offline-use)). -Then point any Databricks client at it: +## Use it ```python from databricks.sdk import WorkspaceClient w = WorkspaceClient(host="http://localhost:8000", token="dev") -w.catalogs.create(name="vendas") -``` +w.catalogs.create(name="sales") +w.schemas.create(name="store", catalog_name="sales") +wh = w.warehouses.create(name="dev", cluster_size="Small") + +def sql(statement): + return w.statement_execution.execute_statement(warehouse_id=wh.id, statement=statement) -More in [Getting Started](https://github.com/dmux/minilake/blob/main/docs/getting-started.md). +sql("CREATE TABLE sales.store.orders (id BIGINT, customer VARCHAR)") +sql("INSERT INTO sales.store.orders VALUES (1, 'Ana')") +print(sql("SELECT * FROM sales.store.orders").result.data_array) # [[1, 'Ana']] +``` ## Documentation -| | | -|---|---| -| [Getting Started](https://github.com/dmux/minilake/blob/main/docs/getting-started.md) | Install, first catalog and query, internal endpoints | -| [Web UI](https://github.com/dmux/minilake/blob/main/docs/ui.md) | The built-in SQL workspace at `/ui` | -| [Configuration](https://github.com/dmux/minilake/blob/main/docs/configuration.md) | Every environment variable, persistence, HTTPS/TLS | -| [Databricks SDK](https://github.com/dmux/minilake/blob/main/docs/databricks-sdk.md) | Unity Catalog, warehouses, SQL and jobs from Python | -| [Terraform & Asset Bundles](https://github.com/dmux/minilake/blob/main/docs/terraform.md) | The provider, and `bundle deploy` / `bundle run` | -| [Spark & Delta Lake](https://github.com/dmux/minilake/blob/main/docs/spark-and-delta.md) | Real Delta files, real Spark jobs, `spark.table()` by name | -| **[MCP Server](https://github.com/dmux/minilake/blob/main/docs/mcp/index.md)** | **67 tools for LLM agents — [examples](https://github.com/dmux/minilake/blob/main/docs/mcp/examples.md), [tool reference](https://github.com/dmux/minilake/blob/main/docs/mcp/tools.md), [troubleshooting](https://github.com/dmux/minilake/blob/main/docs/mcp/troubleshooting.md)** | -| [Testing & development](https://github.com/dmux/minilake/blob/main/docs/testing.md) | Running the suite, adding an API group | -| [Releases & CI/CD](https://github.com/dmux/minilake/blob/main/docs/releases.md) | How a tag becomes a published image | -| [Feature status](https://github.com/dmux/minilake/blob/main/FEATURES.md) | Endpoint-by-endpoint status and design rationale | -| [API coverage](https://github.com/dmux/minilake/blob/main/docs/CLI_COVERAGE.md) | Measured: every SDK endpoint probed through the real `databricks` CLI | -| [Emulation roadmap](https://github.com/dmux/minilake/blob/main/docs/EMULATION_ROADMAP.md) | What is worth building next, with measured gap counts | - -## Supported Services - -| Service | Status | Notes | -|---|---|---| -| **Unity Catalog** (catalogs, schemas, tables, volumes, functions) | ✅ Real | Each catalog = its own DuckDB database (`ATTACH`), native `catalog.schema.table` addressing; a SQL function becomes a real DuckDB macro, callable by its three-part name | -| **Unity Catalog metastore** | ✅ Real | One synthetic metastore: `current-metastore-assignment`, `metastore_summary`, list/get | -| **EXTERNAL Delta Tables** | ✅ Real | Real Delta files; `INSERT`/`UPDATE`/`DELETE` via a generated Spark job, reads via `delta_scan()` | -| **SQL Statement Execution** | ✅ Real | Real DuckDB; `JSON_ARRAY`/`ARROW_STREAM`/`CSV`, `INLINE`/`EXTERNAL_LINKS`; result manifest carries column types | -| **SQL Warehouses** | ✅ Real | Full CRUD + lifecycle | -| **Query History** | ✅ Real | `w.query_history.list()` over everything executed, failures included | -| **Saved Queries** | ✅ Real | `w.queries.*` CRUD with `update_mask` | -| **Alerts** | ✅ Real | `w.alerts.*` CRUD; conditions are really evaluated against query results, and back `sql_task.alert` | -| **Web UI** | ✅ Real | Athena-style SQL workspace at `/ui` — see [Web UI](https://github.com/dmux/minilake/blob/main/docs/ui.md) | -| **Jobs** | ✅ Real | Sibling Docker container execution (Spark) or subprocess fallback; real DAG scheduling (`depends_on`/`run_if`); `runs/submit` one-shot runs; `sql_task.file`/`.query`/`.alert` all execute for real | -| **Workspace** | ✅ Real | File-backed notebook/script storage; raw-bytes `workspace-files` sync powers `databricks bundle deploy` / `bundle run` | -| **DBFS & Files API** | ✅ Real | File-backed storage, chunked upload | -| **Secrets** | ✅ Real | Real CRUD; values only resolvable inside job env vars, never via direct API (matches real Databricks). Scope ACLs are stored and read back, never enforced | -| **Clusters** | ✅ Real state machine | CRUD + timed lifecycle transitions, `update`/`pin`/`unpin`; **no real Spark compute** (by design) | -| **Cluster policies & instance pools** | ✅ Real CRUD | Resolve and validate against clusters; never enforced — there is no compute to constrain | -| **Permissions** | ✅ Real CRUD | Single-user "allow-all" default (by design — see Gaps) | -| **UC Grants** | ✅ Real CRUD | `w.grants.*` and `databricks_grants`, with real privilege **inheritance** (a catalog grant is effective on its schemas and tables); never enforced | -| **Workspace admin** | ✅ Real CRUD | Git credentials, IP access lists, global init scripts, notification destinations, instance profiles, `workspace-conf` — stored and read back, never enforced | -| **Legacy SQL (`preview/sql`)** | ✅ Real | Queries, alerts, dashboards, widgets, visualizations, data sources — adapters over the modern stores, so both surfaces see one object | -| **Identity & SCIM** | ✅ Real CRUD | Current user, plus Users/Groups/ServicePrincipals CRUD, SCIM `PATCH` and filtering. Identities are records, not credentials — see Gaps | -| **Tokens** | ✅ Real | `w.tokens.*`; the value is returned once, as in the real API — but authenticates nothing | -| **Persistence** (`MINILAKE_PERSIST=1`) | ✅ Real | JSON snapshot on shutdown, restored on startup | -| **Unity Catalog protocol for Spark** | ✅ Real | `spark.table("cat.sch.tbl")` resolves against minilake — see [Spark & Delta Lake](https://github.com/dmux/minilake/blob/main/docs/spark-and-delta.md#reading-by-name-with-unity-catalog) | -| **JupyterLab + PySpark + Delta** (optional) | ✅ Real | `docker compose --profile notebook up` | -| **MCP Server** (optional, `MINILAKE_MCP=1`) | ✅ Real | 67 tools + resources + prompts at `/mcp` — see [MCP Server](https://github.com/dmux/minilake/blob/main/docs/mcp/index.md) | -| Repos, multi-language notebooks, DBT/pipeline tasks, DLT, Model Registry, Vector Search, Lakeview/Genie, Delta Sharing | 🚫 Not implemented | Returns `501 NOT_IMPLEMENTED`. For the measured picture, see [API coverage](https://github.com/dmux/minilake/blob/main/docs/CLI_COVERAGE.md) | +- [Getting started](https://github.com/dmux/minilake/blob/main/docs/getting-started.md) +- [Configuration](https://github.com/dmux/minilake/blob/main/docs/configuration.md): environment variables, persistence, TLS +- [Databricks SDK](https://github.com/dmux/minilake/blob/main/docs/databricks-sdk.md) +- [Terraform and Asset Bundles](https://github.com/dmux/minilake/blob/main/docs/terraform.md) +- [Spark and Delta Lake](https://github.com/dmux/minilake/blob/main/docs/spark-and-delta.md) +- [Web UI](https://github.com/dmux/minilake/blob/main/docs/ui.md) +- [MCP server](https://github.com/dmux/minilake/blob/main/docs/mcp/index.md): optional, `MINILAKE_MCP=1`, for LLM agents +- [Testing and development](https://github.com/dmux/minilake/blob/main/docs/testing.md) +- [FEATURES.md](https://github.com/dmux/minilake/blob/main/FEATURES.md): status of every service, with design notes +- [API coverage](https://github.com/dmux/minilake/blob/main/docs/CLI_COVERAGE.md): every SDK endpoint probed through the `databricks` CLI +- [Emulation roadmap](https://github.com/dmux/minilake/blob/main/docs/EMULATION_ROADMAP.md) ## Known Gaps -These are **deliberate**, not oversights — minilake targets one developer running it -locally, not a shared or multi-tenant server: - -- **No real authentication** — any token is accepted. SCIM identities and personal access - tokens are records, not credentials: creating a user makes no way to sign in, and - revoking a token locks nobody out. -- **No access-control enforcement** — the Permissions API is real CRUD but always allow-all, - so a test that passes here says nothing about grants in a real workspace. -- **No real Spark compute for Clusters** — state machine only; real compute happens through - Jobs' sibling containers instead. -- **Single process, no HA** — and DuckDB's single-writer model means concurrent load - contends on locks. -- **Uneven test coverage** — `jobs.py`, `sql_statements.py` and `unity_catalog.py` are - covered mostly on happy paths, not edge cases. +These are deliberate. MiniLake targets one developer running it locally. + +- **No authentication.** Any token is accepted. SCIM users and personal access tokens are + records, not credentials. +- **No access control.** The Permissions and Grants APIs store and return what you give + them, and nothing is enforced. A test that passes here says nothing about grants in a + real workspace. +- **The SQL dialect is DuckDB's**, not Spark SQL. +- **Clusters are a state machine.** There is no Spark on them; Spark runs through Jobs. +- **MANAGED tables are DuckDB tables with no files**, so Spark cannot see them. Use EXTERNAL + Delta tables when Spark has to read the data. +- **Single process.** DuckDB is single-writer, so concurrent load serializes on a lock. +- **Not implemented, returns 501:** Repos, DLT, Model Registry, Vector Search, Lakeview and + Genie, Delta Sharing, and non-Python notebook languages. +- **Uneven test coverage.** `jobs.py`, `sql_statements.py` and `unity_catalog.py` are + tested mostly on the happy path. + +MiniLake does not reproduce every quirk of the real service. Tests here run against the +real `databricks-sdk`, and the Terraform provider and `databricks bundle` are exercised +end to end, but a green run locally is not a substitute for a run against Databricks. ## Contributing -See [CONTRIBUTING.md](https://github.com/dmux/minilake/blob/main/CONTRIBUTING.md) for the project structure, how to add a new API -group, and the PR checklist. +See [CONTRIBUTING.md](https://github.com/dmux/minilake/blob/main/CONTRIBUTING.md). ## License -MIT — see [LICENSE](https://github.com/dmux/minilake/blob/main/LICENSE). +MIT. See [LICENSE](https://github.com/dmux/minilake/blob/main/LICENSE). diff --git a/docs/getting-started.md b/docs/getting-started.md index cadb42b..c2f32e0 100644 --- a/docs/getting-started.md +++ b/docs/getting-started.md @@ -110,7 +110,7 @@ result = w.statement_execution.execute_statement( print(result.result.data_array) # [['Ana', '459.90']] ``` -That table is a real DuckDB table and those rows are really stored. More in +The rows live in a DuckDB table inside the catalog's database file. More in [Databricks SDK](databricks-sdk.md). > `data_source_format` and `storage_location` are required positional arguments in the diff --git a/scripts/render_contributors.py b/scripts/render_contributors.py new file mode 100644 index 0000000..6d2cc6b --- /dev/null +++ b/scripts/render_contributors.py @@ -0,0 +1,59 @@ +"""Fill the contributors block in site/index.html from the GitHub API. + +Run by the Pages workflow before the site is uploaded. Bots are skipped and the +block holds avatars only. The markup between the two markers is also committed, +so the page still shows people when previewed locally. + + GH_TOKEN=... python3 scripts/render_contributors.py [owner/repo] +""" + +import html +import json +import re +import subprocess +import sys +from pathlib import Path + +PAGE = Path(__file__).resolve().parent.parent / "site" / "index.html" +START, END = "", "" + + +def fetch(repo: str) -> list[dict]: + out = subprocess.run( + [ + "gh", "api", "--paginate", f"repos/{repo}/contributors", + "--jq", '.[] | select(.type == "User") | {login, html_url, avatar_url}', + ], + check=True, + capture_output=True, + text=True, + ).stdout + # --jq prints one compact JSON object per line, across all pages. + return [json.loads(line) for line in out.splitlines() if line.strip()] + + +def render(people: list[dict]) -> str: + links = "\n".join( + f' ' + f'{html.escape(p[' + for p in people + ) + return f"{START}\n{links}\n {END}" + + +def main() -> None: + repo = sys.argv[1] if len(sys.argv) > 1 else "dmux/minilake" + people = fetch(repo) + if not people: + sys.exit("no contributors returned; leaving the page untouched") + page = PAGE.read_text() + pattern = re.compile(re.escape(START) + r".*?" + re.escape(END), re.S) + if not pattern.search(page): + sys.exit(f"markers not found in {PAGE}") + PAGE.write_text(pattern.sub(lambda _: render(people), page, count=1)) + print(f"rendered {len(people)} contributors") + + +if __name__ == "__main__": + main() diff --git a/site/README.md b/site/README.md index 8cd07fd..4cf9a79 100644 --- a/site/README.md +++ b/site/README.md @@ -40,4 +40,5 @@ an inline ` -MiniLake — The Databricks API, running on your laptop - +MiniLake — a local Databricks API emulator + - - + + - - + + @@ -196,7 +196,6 @@ .brand{display:flex;flex:none;align-items:center;gap:11px;font-weight:800;font-size:19px;color:var(--ink);letter-spacing:-.035em} .brand:hover{color:var(--ink)} .brand img{width:32px;height:32px} -.brand .v{font:500 11px/1 "JetBrains Mono",monospace;letter-spacing:0;color:var(--blue);background:var(--blue-soft);border:1px solid var(--blue-line);padding:4px 7px;border-radius:999px;margin-left:2px} .nav-links{display:flex;gap:26px;margin-left:auto;align-items:center} .nav-links a{color:var(--text-muted);font-size:15px;font-weight:500} .nav-links a:hover{color:var(--ink)} @@ -233,6 +232,8 @@ .hero-grid{display:grid;grid-template-columns:minmax(0,1.22fr) minmax(0,.78fr);gap:48px;align-items:center} .eyebrow{display:inline-flex;align-items:center;gap:9px;font-size:13px;font-weight:600;color:var(--navy-2);background:var(--surface);border:1px solid var(--line);border-radius:999px;padding:6px 14px 6px 8px;box-shadow:var(--shadow-sm)} .eyebrow .dot{width:7px;height:7px;border-radius:50%;background:var(--orange);box-shadow:0 0 0 4px var(--orange-soft)} +.os-line{margin-top:22px;font-size:17px;font-weight:600;color:var(--ink)} +.os-line span{color:var(--orange-ink)} h1{font-size:clamp(32px,5.2vw,56px);font-weight:800;margin:22px 0 0;letter-spacing:-.04em} h1 .grad{background:linear-gradient(96deg,var(--blue) 10%,var(--orange) 92%);-webkit-background-clip:text;background-clip:text;color:transparent} .lede{margin-top:20px;font-size:19px;color:var(--text-muted);max-width:36em} @@ -256,20 +257,8 @@ .copy.done{color:#7BE1A6;border-color:#2C5C42} /* ---------- trust strip ---------- */ -.trust{border-block:1px solid var(--line-soft);background:linear-gradient(180deg,var(--surface),var(--surface-2))} -.trust-inner{display:flex;align-items:center;gap:14px 30px;flex-wrap:wrap;padding:22px 0} -.trust-label{font-size:12px;letter-spacing:.1em;text-transform:uppercase;font-weight:700;color:var(--text-faint)} -.trust-items{display:flex;flex-wrap:wrap;gap:10px 22px} -.trust-items span{font-size:14.5px;font-weight:600;color:var(--navy-2);display:inline-flex;align-items:center;gap:8px} -.trust-items span::before{content:"";width:5px;height:5px;border-radius:50%;background:var(--line-strong)} /* ---------- stats ---------- */ -.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;border:1px solid var(--line);border-radius:var(--radius-lg);overflow:hidden;background:var(--surface);box-shadow:var(--shadow-sm)} -.stat{padding:28px 26px;border-right:1px solid var(--line-soft)} -.stat:last-child{border-right:0} -.stat b{display:block;font-size:34px;font-weight:800;letter-spacing:-.04em;color:var(--navy);line-height:1.1} -.stat b em{font-style:normal;color:var(--orange)} -.stat span{display:block;margin-top:6px;font-size:14.5px;color:var(--text-muted);line-height:1.45} /* ---------- section heads ---------- */ .head{max-width:760px;margin-bottom:52px} @@ -288,9 +277,6 @@ .card h3{font-size:17.5px;font-weight:700;letter-spacing:-.02em} .card p{margin-top:9px;font-size:15px;color:var(--text-muted);line-height:1.6} .card p code{font-size:13px;background:var(--surface-3);border:1px solid var(--line-soft);border-radius:5px;padding:1px 5px;color:var(--navy-2)} -.tagline{display:inline-block;margin-top:14px;font:600 12px/1 "Inter",sans-serif;color:var(--ok-ink);background:var(--ok-bg);border:1px solid var(--ok-line);border-radius:999px;padding:5px 10px} -.tagline.blue{color:var(--blue);background:var(--blue-soft);border-color:var(--blue-line)} -.tagline.orange{color:var(--orange-ink);background:var(--orange-soft);border-color:var(--orange-line)} /* ---------- code tabs ---------- */ .tabs{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:16px} @@ -311,7 +297,8 @@ .tok-k{color:#79B0FF} .tok-f{color:#8FE1C0} .tok-n{color:#C6A9FF} -.split{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.25fr);gap:44px;align-items:center} +.split{display:grid;grid-template-columns:minmax(0,1fr);gap:36px} +#code .checks{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 36px} .checks{display:grid;grid-template-columns:minmax(0,1fr);gap:14px;margin-top:26px;padding:0;list-style:none} .checks code,.card p code,.desc code,.note code,.lede code,.hero-note code{overflow-wrap:anywhere} .checks li{display:flex;gap:12px;font-size:15.5px;color:var(--text-muted);line-height:1.55} @@ -340,8 +327,8 @@ .band .kicker{color:#FFB36B} .band h2{font-size:clamp(25px,3.4vw,40px);font-weight:800;margin-top:14px} .band p{color:#B8CBE8;margin-top:16px;font-size:17.5px;max-width:52ch} -.band-grid{display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);gap:44px;align-items:center} -.tool-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:28px;padding:0;list-style:none} +.band-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:36px} +.tool-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:28px;padding:0;list-style:none} .tool-list li{background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.12);border-radius:10px;padding:11px 13px;font:500 13px/1.4 "JetBrains Mono",monospace;color:#DCE7F8} .tool-list li em{display:block;font:400 12px/1.45 "Inter",sans-serif;font-style:normal;color:#93AACD;margin-top:5px} .band .window{box-shadow:0 30px 70px -30px rgba(0,0,0,.7)} @@ -363,17 +350,14 @@ /* ---------- honest ---------- */ .honest{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px} .honest .card{background:var(--surface-2)} +.contribs{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:34px} +.contribs a{display:block;border-radius:50%;line-height:0;box-shadow:0 0 0 2px var(--bg),0 0 0 3px var(--line-strong);transition:transform .15s} +.contribs a:hover{transform:translateY(-2px)} +.contribs img{width:48px;height:48px;border-radius:50%;object-fit:cover;background:var(--surface-3)} +.contribs-note{margin-top:14px;font-size:14.5px;color:var(--text-muted)} .honest .card h3{font-size:16.5px} -.note{margin-top:26px;font-size:15px;color:var(--text-muted);border-left:3px solid var(--orange);padding-left:16px;max-width:70ch} /* ---------- cta ---------- */ -.cta{background:linear-gradient(150deg,#0C2340,#153A73);color:#fff;border:1px solid var(--panel-line);border-radius:26px;padding:64px 56px;text-align:center;position:relative;overflow:hidden;box-shadow:var(--shadow-lg)} -.cta::before{content:"";position:absolute;inset:-60% 30% auto 30%;height:420px;background:radial-gradient(circle,rgba(10,85,208,.5),transparent 65%)} -.cta > *{position:relative;z-index:1} -.cta img{width:76px;height:76px;margin:0 auto 24px;background:#fff;border-radius:20px;padding:11px;box-shadow:0 14px 34px -12px rgba(0,0,0,.55)} -.cta h2{font-size:clamp(26px,3.6vw,42px);font-weight:800} -.cta p{color:#B8CBE8;margin-top:16px;font-size:18px;max-width:56ch;margin-inline:auto} -.cta .hero-actions{justify-content:center;margin-top:30px} /* ---------- footer ---------- */ .ftr{border-top:1px solid var(--line);padding:56px 0 44px;background:var(--bg-alt)} @@ -410,22 +394,18 @@ .hero-art{order:-1} .hero-art img{width:190px} .grid,.honest{grid-template-columns:repeat(2,minmax(0,1fr))} - .split,.band-grid{grid-template-columns:minmax(0,1fr);gap:32px} - .stats{grid-template-columns:repeat(2,minmax(0,1fr))} - .stat:nth-child(2){border-right:0} - .stat:nth-child(1),.stat:nth-child(2){border-bottom:1px solid var(--line-soft)} + .tool-list{grid-template-columns:repeat(2,minmax(0,1fr))} .band,.cta{padding:40px 28px} .ftr-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px} } @media (max-width:720px){ + #code .checks{grid-template-columns:minmax(0,1fr)} body{font-size:16px} .section{padding:68px 0} .section--tight{padding:56px 0} .wrap{padding-inline:20px} .nav-links{padding-inline:20px} - .grid,.honest,.stats,.tool-list{grid-template-columns:minmax(0,1fr)} - .stat{border-right:0;border-bottom:1px solid var(--line-soft);padding:22px 20px} - .stat:last-child{border-bottom:0} + .grid,.honest,.tool-list{grid-template-columns:minmax(0,1fr)} .hero{padding:56px 0} .hero-art img{width:150px} .head{margin-bottom:36px} @@ -436,7 +416,6 @@ .hero-actions .btn{flex:1 1 auto;justify-content:center} pre{font-size:12.6px;padding:18px} .band,.cta{padding:32px 22px;border-radius:20px} - .cta{padding-block:44px} .arch{padding:22px 16px} /* the coverage table becomes stacked cards rather than a 680px side-scroller */ .table-wrap{overflow-x:visible} @@ -458,7 +437,6 @@ once the version pill and the button label step aside */ .nav{gap:10px} .brand{font-size:17px} - .brand .v{display:none} .nav-cta .btn{padding:9px 11px} .nav-cta .btn-primary .btn-label{display:none} .nav-cta .btn svg{margin-inline:1px} @@ -484,13 +462,14 @@