mirror of
https://github.com/zadam/trilium.git
synced 2025-10-20 07:08:55 +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 { ComponentChildren, HTMLAttributes } from "preact";
|
||||||
import Button, { Link } from "./Button";
|
import { Link } from "./Button";
|
||||||
import Icon from "./Icon";
|
import Icon from "./Icon";
|
||||||
|
|
||||||
interface CardProps extends Omit<HTMLAttributes<HTMLDivElement>, "title"> {
|
interface CardProps extends Omit<HTMLAttributes<HTMLDivElement>, "title"> {
|
||||||
@ -28,7 +28,7 @@ export default function Card({ title, children, imageUrl, iconSvg, className, mo
|
|||||||
|
|
||||||
{moreInfoUrl && (
|
{moreInfoUrl && (
|
||||||
<div className="more-info-container">
|
<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>
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
|
@ -32,10 +32,6 @@
|
|||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.download-card a:not(.button):hover {
|
|
||||||
text-decoration: underline;
|
|
||||||
}
|
|
||||||
|
|
||||||
.download-options {
|
.download-options {
|
||||||
justify-content: flex-end;
|
justify-content: flex-end;
|
||||||
align-items: stretch;
|
align-items: stretch;
|
||||||
|
@ -44,6 +44,11 @@ body {
|
|||||||
|
|
||||||
a {
|
a {
|
||||||
color: var(--brand-3);
|
color: var(--brand-3);
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
a:not(.button):hover {
|
||||||
|
text-decoration: underline;
|
||||||
}
|
}
|
||||||
|
|
||||||
.content-wrapper {
|
.content-wrapper {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user