From a34b77969f1c2f00ded440ad301c3c1fea1070e1 Mon Sep 17 00:00:00 2001 From: Cotes Chung <11371340+cotes2020@users.noreply.github.com> Date: Mon, 1 Nov 2021 05:26:32 +0800 Subject: [PATCH] Simplify the style of `` --- _sass/addon/commons.scss | 6 ------ _sass/addon/syntax.scss | 4 ++-- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/_sass/addon/commons.scss b/_sass/addon/commons.scss index c42eb6d..a00aa17 100644 --- a/_sass/addon/commons.scss +++ b/_sass/addon/commons.scss @@ -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 { diff --git a/_sass/addon/syntax.scss b/_sass/addon/syntax.scss index fd79339..4e6eb11 100644 --- a/_sass/addon/syntax.scss +++ b/_sass/addon/syntax.scss @@ -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; }