From 7cb062d107a80cc5370c3293ca2862fd448e56b1 Mon Sep 17 00:00:00 2001 From: XPoet Date: Fri, 22 Jan 2021 19:13:47 +0800 Subject: [PATCH] style: optimize archive list --- source/css/layout/_partial/archive-list.styl | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/source/css/layout/_partial/archive-list.styl b/source/css/layout/_partial/archive-list.styl index e5c4798..1afe04e 100644 --- a/source/css/layout/_partial/archive-list.styl +++ b/source/css/layout/_partial/archive-list.styl @@ -62,15 +62,14 @@ $article-date-font-size = 1rem; } &:hover { - color: var(--primary-color); + a.article-title, .article-date { + color: var(--primary-color); + } } + a.article-title { color: var(--default-text-color); - - &:hover { - color: var(--primary-color); - } } .article-date {