umami/components/common/Link.module.css

43 lines
593 B
CSS
Raw Normal View History

2020-09-16 04:16:05 +02:00
a.link,
a.link:active,
a.link:visited {
position: relative;
color: var(--base900);
text-decoration: none;
2020-09-26 08:38:28 +02:00
display: inline-flex;
align-items: center;
}
2022-03-02 04:28:44 +01:00
a.link span {
border-bottom: 2px solid transparent;
}
a.link:hover span {
border-bottom: 2px solid var(--primary400);
}
2020-09-26 08:38:28 +02:00
a.link.large {
font-size: var(--font-size-lg);
2020-09-26 08:38:28 +02:00
}
a.link.small {
font-size: var(--font-size-sm);
2020-09-26 08:38:28 +02:00
}
a.link.xsmall {
font-size: var(--font-size-xs);
2020-09-26 08:38:28 +02:00
}
a.link .icon + * {
margin-left: 10px;
}
a.link.iconRight .icon {
order: 1;
margin-left: 10px;
}
a.link.iconRight .icon + * {
margin: 0;
}