feat(link): improve user experience with links
This commit is contained in:
parent
b4d1423d37
commit
42967ea775
|
@ -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;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue