1
0
mirror of https://github.com/kremalicious/umami.git synced 2024-12-22 17:23:54 +01:00
umami/components/common/Link.module.css

51 lines
719 B
CSS
Raw Normal View History

2020-09-16 04:16:05 +02:00
a.link,
a.link:active,
a.link:visited {
position: relative;
2020-09-20 10:33:39 +02:00
color: var(--gray900);
text-decoration: none;
2020-09-26 08:38:28 +02:00
display: inline-flex;
align-items: center;
}
2020-09-16 04:16:05 +02:00
a.link:before {
content: '';
position: absolute;
bottom: -2px;
width: 0;
height: 2px;
2020-09-20 10:33:39 +02:00
background: var(--primary400);
opacity: 0.5;
transition: width 100ms;
}
2020-09-16 04:16:05 +02:00
a.link:hover:before {
width: 100%;
transition: width 100ms;
}
2020-09-26 08:38:28 +02:00
a.link.large {
font-size: var(--font-size-large);
}
a.link.small {
font-size: var(--font-size-small);
}
a.link.xsmall {
font-size: var(--font-size-xsmall);
}
a.link .icon + * {
margin-left: 10px;
}
a.link.iconRight .icon {
order: 1;
margin-left: 10px;
}
a.link.iconRight .icon + * {
margin: 0;
}