From ea560a0610991ce5af7fabef9e5ef456f374b8e4 Mon Sep 17 00:00:00 2001 From: amzrk2 Date: Wed, 15 Apr 2020 20:07:14 +0800 Subject: Add archives page --- assets/sass/_list.scss | 40 ++++++++++++++++++++++++++++++++++++++-- 1 file changed, 38 insertions(+), 2 deletions(-) (limited to 'assets/sass/_list.scss') diff --git a/assets/sass/_list.scss b/assets/sass/_list.scss index b4c660b..30e94da 100644 --- a/assets/sass/_list.scss +++ b/assets/sass/_list.scss @@ -11,8 +11,23 @@ padding: 1.5em 0 1.5em 0; } +#post-archive { + &:not(:first-child):not(:last-child) { + padding: 0.5em 0 0.5em 0; + } + + &:first-child { + padding: 1.5em 0 0.5em 0; + } + + &:last-child { + padding: 0.5em 0 1.5em 0; + } +} + // spliter between two posts -#post+#post { +#post+#post, +#post-archive+#post-archive { border-top: $spliter; } @@ -22,6 +37,12 @@ @include link-primary(); } +#post-title-archive { + font-size: $font-size-l2; + + @include link-primary(); +} + #post-meta { color: $color-mute; padding: 0.5em 0 1em 0; @@ -38,6 +59,22 @@ @include link-secondary(); } +#post-meta-archive { + color: $color-mute; + padding: 0; + white-space: nowrap; + overflow-x: scroll; + + &::-webkit-scrollbar { + display: none; // WebKit + } + + scrollbar-width: none; // Firefox + -ms-overflow-style: none; // Microsoft + + @include link-secondary(); +} + #post-exlink { margin: 0.5em 0 0 0; @@ -77,7 +114,6 @@ article { } } - // not show while iframe not loaded #post-comment .utterances-frame { border-top: $spliter; -- cgit v1.2.3