hexo-theme-stellar/source/css/_layout/partial/paginator.styl

34 lines
734 B
Stylus
Raw Normal View History

2021-02-27 21:50:18 +08:00
.paginator-wrap
margin: 1rem
2021-02-19 23:33:19 +08:00
display: flex
justify-content: space-between
align-items: center
2021-02-26 20:02:32 +08:00
font-size: 1rem
font-weight: 700
background: var(--block)
border-radius: $border-card
border: 1px solid var(--block-border)
overflow: hidden
2021-02-19 23:33:19 +08:00
.paginator
text-align: center
2021-02-26 20:02:32 +08:00
.current
font-family: $ff-code
color: var(--text-p3)
2021-02-19 23:33:19 +08:00
a.paginator
2021-02-26 20:02:32 +08:00
color: var(--text-p3)
padding: 1rem
line-height: 0
2021-06-26 15:02:32 +08:00
filter: grayscale(100%)
2021-02-26 20:02:32 +08:00
img
height: 1rem
2021-02-19 23:33:19 +08:00
&.disable
pointer-events: none
opacity: 0.25
2021-02-26 20:02:32 +08:00
&.prev
2021-02-27 21:50:18 +08:00
border-right: 1px solid var(--block-border)
2021-02-26 20:02:32 +08:00
&.next
2021-02-27 21:50:18 +08:00
border-left: 1px solid var(--block-border)
2021-02-19 23:33:19 +08:00
a.paginator:hover
2021-02-26 20:02:32 +08:00
background: var(--card)
2021-06-26 15:02:32 +08:00
filter: unset