feat(link): improve user experience with links

This commit is contained in:
郭桓桓 2023-03-07 22:04:15 +08:00
parent b4d1423d37
commit 42967ea775
Signed by: kuohuanhuan
GPG Key ID: FD846A0A797B0D75
1 changed files with 7 additions and 1 deletions

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;
}
}