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

43 lines
981 B
Stylus
Raw Normal View History

2022-11-23 23:17:24 +08:00
.widget-wrapper.timeline
.widget-body
margin-top: 0.5rem
2024-02-02 00:36:01 +08:00
.body
a
trans1 all
border-bottom: 1px solid var(--text)
color: var(--text-p1)
--fsp: $fsp2
&:hover
color: $color-hover
border-bottom: 1px solid $color-hover
2022-11-23 23:17:24 +08:00
.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
2024-02-02 00:36:01 +08:00
p,li
--fsp: $fsp3
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