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

30 lines
602 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
2021-08-23 23:47:12 +08:00
background: var(--card)
2021-02-26 20:02:32 +08:00
border-radius: $border-card
overflow: hidden
2021-08-23 23:47:12 +08:00
box-shadow: 0 2px 8px 0px rgba(0, 0, 0, 0.03)
&:hover
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
a.paginator:hover
2021-06-26 15:02:32 +08:00
filter: unset