mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Merge cff3cfb884
into 6d113dc788
This commit is contained in:
commit
6dbb2dac76
@ -5,7 +5,7 @@
|
||||
<div class="searchformwrapper">
|
||||
<form class="search" action="{{ pathto('search') }}" method="get">
|
||||
<input type="text" name="q" aria-labelledby="searchlabel" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"/>
|
||||
<input type="submit" value="{{ _('Go') }}" />
|
||||
<input type="submit" value="{{ _('🔍') }}" />
|
||||
</form>
|
||||
</div>
|
||||
</search>
|
||||
|
@ -8,8 +8,8 @@ in the search field.
|
||||
<search id="searchbox" style="display: none" role="search">
|
||||
<div class="searchformwrapper">
|
||||
<form class="search" action="{{ pathto('search') }}" method="get">
|
||||
<input type="text" name="q" aria-labelledby="searchlabel" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" placeholder="Search"/>
|
||||
<input type="submit" value="{{ _('Go') }}" />
|
||||
<input type="text" name="q" aria-labelledby="searchlabel" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" placeholder="Search…"/>
|
||||
<input type="submit" value="{{ _('🔍︎') }}" />
|
||||
</form>
|
||||
</div>
|
||||
</search>
|
||||
|
@ -86,16 +86,17 @@ div.sphinxsidebar #searchbox form.search {
|
||||
|
||||
div.sphinxsidebar #searchbox input[type="text"] {
|
||||
float: left;
|
||||
width: 80%;
|
||||
padding: 0.25em;
|
||||
width: 84%;
|
||||
height: 2em;
|
||||
padding-left: 0.4em;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
div.sphinxsidebar #searchbox input[type="submit"] {
|
||||
float: left;
|
||||
width: 20%;
|
||||
width: 16%;
|
||||
height: 2em;
|
||||
border-left: none;
|
||||
padding: 0.25em;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user