diff --git a/docs/ensnode.io/src/components/molecules/HostedEnsNodeInstance.astro b/docs/ensnode.io/src/components/molecules/HostedEnsNodeInstance.astro index 17a286887..d7755f133 100644 --- a/docs/ensnode.io/src/components/molecules/HostedEnsNodeInstance.astro +++ b/docs/ensnode.io/src/components/molecules/HostedEnsNodeInstance.astro @@ -14,7 +14,7 @@ const hostedEnsNodeVersion = ACTIVE_OMNIGRAPH_VERSION; style={{ marginTop: "20px" }} class="flex flex-col xl:flex-row justify-start xl:items-center gap-4"> {instanceURL} - -

+ +

Back to Examples{" "}

diff --git a/docs/ensnode.io/src/content/docs/docs/integrate/integration-options/enskit/example.mdx b/docs/ensnode.io/src/content/docs/docs/integrate/integration-options/enskit/example.mdx index ef60fd4d9..57282fc1d 100644 --- a/docs/ensnode.io/src/content/docs/docs/integrate/integration-options/enskit/example.mdx +++ b/docs/ensnode.io/src/content/docs/docs/integrate/integration-options/enskit/example.mdx @@ -28,11 +28,8 @@ The embedded StackBlitz editor runs entirely in your browser. Downloading and in class="group w-fit flex flex-row justify-start items-center gap-2 mt-4" href="/docs/integrate/integration-options/enskit" > - -
+ +
Back to enskit overview
diff --git a/docs/ensnode.io/src/content/docs/docs/integrate/integration-options/enssdk/example.mdx b/docs/ensnode.io/src/content/docs/docs/integrate/integration-options/enssdk/example.mdx index f8532f98d..c9bea05d6 100644 --- a/docs/ensnode.io/src/content/docs/docs/integrate/integration-options/enssdk/example.mdx +++ b/docs/ensnode.io/src/content/docs/docs/integrate/integration-options/enssdk/example.mdx @@ -30,11 +30,8 @@ You can edit the script and re-execute **`npm start`** in the terminal to run it class="group w-fit flex flex-row justify-start items-center gap-2 mt-4" href="/docs/integrate/integration-options/enssdk" > - -
+ +
Back to enssdk overview
diff --git a/docs/ensnode.io/src/styles/starlight.css b/docs/ensnode.io/src/styles/starlight.css index 066993e2d..6fb73dd9d 100644 --- a/docs/ensnode.io/src/styles/starlight.css +++ b/docs/ensnode.io/src/styles/starlight.css @@ -211,8 +211,12 @@ a[rel="prev"]:hover { color: var(--sl-color-white); } +/* Override Starlight's default markdown link hover (which switches to + --sl-color-white): keep links their base color on hover so only the + underline-offset animates. */ +.sl-markdown-content a:hover:not(:where(.not-content *)), .sl-markdown-content a:hover:not(:where(.not-content *)) > span { - color: var(--sl-color-accent); + color: var(--sl-color-text-accent); } .sl-markdown-content > p a:not(:has(code), [role="tab"]), @@ -221,19 +225,27 @@ a[rel="prev"]:hover { text-decoration: underline; text-underline-offset: 4px; - transition: - color 0.2s ease-in-out, - text-underline-offset 0.2s ease-in-out; + transition: text-underline-offset 0.2s ease-in-out; + + &:hover { + text-underline-offset: 2px; + } +} + +.sl-markdown-content > p a:has(code):not([role="tab"]), +.sl-markdown-content :is(ul, ol) > li a:has(code):not([role="tab"]) { + text-decoration: underline; + text-underline-offset: 4px; + + transition: text-underline-offset 0.2s ease-in-out; &:hover { text-underline-offset: 2px; } } -.sl-markdown-content > p a:not([role="tab"]):hover, -.sl-markdown-content :is(ul, ol) > li a:not([role="tab"]):hover, starlight-toc a:hover { - color: var(--sl-color-accent-high); + color: var(--sl-color-text-accent); } .sl-markdown-content :is(h1, h2, h3, h4, h5, h6) > a {