Simplify the style of <a>

This commit is contained in:
Cotes Chung committed 2021-12-02 05:51:30 +08:00
1 parent 55fce7574c
commit a34b77969f
2 files changed
+2 -8

No files matched your search

-6
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 {
+2 -2
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;
}