From 24466fb56efc8fd67d7219b6c0e9a288f29ee397 Mon Sep 17 00:00:00 2001 From: XPoet Date: Thu, 21 Jan 2021 20:16:30 +0800 Subject: [PATCH] style: optimize icon color --- source/css/layout/category-content.styl | 4 ++++ source/css/layout/tag-content.styl | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/source/css/layout/category-content.styl b/source/css/layout/category-content.styl index 5c4f309..6f3ecd3 100644 --- a/source/css/layout/category-content.styl +++ b/source/css/layout/category-content.styl @@ -8,6 +8,10 @@ $category-name-font-size = 1.6rem; color: var(--second-text-color); font-size: $category-name-font-size; + i { + color: var(--second-text-color); + } + +keep-tablet() { font-size: $category-name-font-size * 0.9; } diff --git a/source/css/layout/tag-content.styl b/source/css/layout/tag-content.styl index 23a33d4..2dc15db 100644 --- a/source/css/layout/tag-content.styl +++ b/source/css/layout/tag-content.styl @@ -8,6 +8,10 @@ $tag-name-font-size = 1.6rem; color: var(--second-text-color); font-size: $tag-name-font-size; + i { + color: var(--second-text-color); + } + +keep-tablet() { font-size: $tag-name-font-size * 0.9; }