From 1cf212262064ef50c148caf37b506f8414c0a288 Mon Sep 17 00:00:00 2001 From: XPoet Date: Wed, 2 Sep 2020 12:16:49 +0800 Subject: [PATCH] feat: article list increases the number of articles --- source/css/layout/_partial/archive-list.styl | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/source/css/layout/_partial/archive-list.styl b/source/css/layout/_partial/archive-list.styl index 7661f59..b68af7b 100644 --- a/source/css/layout/_partial/archive-list.styl +++ b/source/css/layout/_partial/archive-list.styl @@ -1,6 +1,7 @@ @require "../common/variables.styl"; $archive-year-font-size = 1.8em; +$archive-year-count-font-size = 1.4em; $article-title-font-size = 1.12em; $article-date-font-size = 0.8em; @@ -22,7 +23,19 @@ $article-date-font-size = 0.8em; color: var(--second-text-color); font-weight: 600; - margin-right: 20px; + margin-right: 6px; + } + + + .archive-year-post-count { + font-size: $archive-year-count-font-size; + + +ils-tablet() { + font-size: $archive-year-count-font-size - 0.2em; + } + + color: var(--second-text-color); + font-weight: 500; } }