File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed
src/jupyter_contrib_nbextensions/nbextensions/toc2 Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -7,15 +7,15 @@ by selecting a color in the nbextension-configurator*/
7
7
8
8
9
9
10
- # toc-wrapper ul li span : hover {
10
+ # toc-wrapper li > span : hover {
11
11
background-color : # DAA520 ;
12
12
}
13
13
14
14
# toc-level0 a {
15
- /* color: #333333;*/ /* now specified in js */
15
+ color : # 333333 ; /* default - color also loaded from notebook config */
16
16
text-decoration : none;
17
17
}
18
- # navigate_menu ul li span : hover {background-color : # f1f1f1 }
18
+ # navigate_menu li > span : hover {background-color : # f1f1f1 }
19
19
20
20
21
21
/* Move menus and tooolbar to the left, following @Kevin-McIsaac suggestion
@@ -72,7 +72,6 @@ padding-left: 20px;
72
72
73
73
.toc ul .toc-item {
74
74
list-style-type : none;
75
- display : block;
76
75
padding : 0 ;
77
76
margin : 0 ;
78
77
}
@@ -149,11 +148,13 @@ padding-left: 20px;
149
148
150
149
/* don't waste so much screen space... */
151
150
152
- /*.toc .toc-item .toc-item {
151
+ /*
152
+ .toc .toc-item .toc-item {
153
153
padding-left: 1em;
154
154
}
155
155
*/
156
- .toc-item ul , li { margin : 0 ; padding : 0 }
156
+
157
+ .toc-item li { margin : 0 ; padding : 0 ; color : black }
157
158
.toc-item li > span { display : block }
158
159
.toc-item li > span { padding-left : 0em }
159
160
.toc-item li li > span { padding-left : 1em }
You can’t perform that action at this time.
0 commit comments