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

32 lines
722 B
Stylus
Raw Normal View History

2022-11-23 23:17:24 +08:00
.widget-wrapper.timeline
.widget-body
margin-top: 0.5rem
.tag-plugin.timeline .timenode
.header
2024-01-17 00:27:48 +08:00
margin: 0.5rem 16px
2022-11-23 23:17:24 +08:00
txt-ellipsis()
.user-info
2024-01-17 00:27:48 +08:00
background: var(--alpha50)
2022-11-23 23:17:24 +08:00
&:hover
background: $color-hover
color: var(--card)
&:before
display: none
&+.timenode
margin-top: 0.75rem
2024-01-17 00:27:48 +08:00
.header p
color: var(--text-p2)
.body
border-radius: $border-card
background: var(--alpha50)
box-shadow: none
a
trans1 all
border-bottom: 1px solid var(--text-p0)
color: var(--text-p0)
&:hover
color: $color-hover
border-bottom: 1px solid $color-hover
2022-11-23 23:17:24 +08:00