File tree Expand file tree Collapse file tree 3 files changed +20
-5
lines changed Expand file tree Collapse file tree 3 files changed +20
-5
lines changed Original file line number Diff line number Diff line change
1
+ {#
2
+ basic/searchbox.html with heading removed.
3
+ #}
4
+ {%- if pagename != "search" and builder != "singlehtml" %}
5
+ < div id ="searchbox " style ="display: none " role ="search ">
6
+ < div class ="searchformwrapper ">
7
+ < form class ="search " action ="{{ pathto('search') }} " method ="get ">
8
+ < input type ="text " name ="q " aria-labelledby ="searchlabel "
9
+ placeholder ="Search "/>
10
+ < input type ="submit " value ="{{ _('Go') }} " />
11
+ </ form >
12
+ </ div >
13
+ </ div >
14
+ < script type ="text/javascript "> $ ( '#searchbox' ) . show ( 0 ) ; </ script >
15
+ {%- endif %}
Original file line number Diff line number Diff line change @@ -106,14 +106,14 @@ div.sphinxsidebar h3,
106
106
div.sphinxsidebar h4 {
107
107
font-family: {{ header_font }};
108
108
color: #444;
109
- font-size: 24px ;
109
+ font-size: 21px ;
110
110
font-weight: normal;
111
- margin: 0 0 5px 0;
111
+ margin: 16px 0 0 0;
112
112
padding: 0;
113
113
}
114
114
115
115
div.sphinxsidebar h4 {
116
- font-size: 20px ;
116
+ font-size: 18px ;
117
117
}
118
118
119
119
div.sphinxsidebar h3 a {
Original file line number Diff line number Diff line change 167
167
168
168
html_sidebars = {
169
169
"index" : [
170
+ "slim_searchbox.html" ,
170
171
"sidebarintro.html" ,
171
172
"globaltoc.html" ,
172
173
"links.html" ,
173
174
"sourcelink.html" ,
174
- "searchbox.html" ,
175
175
],
176
176
"**" : [
177
+ "slim_searchbox.html" ,
177
178
"globaltoc.html" ,
178
179
"relations.html" ,
179
180
"links.html" ,
180
181
"sourcelink.html" ,
181
- "searchbox.html" ,
182
182
],
183
183
}
184
184
You can’t perform that action at this time.
0 commit comments