From 83b843f04769079788ce28808fe069789336a306 Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Sat, 27 Sep 2025 19:23:16 +0300 Subject: [PATCH] style(website): disable link underline globally --- apps/website/src/components/Card.tsx | 4 ++-- apps/website/src/pages/GetStarted/get-started.css | 4 ---- apps/website/src/style.css | 5 +++++ 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/apps/website/src/components/Card.tsx b/apps/website/src/components/Card.tsx index 40cf343d0..035c73e84 100644 --- a/apps/website/src/components/Card.tsx +++ b/apps/website/src/components/Card.tsx @@ -1,5 +1,5 @@ import { ComponentChildren, HTMLAttributes } from "preact"; -import Button, { Link } from "./Button"; +import { Link } from "./Button"; import Icon from "./Icon"; interface CardProps extends Omit, "title"> { @@ -28,7 +28,7 @@ export default function Card({ title, children, imageUrl, iconSvg, className, mo {moreInfoUrl && (
- More info + Learn more...
)} diff --git a/apps/website/src/pages/GetStarted/get-started.css b/apps/website/src/pages/GetStarted/get-started.css index 05417e96d..3d43c6e86 100644 --- a/apps/website/src/pages/GetStarted/get-started.css +++ b/apps/website/src/pages/GetStarted/get-started.css @@ -32,10 +32,6 @@ text-decoration: none; } -.download-card a:not(.button):hover { - text-decoration: underline; -} - .download-options { justify-content: flex-end; align-items: stretch; diff --git a/apps/website/src/style.css b/apps/website/src/style.css index 847756d71..6c387a78f 100644 --- a/apps/website/src/style.css +++ b/apps/website/src/style.css @@ -44,6 +44,11 @@ body { a { color: var(--brand-3); + text-decoration: none; +} + +a:not(.button):hover { + text-decoration: underline; } .content-wrapper {