2021-07-03 22:33:52 +08:00
|
|
|
.l_left[layout='wiki'] .widget-wrap#toc
|
|
|
|
margin-top: 0
|
|
|
|
.widget-body
|
|
|
|
margin-top: 0
|
|
|
|
|
2021-07-04 02:03:14 +08:00
|
|
|
// 其它分页链接
|
|
|
|
.widget-wrap#toc .doc-tree:not(:only-child)
|
2021-07-03 22:33:52 +08:00
|
|
|
border-radius: 4px
|
|
|
|
margin: 4px 0
|
|
|
|
background: var(--block)
|
|
|
|
overflow: hidden
|
|
|
|
border: 1px solid var(--block-border)
|
|
|
|
a.doc-tree-link
|
|
|
|
color: var(--text-p2)
|
|
|
|
padding: 0.5rem
|
|
|
|
display: block
|
|
|
|
font-size: $fs-12
|
|
|
|
font-weight: 500
|
|
|
|
position: relative
|
|
|
|
&:after
|
|
|
|
position: absolute
|
|
|
|
right: .5rem
|
|
|
|
&.active
|
|
|
|
color: var(--text-p1)
|
|
|
|
&:hover
|
|
|
|
background: var(--block-hover)
|
|
|
|
&:after
|
|
|
|
content: '+'
|
|
|
|
|
|
|
|
|
|
|
|
// 当前分页链接
|
2021-07-04 02:03:14 +08:00
|
|
|
.widget-wrap#toc .doc-tree.active:not(:only-child)
|
2021-07-03 22:33:52 +08:00
|
|
|
a.doc-tree-link
|
|
|
|
background: var(--block)
|
2021-07-04 02:03:14 +08:00
|
|
|
font-weight: 700
|
|
|
|
&:not(:only-child)
|
|
|
|
border-bottom: 1px solid var(--block-border)
|
2021-07-03 22:33:52 +08:00
|
|
|
&:hover
|
|
|
|
background: var(--block-hover)
|
|
|
|
&:after
|
2021-07-03 23:09:52 +08:00
|
|
|
content: none
|
2021-07-03 22:33:52 +08:00
|
|
|
>.toc
|
|
|
|
padding: 4px
|
|
|
|
background: var(--card)
|
2021-07-03 23:09:52 +08:00
|
|
|
a.toc-link:before
|
|
|
|
left: -2px
|
|
|
|
width: 4px
|
2021-07-03 22:33:52 +08:00
|
|
|
a.toc-link:hover
|
|
|
|
background: var(--block)
|