feat: 增加導覽欄顯示文章標題的選項 feat: 文章頁增加'返回首頁'文字 improvement: 當 per_page 為 0 時,頁面不顯示導覽列

This commit is contained in:
Jerry
2025-06-25 16:25:46 +08:00
Unverified
parent 73de62a6e1
commit 60fa703fd3
15 changed files with 80 additions and 42 deletions

View File

@@ -435,4 +435,29 @@
&:hover
&:after
width: 100%
width: 100%
.nav-page-title
position: relative
overflow: hidden
& > :first-child,
& > :last-child
display: inline-block
transition: all .3s ease-in-out
& > :last-child
position: absolute
top: 50%
left: 0
opacity: 0
transform: translateY(-50%) translateY(-10px)
&:hover
& > :last-child
opacity: 1
transform: translateY(-50%) translateY(0)
& > :first-child
opacity: 0
transform: translateY(10px)