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,
106106div.sphinxsidebar h4 {
107107 font-family: {{ header_font }};
108108 color: #444;
109- font-size: 24px ;
109+ font-size: 21px ;
110110 font-weight: normal;
111- margin: 0 0 5px 0;
111+ margin: 16px 0 0 0;
112112 padding: 0;
113113}
114114
115115div.sphinxsidebar h4 {
116- font-size: 20px ;
116+ font-size: 18px ;
117117}
118118
119119div.sphinxsidebar h3 a {
Original file line number Diff line number Diff line change 165165
166166html_sidebars = {
167167 "index" : [
168+ "slim_searchbox.html" ,
168169 "sidebarintro.html" ,
169170 "globaltoc.html" ,
170171 "links.html" ,
171172 "sourcelink.html" ,
172- "searchbox.html" ,
173173 ],
174174 "**" : [
175+ "slim_searchbox.html" ,
175176 "globaltoc.html" ,
176177 "relations.html" ,
177178 "links.html" ,
178179 "sourcelink.html" ,
179- "searchbox.html" ,
180180 ],
181181}
182182
You can’t perform that action at this time.
0 commit comments