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

49 lines
1.1 KiB
Stylus
Raw Normal View History

2024-02-05 18:01:50 +08:00
.widget-wrapper.timeline
2022-11-23 23:17:24 +08:00
.widget-body
margin-top: 0.5rem
2024-02-05 18:39:09 +08:00
overflow hidden
2024-02-02 00:36:01 +08:00
.body
a
trans1 all
border-bottom: 1px solid var(--text)
2024-02-05 18:39:09 +08:00
word-break: break-all
2024-02-02 00:36:01 +08:00
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-02-05 18:01:50 +08:00
margin: 0.5rem var(--gap-padding)
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
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
2024-02-05 18:01:50 +08:00
background: none
.l_left .widget-wrapper.timeline .body
box-shadow: none
background: var(--alpha50)