51
51
white-space : pre-wrap
52
52
height : auto
53
53
min-height : $base-font-size * 2
54
- line-height : $base-font-size * 1.5
55
54
56
55
ul
57
56
margin-bottom : 0
78
77
padding-right : 0
79
78
color : #FF3737
80
79
// Expand links
81
- // span.toctree-expand
82
- // display: block
83
- // float: left
84
- // margin-left: -1.2em
85
- // @extend .fa
86
- // @extend .fa-plus-square-o
87
- // font-size: .8em
88
- // line-height: 1.6em
89
- // color: darken($menu-link-medium, 20%)
80
+ span .toctree-expand
81
+ display : block
82
+ float : left
83
+ margin-left : -1.2em
84
+ @extend .fa
85
+ @extend .fa-plus-square-o
86
+ font-size : .8em
87
+ line-height : 1.6em
88
+ color : darken ($menu-link-medium , 20% )
90
89
91
90
// On state for the first level
92
91
li .on a , li .current > a
@@ -101,13 +100,13 @@ html
101
100
background : transparent
102
101
span .toctree-expand
103
102
color : $menu-link-medium
104
- // span.toctree-expand
105
- // @extend .fa
106
- // @extend .fa-minus-square-o
107
- // display: block
108
- // font-size: .8em
109
- // line-height: 1.6em
110
- // color: darken($menu-link-medium, 30%)
103
+ span .toctree-expand
104
+ @extend .fa
105
+ @extend .fa-minus-square-o
106
+ display : block
107
+ font-size : .8em
108
+ line-height : 1.6em
109
+ color : darken ($menu-link-medium , 30% )
111
110
112
111
li .toctree-l1.current > a
113
112
// border-bottom: solid 1px darken($menu-vertical-background-color, 20%)
@@ -134,18 +133,6 @@ html
134
133
display : block
135
134
136
135
@for $toc_level from 1 through 10
137
- .toctree-l #{$toc_level} > ul
138
- position : relative
139
- & :before
140
- content : " "
141
- display : block
142
- position : absolute
143
- top : ($gutter / 4 ) + .2
144
- bottom : ($gutter / 4 ) + .2
145
- left : if($toc_level > 1 , $gutter * ($toc_level ), $gutter )
146
- width : 1px
147
- background-color : #d3d3d3
148
-
149
136
.toctree-l #{$toc_level}.current .toctree-l #{$toc_level + 1}
150
137
@extend %hide_show_toctree_ul
151
138
@if $toc_level > 1
361
348
.wy-nav-content
362
349
padding : $gutter $gutter * 2
363
350
height : 100%
364
- max-width : 100 %
351
+ max-width : $ nav-content-width
365
352
margin : auto
366
353
367
354
.wy-body-mask
@@ -445,8 +432,6 @@ footer
445
432
overflow : hidden
446
433
447
434
@media screen and (min-width : $nav-media-query )
448
- .wy-nav-content-wrap
449
- background : rgba(0 ,0 ,0 ,.05 )
450
435
.wy-nav-content
451
436
margin : 0
452
437
background : $section-background-color
0 commit comments