File tree 3 files changed +20
-7
lines changed 3 files changed +20
-7
lines changed Original file line number Diff line number Diff line change @@ -1137,7 +1137,7 @@ div.viewcode-block:target {
1137
1137
border : 1px solid # 11557C ;
1138
1138
background : # eff9ff ;
1139
1139
padding : 2px ;
1140
- margin-top : 40 px ;
1140
+ margin-top : 1 em ;
1141
1141
}
1142
1142
1143
1143
.sidebar-announcement p {
@@ -1162,11 +1162,21 @@ nav.main-nav{
1162
1162
margin : 8px 15px ;
1163
1163
list-style-type : none;
1164
1164
}
1165
-
1165
+
1166
1166
nav .main-nav a {
1167
1167
color : white;
1168
1168
}
1169
1169
1170
1170
nav .main-nav a : hover {
1171
1171
text-decoration : underline;
1172
- }
1172
+ }
1173
+
1174
+ nav .main-nav li .nav-right {
1175
+ margin : 6px 15px 0 auto;
1176
+ }
1177
+
1178
+ nav .main-nav input {
1179
+ border : 0 ;
1180
+ padding : 3px 6px ;
1181
+ width : 198px ;
1182
+ }
Original file line number Diff line number Diff line change 50
50
< li > < a href ="{{ pathto('gallery/index') }} "> Examples</ a > </ li >
51
51
< li > < a href ="{{ pathto('tutorials/index') }} "> Tutorials</ a > </ li >
52
52
< li > < a href ="{{ pathto('devel/index') }} "> Contributing</ a > </ li >
53
+ < li class ="nav-right ">
54
+ < form class ="search " action ="search.html " method ="get ">
55
+ < input type ="text " name ="q " aria-labelledby ="searchlabel " placeholder ="Search "/>
56
+ </ form >
57
+ </ li >
53
58
</ ul >
54
59
</ nav >
55
60
{%- endblock %}
Original file line number Diff line number Diff line change @@ -258,10 +258,8 @@ def _check_dependencies():
258
258
259
259
# Custom sidebar templates, maps page names to templates.
260
260
html_sidebars = {
261
- 'index' : ['searchbox.html' , 'sidebar_announcement.html' ,
262
- 'donate_sidebar.html' ],
263
- '**' : ['searchbox.html' , 'localtoc.html' , 'relations.html' ,
264
- 'pagesource.html' ]
261
+ 'index' : ['sidebar_announcement.html' , 'donate_sidebar.html' ],
262
+ '**' : ['localtoc.html' , 'relations.html' , 'pagesource.html' ]
265
263
}
266
264
267
265
# If false, no module index is generated.
You can’t perform that action at this time.
0 commit comments