Fix nested toc style issue on sidebar (#595)

1. Remove recursive toc outer tag li
2. remove .sidebar li marginLeft
3. add .sidebar ul marginLeft
This commit is contained in:
keelii 2018-08-09 07:36:23 +08:00 • committed by cinwell.li
commit 100ab01811
6 changed files with 11 additions and 14 deletions

View file

@ -236,7 +236,7 @@ main.hidden
display none
ul
margin 0
margin 0 0 0 15px
padding 0
li > p

View file

@ -20,7 +20,7 @@ $sidebar-width = 16rem
li
list-style none
margin 0
padding 0.2em 0 0.2em 1rem
padding 0.2em 0 0.2em 0
ul li ul
padding 0

View file

@ -17,7 +17,7 @@ body
color #c8c8c8
li
margin 6px 15px
margin 6px 15px 6px 0
ul li a
color #c8c8c8

View file

@ -17,7 +17,7 @@ body
color #364149
li
margin 6px 0 6px 15px
margin 6px 0 6px 0
ul li a
color #505d6b