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

45 lines
937 B
Stylus

.widget-wrapper.timeline
.widget-body
overflow hidden
.body
a
trans1 all
word-break: break-all
--fsp: $fsp2
.tag-plugin.timeline .timenode
.header
margin: 0.5rem var(--gap-padding)
txt-ellipsis()
.user-info
background: var(--alpha50)
&:hover
background: $color-hover
color: var(--card)
&:before
display: none
&+.timenode
margin-top: 0.75rem
.header p
color: var(--text-p2)
.body
border-radius: $border-card
p,li
--fsp: $fsp3
code
background: none
padding: 0
margin: 0
.highlight, pre:not([class]):has(>code)
background: var(--alpha50)
.tag-plugin.timeline[api] .body .footer
background: none
a.item
border-color: var(--text)
.l_left .widget-wrapper.timeline .body
box-shadow: none
background: var(--alpha50)