From 30772e0dd8436062e325eda0f54e90f7e8696705 Mon Sep 17 00:00:00 2001 From: amzrk2 Date: Wed, 6 May 2020 22:58:45 +0800 Subject: Sass structure full rebuild --- assets/sass/modules/_archive.scss | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 assets/sass/modules/_archive.scss (limited to 'assets/sass/modules/_archive.scss') diff --git a/assets/sass/modules/_archive.scss b/assets/sass/modules/_archive.scss new file mode 100644 index 0000000..88b2993 --- /dev/null +++ b/assets/sass/modules/_archive.scss @@ -0,0 +1,31 @@ +.post-archive { + &:not(:last-child) { + padding: 0.5rem 0; + } + + &:last-child { + padding: 0.5rem 0 1rem 0; + } +} + +.post-archive+.post-archive { + border-top: $spliter; +} + +.post-title-archive { + font-size: $font-size-l2; +} + +.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 +} \ No newline at end of file -- cgit v1.2.3