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

43 lines
981 B
Stylus

.widget-wrapper.timeline
.widget-body
margin-top: 0.5rem
.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
.tag-plugin.timeline .timenode
.header
margin: 0.5rem 16px
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
background: var(--alpha50)
box-shadow: none
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