From 2e33d9af702c1bc3dc0ac1f40c32c36437f8b304 Mon Sep 17 00:00:00 2001 From: XPoet Date: Thu, 21 Jan 2021 17:43:15 +0800 Subject: [PATCH] style: optimize first screen icon color --- source/css/common/basic.styl | 8 ++++++++ source/css/layout/_partial/first-screen.styl | 4 ---- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/source/css/common/basic.styl b/source/css/common/basic.styl index 897baf1..19d705c 100644 --- a/source/css/common/basic.styl +++ b/source/css/common/basic.styl @@ -89,9 +89,17 @@ a { text-decoration: none; color: var(--default-text-color); + i { + color: var(--default-text-color); + } + &:hover, &:active { text-decoration: none !important; color: var(--primary-color); + + i { + color: var(--primary-color); + } } } diff --git a/source/css/layout/_partial/first-screen.styl b/source/css/layout/_partial/first-screen.styl index 74d2484..1292d86 100644 --- a/source/css/layout/_partial/first-screen.styl +++ b/source/css/layout/_partial/first-screen.styl @@ -56,10 +56,6 @@ $first-screen-img = $temp-img ? $temp-img:'/images/bg.svg'; cursor: pointer; line-height: 2; - i { - color: var(--second-text-color); - } - &:last-child { margin-right: 0; }