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 165
165
166
166
html_sidebars = {
167
167
"index" : [
168
+ "slim_searchbox.html" ,
168
169
"sidebarintro.html" ,
169
170
"globaltoc.html" ,
170
171
"links.html" ,
171
172
"sourcelink.html" ,
172
- "searchbox.html" ,
173
173
],
174
174
"**" : [
175
+ "slim_searchbox.html" ,
175
176
"globaltoc.html" ,
176
177
"relations.html" ,
177
178
"links.html" ,
178
179
"sourcelink.html" ,
179
- "searchbox.html" ,
180
180
],
181
181
}
182
182
You can’t perform that action at this time.
0 commit comments