feat: article list increases the number of articles

This commit is contained in:
XPoet 2020-09-02 12:16:49 +08:00
parent ab29668c79
commit 1cf2122620
1 changed files with 14 additions and 1 deletions

View File

@ -1,6 +1,7 @@
@require "../common/variables.styl"; @require "../common/variables.styl";
$archive-year-font-size = 1.8em; $archive-year-font-size = 1.8em;
$archive-year-count-font-size = 1.4em;
$article-title-font-size = 1.12em; $article-title-font-size = 1.12em;
$article-date-font-size = 0.8em; $article-date-font-size = 0.8em;
@ -22,7 +23,19 @@ $article-date-font-size = 0.8em;
color: var(--second-text-color); color: var(--second-text-color);
font-weight: 600; 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;
} }
} }