diff options
| author | Eltrac <hi@guhub.cn> | 2025-05-23 19:48:12 +0800 |
|---|---|---|
| committer | Eltrac <hi@guhub.cn> | 2025-05-23 19:48:12 +0800 |
| commit | 0d2166cc8da8d6c7940c2fe1d7a626d962b4ee37 (patch) | |
| tree | b672cdf6eb2cc4135977d3e1ff9091ae2777c417 /assets/css | |
| parent | e50c574d8d969a38eb1c3068b537fa220503adb7 (diff) | |
feat: change links to stats, add to postnav, and better style
Diffstat (limited to 'assets/css')
| -rw-r--r-- | assets/css/components/_postlist.scss | 16 |
1 files changed, 15 insertions, 1 deletions
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 { |
