feat(link): improve user experience with links

This commit is contained in:
2023-03-07 22:04:15 +08:00
parent b4d1423d37
commit 42967ea775
+7 -1
View File
@@ -5,9 +5,15 @@ a {
text-decoration: none;
transition: border .3s ease-in-out;
code {
color: inherit;
color: var(--xm-c-deep);
}
&:hover {
border-bottom: 1px solid var(--xm-c-regular);
}
&:not([href]) {
color: inherit;
font-weight: normal;
transition: none;
border-bottom: none;
}
}