umami/components/common/Link.module.css

24 lines
356 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-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;
}