mirror of
https://github.com/jerryc127/hexo-theme-butterfly.git
synced 2026-04-10 21:17:07 +08:00
fix: Utterances 評論區在多個頁面顯示的是同一個評論區 fix: 修復評論配置爲 Livere 和 Facebook Comments 時,最新評論模塊仍然顯示的 bug improvement: blueimp_md5 CDN 可配置 improvement: timeline 優化 improvement: css優化 improvement: 友情鏈接優化
83 lines
1.4 KiB
Stylus
83 lines
1.4 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
|
|
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
|