hexo-theme-stellar/source/css/_layout/widgets/list.styl

31 lines
629 B
Stylus
Raw Normal View History

2024-01-17 00:27:48 +08:00
.widget-wrapper.post-list .widget-body
margin-top: 0.25rem
a
line-height: 1
font-size: $fs-14
padding: 8px 16px
display: block
border-radius: $border-bar
color: var(--text-p1)
trans1 background
&.active
background: var(--alpha50)
&:hover
background: var(--alpha100)
a+a
margin-top: 2px
a
display: flex
justify-content: space-between
align-items: center
.title
txt-ellipsis()
2024-01-20 13:35:43 +08:00
svg
flex-shrink: 0
height: 1em
width: auto
transform: scale(1.2)
2024-02-05 10:03:55 +08:00
.widget-wrapper.post-list
.widget-body+.widget-header
margin-top: 28px