From 0d2166cc8da8d6c7940c2fe1d7a626d962b4ee37 Mon Sep 17 00:00:00 2001 From: Eltrac Date: Fri, 23 May 2025 19:48:12 +0800 Subject: feat: change links to stats, add to postnav, and better style --- assets/css/components/_postlist.scss | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) (limited to 'assets/css') diff --git a/assets/css/components/_postlist.scss b/assets/css/components/_postlist.scss index a5d38ba8..022f97bd 100644 --- a/assets/css/components/_postlist.scss +++ b/assets/css/components/_postlist.scss @@ -86,12 +86,26 @@ li { flex-shrink: 0; flex-grow: 0; + &.active { font-weight: bolder } - a:not(.no-button) { + a:not(.icon-link) { @include small-button; } + + .icon-link { + opacity: 0.5; + transition: opacity 0.3s; + } + .icon-link:hover, + &.active .icon-link { + opacity: 1; + } + &.active .icon-link { + display: inline-block; + transform: scale(1.1) rotate(90deg); + } } #search-instruction { -- cgit v1.2.3