mirror of
https://github.com/jerryc127/hexo-theme-butterfly.git
synced 2025-09-15 12:58:48 +08:00
feat: snackbar 增加圓角 feat: 增加 flink 標籤外掛 fix: 修復點擊 toc 外圍,控制檯報錯的 bug fix: Facebook Comments 無法使用 #787 fix: chat_btn 聊天按鈕翻譯缺失 #791 fix: local search 的 content 設爲 false, 搜索無法運行的 bug #764 fix: Mermaid 圖表渲染後元素高度過大 #773 fix: 文章頁分享按鈕另開一行時, 導航頁寬度沒有 100% 的 bug #765 improvement: 語義化 toggle 標籤外掛 improvement: darkmode 下 toc 背景顏色更改
84 lines
1.5 KiB
Stylus
84 lines
1.5 KiB
Stylus
#pagination
|
|
.pagination
|
|
margin-top: 20px
|
|
text-align: center
|
|
|
|
.page-number
|
|
&.current
|
|
background: $theme-paginator-color
|
|
color: var(--white)
|
|
|
|
.pagination-info
|
|
position: absolute
|
|
top: 50%
|
|
padding: 20px 40px
|
|
width: 100%
|
|
transform: translate(0, -50%)
|
|
|
|
.prev_info,
|
|
.next_info
|
|
@extend .limit-one-line
|
|
color: var(--white)
|
|
font-weight: 500
|
|
|
|
.next-post
|
|
.pagination-info
|
|
text-align: right
|
|
|
|
.pull-full
|
|
width: 100% !important
|
|
|
|
.prev-post .label,
|
|
.next-post .label
|
|
color: var(--light-grey)
|
|
text-transform: uppercase
|
|
font-size: 90%
|
|
|
|
.prev-post,
|
|
.next-post
|
|
@extend .postImgHover
|
|
width: 50%
|
|
|
|
+maxWidth768()
|
|
width: 100%
|
|
|
|
a
|
|
position: relative
|
|
display: block
|
|
overflow: hidden
|
|
height: 150px
|
|
|
|
&.pagination-post
|
|
overflow: hidden
|
|
margin-top: 40px
|
|
width: 100%
|
|
background: $dark-black
|
|
|
|
.layout
|
|
& > .recent-posts
|
|
.pagination
|
|
& > *
|
|
display: inline-block
|
|
margin: 0 6px
|
|
width: w = 2.5em
|
|
height: w
|
|
line-height: w
|
|
|
|
& > *:not(.space)
|
|
@extend .cardHover
|
|
|
|
&:hover
|
|
background: var(--btn-hover-color)
|
|
color: var(--btn-color)
|
|
|
|
& > div:not(.recent-posts)
|
|
.pagination
|
|
.page-number
|
|
display: inline-block
|
|
margin: 0 4px
|
|
min-width: w = 24px
|
|
height: w
|
|
text-align: center
|
|
line-height: w
|
|
cursor: pointer
|