sidebar
This commit is contained in:
parent
3aabeff065
commit
7166bcd83e
|
@ -42,7 +42,19 @@
|
|||
line-height: 1.2
|
||||
border-radius: 4px
|
||||
position: relative
|
||||
&:before
|
||||
content: ''
|
||||
position: absolute
|
||||
left: -6px
|
||||
top: 'calc(50% - %s)' % 6px
|
||||
bottom: 'calc(50% - %s)' % 6px
|
||||
width: 2px
|
||||
border-radius: 2px
|
||||
background: $color-theme
|
||||
visibility: hidden
|
||||
&:hover
|
||||
background: var(--block-hover)
|
||||
&.active
|
||||
color: var(--theme-highlight) !important
|
||||
&:before
|
||||
visibility: visible
|
||||
|
|
|
@ -36,10 +36,12 @@
|
|||
&:hover
|
||||
background: var(--block-hover)
|
||||
&:after
|
||||
content: ''
|
||||
|
||||
content: none
|
||||
>.toc
|
||||
padding: 4px
|
||||
background: var(--card)
|
||||
a.toc-link:before
|
||||
left: -2px
|
||||
width: 4px
|
||||
a.toc-link:hover
|
||||
background: var(--block)
|
||||
|
|
Loading…
Reference in New Issue