File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1137,7 +1137,7 @@ div.viewcode-block:target {
11371137 border : 1px solid # 11557C ;
11381138 background : # eff9ff ;
11391139 padding : 2px ;
1140- margin-top : 40 px ;
1140+ margin-top : 1 em ;
11411141}
11421142
11431143.sidebar-announcement p {
@@ -1162,11 +1162,21 @@ nav.main-nav{
11621162 margin : 8px 15px ;
11631163 list-style-type : none;
11641164 }
1165-
1165+
11661166 nav .main-nav a {
11671167 color : white;
11681168 }
11691169
11701170 nav .main-nav a : hover {
11711171 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 @@ -236,6 +236,11 @@ <h3>{{ _('Navigation') }}</h3>
236236 < li > < a href ="{{ pathto('gallery/index') }} "> Examples</ a > </ li >
237237 < li > < a href ="{{ pathto('tutorials/index') }} "> Tutorials</ a > </ li >
238238 < li > < a href ="{{ pathto('devel/index') }} "> Contributing</ a > </ li >
239+ < li class ="nav-right ">
240+ < form class ="search " action ="search.html " method ="get ">
241+ < input type ="text " name ="q " aria-labelledby ="searchlabel " placeholder ="Search "/>
242+ </ form >
243+ </ li >
239244 </ ul >
240245 </ nav >
241246{%- endblock %}
Original file line number Diff line number Diff line change @@ -249,10 +249,8 @@ def _check_dependencies():
249249
250250# Custom sidebar templates, maps page names to templates.
251251html_sidebars = {
252- 'index' : ['searchbox.html' , 'sidebar_announcement.html' ,
253- 'donate_sidebar.html' ],
254- '**' : ['searchbox.html' , 'localtoc.html' , 'relations.html' ,
255- 'pagesource.html' ]
252+ 'index' : ['sidebar_announcement.html' , 'donate_sidebar.html' ],
253+ '**' : ['localtoc.html' , 'relations.html' , 'pagesource.html' ]
256254}
257255
258256# If false, no module index is generated.
You can’t perform that action at this time.
0 commit comments