diff --git a/docs/getting-started.md b/docs/getting-started.md index 3152ce8cd..e72b620be 100644 --- a/docs/getting-started.md +++ b/docs/getting-started.md @@ -90,11 +90,11 @@ Framework includes a helper script (`observable create`) for creating new projec To create a new project with npm, run: -
npm init "@observablehq"
+
npm init "@observablehq"
If you prefer Yarn, run: -
yarn create "@observablehq"
+
yarn create "@observablehq"
You can run the above command anywhere, but you may want to `cd` to your `~/Development` directory first (or wherever you do local development). diff --git a/docs/index.md b/docs/index.md index 58955e6f9..67d9e85e0 100644 --- a/docs/index.md +++ b/docs/index.md @@ -110,7 +110,7 @@ index: false

The best dashboards are built with code.

Create fast, beautiful data apps, dashboards, and reports from the command line. Write Markdown, JavaScript, SQL, Python, R… and any language you like. Free and open-source.

-
npm init @observablehq
+
npm init "@observablehq"
Get started
diff --git a/observablehq.config.ts b/observablehq.config.ts index 5ddeab6c0..fb61150df 100644 --- a/observablehq.config.ts +++ b/observablehq.config.ts @@ -92,7 +92,8 @@ export default { ` : "" - }`, + } +`, header: `
diff --git a/src/style/layout.css b/src/style/layout.css index cbdbdc42c..a11b7a951 100644 --- a/src/style/layout.css +++ b/src/style/layout.css @@ -426,11 +426,10 @@ content: "Copied!"; position: absolute; right: calc(100% + 0.25rem); - background: var(--theme-background-alt); + background: linear-gradient(to right, transparent, var(--theme-background-alt) 10%); color: var(--theme-green); font: var(--font-small); - border-radius: 4px; - padding: 4px 8px; + padding: 4px 8px 4px 16px; pointer-events: none; animation-name: observablehq-pre-copied; animation-duration: 250ms;