diff options
author | amzrk2 | 2020-04-15 20:07:14 +0800 |
---|---|---|
committer | amzrk2 | 2020-04-15 20:07:14 +0800 |
commit | ea560a0610991ce5af7fabef9e5ef456f374b8e4 (patch) | |
tree | c2fbe799f59468211502ff751c34362d03614534 /assets/sass/_list.scss | |
parent | bbc577280b947f898c8c867925d37b8708a47b23 (diff) | |
download | hugo-theme-fuji-ea560a0610991ce5af7fabef9e5ef456f374b8e4.tar.gz hugo-theme-fuji-ea560a0610991ce5af7fabef9e5ef456f374b8e4.tar.bz2 hugo-theme-fuji-ea560a0610991ce5af7fabef9e5ef456f374b8e4.zip |
Add archives page
Diffstat (limited to 'assets/sass/_list.scss')
-rw-r--r-- | assets/sass/_list.scss | 40 |
1 files changed, 38 insertions, 2 deletions
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; |