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

40 lines
940 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)
2024-01-17 22:57:52 +08:00
color: var(--text-p1)
2024-01-17 00:27:48 +08:00
&:hover
color: $color-hover
border-bottom: 1px solid $color-hover
2024-01-18 22:11:58 +08:00
code
background: none
padding: 0
margin: 0
2024-01-20 16:05:37 +08:00
.highlight, pre:not([class]):has(>code)
background: var(--alpha50)
2024-01-17 00:27:48 +08:00
2024-01-20 16:05:37 +08:00
.tag-plugin.timeline[api] .body .footer
background: none