mirror of
https://github.com/zadam/trilium.git
synced 2025-10-19 22:58:52 +02:00
style(website): disable link underline globally
This commit is contained in:
parent
24043611c3
commit
83b843f047
@ -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>
|
||||
|
@ -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;
|
||||
|
@ -44,6 +44,11 @@ body {
|
||||
|
||||
a {
|
||||
color: var(--brand-3);
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
a:not(.button):hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.content-wrapper {
|
||||
|
Loading…
x
Reference in New Issue
Block a user