Simplify the style of <a>

This commit is contained in:
Cotes Chung 2021-11-01 05:26:32 +08:00
parent 55fce7574c
commit a34b77969f
2 changed files with 2 additions and 8 deletions

View file

@ -394,7 +394,6 @@ footer {
word-spacing: 1px;
a {
@extend %link-color;
@extend %link-underline;
&:not(:last-child) {
@ -456,12 +455,7 @@ footer {
}
a {
blockquote & {
color: var(--link-color);
}
&:not(.img-link) {
@extend %link-color;
@extend %link-underline;
&:hover {

View file

@ -121,12 +121,12 @@ code {
background-color: var(--inline-code-bg);
}
@at-root a > &.highlighter-rouge {
a > &.highlighter-rouge {
padding-bottom: 0; // show link's underlinke
color: inherit;
}
@at-root a:hover > &.highlighter-rouge {
a:hover > &.highlighter-rouge {
border-bottom: none;
}