style(website): disable link underline globally

This commit is contained in:
Elian Doran 2025-09-27 19:23:16 +03:00
parent 24043611c3
commit 83b843f047
No known key found for this signature in database
3 changed files with 7 additions and 6 deletions

View File

@ -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<HTMLAttributes<HTMLDivElement>, "title"> {
@ -28,7 +28,7 @@ export default function Card({ title, children, imageUrl, iconSvg, className, mo
{moreInfoUrl && (
<div className="more-info-container">
<Link href={moreInfoUrl} className="more-info" openExternally>More info</Link>
<Link href={moreInfoUrl} className="more-info" openExternally>Learn more...</Link>
</div>
)}
</div>

View File

@ -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;

View File

@ -44,6 +44,11 @@ body {
a {
color: var(--brand-3);
text-decoration: none;
}
a:not(.button):hover {
text-decoration: underline;
}
.content-wrapper {