Skip to content

Build your personal knowledge base with Trilium Notes

style(website): disable link underline globally

Elian Doran83b843f04769
diff --git a/apps/website/src/components/Card.tsx b/apps/website/src/components/Card.tsx
index 40cf343d02..035c73e84a 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<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>
diff --git a/apps/website/src/pages/GetStarted/get-started.css b/apps/website/src/pages/GetStarted/get-started.css
index 05417e96d8..3d43c6e86a 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 847756d715..6c387a78f6 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 {