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; text-decoration: none;
transition: border .3s ease-in-out; transition: border .3s ease-in-out;
code { code {
color: inherit; color: var(--xm-c-deep);
} }
&:hover { &:hover {
border-bottom: 1px solid var(--xm-c-regular); border-bottom: 1px solid var(--xm-c-regular);
} }
&:not([href]) {
color: inherit;
font-weight: normal;
transition: none;
border-bottom: none;
}
} }