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

50 lines
1.0 KiB
Stylus
Raw Normal View History

2024-02-05 18:01:50 +08:00
.widget-wrapper.timeline
2024-02-12 23:07:56 +08:00
.tag-plugin.timeline
padding-left: 0
&:before
left: 6px
2022-11-23 23:17:24 +08:00
.widget-body
2024-02-05 18:39:09 +08:00
overflow hidden
2024-02-02 00:36:01 +08:00
.body
a
trans1 all
2024-02-05 18:39:09 +08:00
word-break: break-all
2024-02-02 00:36:01 +08:00
--fsp: $fsp2
2022-11-23 23:17:24 +08:00
.tag-plugin.timeline .timenode
2024-02-12 23:07:56 +08:00
z-index 1
2024-02-12 23:45:08 +08:00
margin-top: 0.25rem
2022-11-23 23:17:24 +08:00
.header
2024-02-12 23:07:56 +08:00
margin: 0.25rem var(--gap-padding)
2022-11-23 23:17:24 +08:00
.user-info
2024-02-12 23:07:56 +08:00
background: none
padding-right: 0
img
2022-11-23 23:17:24 +08:00
display: none
2024-02-12 23:07:56 +08:00
.header:before
left: calc(6px - var(--gap-padding))
2024-01-17 00:27:48 +08:00
.body
border-radius: $border-card
2024-02-12 23:07:56 +08:00
padding: 0.5rem 1rem
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
2024-02-12 23:07:56 +08:00
.l_left .widget-wrapper.timeline
.tag-plugin.timeline
padding-left: 0
&:before
content: none
2024-02-05 18:01:50 +08:00
.l_left .widget-wrapper.timeline .body
box-shadow: none
background: var(--alpha50)