From e454d7f79af89f5bee97bc92988decbf1b83ca7f Mon Sep 17 00:00:00 2001 From: XPoet Date: Thu, 10 Dec 2020 11:50:41 +0800 Subject: [PATCH] style: update markdown "a" tag style --- source/css/layout/common/markdown.styl | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/source/css/layout/common/markdown.styl b/source/css/layout/common/markdown.styl index 6694f1b..9a5d816 100644 --- a/source/css/layout/common/markdown.styl +++ b/source/css/layout/common/markdown.styl @@ -26,6 +26,9 @@ text-decoration: none; overflow-wrap: break-word; cursor: pointer; + border-bottom: 1px solid var(--third-text-color); + box-sizing: border-box; + padding-bottom: 2px; .fas, .far, fab { margin-left: 6px; @@ -37,16 +40,6 @@ background: var(--primary-color); } } - - &::after { - position: absolute; - content: ''; - width: 100%; - height: 1px; - top: 108%; - left: 0; - background: var(--second-text-color); - } } a:hover {