From 29d57716e0717a3468b3454935421857db644e50 Mon Sep 17 00:00:00 2001 From: xaoxuu Date: Sat, 3 Jul 2021 23:28:27 +0800 Subject: [PATCH] read next --- layout/_partial/main/article/read_next.ejs | 1 - source/css/_layout/partial/related.styl | 15 +++++++++------ 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/layout/_partial/main/article/read_next.ejs b/layout/_partial/main/article/read_next.ejs index df84d4b..cbdb120 100644 --- a/layout/_partial/main/article/read_next.ejs +++ b/layout/_partial/main/article/read_next.ejs @@ -58,7 +58,6 @@ function layoutDiv() { el += '
'; el += ''; el += __('meta.all_articles'); - el += '' + __('btn.archives') + ''; el += ''; } el += ''; diff --git a/source/css/_layout/partial/related.styl b/source/css/_layout/partial/related.styl index 558b62b..a3d6804 100644 --- a/source/css/_layout/partial/related.styl +++ b/source/css/_layout/partial/related.styl @@ -13,7 +13,7 @@ a.more padding: 0.25rem 0.5rem - + border-radius: $border-block color: var(--text-p1) @@ -100,10 +100,15 @@ margin: 0 line-height: 1.2 padding: 0.75rem 0.5rem - color: var(--text-p2) + color: var(--text-p3) justify-content: space-between align-items: center font-weight: 500 + font-size: $fs-12 + &:first-child + color: var(--text-p1) + font-size: $fs-h4 + font-weight: 400 .note flex-shrink: 0 margin-left: 4px @@ -111,13 +116,11 @@ color: var(--text-meta) font-weight: 500 &#more - font-size: $fs-12 - text-align: center - color: var(--text-p3) + justify-content: center &:hover color: $color-hover !important background: var(--card) - + .related-wrap#comments