2022-11-23 23:17:24 +08:00
|
|
|
.widgets
|
|
|
|
.loading-wrap
|
|
|
|
margin: 0.5rem 0
|
2022-10-26 21:19:52 +08:00
|
|
|
|
2022-11-23 23:17:24 +08:00
|
|
|
.widgets
|
2022-10-26 21:19:52 +08:00
|
|
|
overflow: scroll
|
|
|
|
flex-grow: 1
|
|
|
|
scrollbar-width: none
|
|
|
|
scrollbar(0, 0)
|
|
|
|
z-index: 1
|
|
|
|
line-height: 1.2
|
2022-11-23 21:54:21 +08:00
|
|
|
.widget-wrapper
|
2022-10-26 21:19:52 +08:00
|
|
|
.widget-header
|
2022-11-19 17:42:35 +08:00
|
|
|
padding-left: var(--gap-l)
|
|
|
|
padding-right: var(--gap-l)
|
2022-10-26 21:19:52 +08:00
|
|
|
display: flex
|
|
|
|
justify-content: space-between
|
|
|
|
align-items: center
|
|
|
|
font-weight: 500
|
|
|
|
position: sticky
|
|
|
|
top: -2px
|
|
|
|
background: var(--site-bg)
|
|
|
|
padding-top: 2px
|
|
|
|
z-index 1
|
|
|
|
.item
|
|
|
|
display: block
|
|
|
|
>span
|
|
|
|
margin: 0.25rem 0
|
|
|
|
text-align: left
|
|
|
|
&:empty
|
|
|
|
display: none
|
|
|
|
.cap-action
|
|
|
|
hover-block 4px 4px
|
|
|
|
line-height: 0
|
|
|
|
color: var(--text-meta)
|
|
|
|
trans2: color background
|
|
|
|
.icon
|
|
|
|
fill: var(--text-meta)
|
|
|
|
&:hover
|
|
|
|
color: $color-hover
|
|
|
|
.icon
|
|
|
|
fill: $color-hover
|
|
|
|
|
|
|
|
.widget-body
|
2022-11-19 17:42:35 +08:00
|
|
|
margin: 0.5rem var(--gap-l)
|
2022-10-26 21:19:52 +08:00
|
|
|
color: var(--text-p1)
|
|
|
|
p
|
|
|
|
margin-top: .5em
|
|
|
|
margin-bottom: .5em
|
|
|
|
line-height: 1.5
|
|
|
|
.widget-header+.widget-body
|
|
|
|
margin-top: 0
|
2022-11-23 21:54:21 +08:00
|
|
|
.widget-wrapper+.widget-wrapper .widget-header
|
2022-11-19 17:42:35 +08:00
|
|
|
margin-top: 3rem
|
2022-11-26 13:17:47 +08:00
|
|
|
.widget-wrapper+.widget-wrapper.toc .widget-header
|
|
|
|
margin-top: 1rem
|
2022-11-27 17:16:38 +08:00
|
|
|
|
|
|
|
.widget-wrapper
|
|
|
|
display: block
|
|
|
|
margin: 1rem 0 2rem
|