docs: nicer search input & no autocomplete
This commit is contained in:
parent
6f3797ed4d
commit
5b93b2c721
2 changed files with 7 additions and 2 deletions
|
|
@ -189,8 +189,13 @@ h1:first-child {
|
|||
border-radius: 15px;
|
||||
color: #eee;
|
||||
outline: none;
|
||||
padding:6px 12px;
|
||||
padding:3px 12px;
|
||||
margin-right: 10px;
|
||||
transition: all .25s;
|
||||
&:focus {
|
||||
background: white;
|
||||
color:#333;
|
||||
}
|
||||
}
|
||||
|
||||
@import 'mobile';
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@
|
|||
<span id="menu" class="hide-md header-buttons">
|
||||
<div role="search">
|
||||
<form action="{{ "search.html"|url }}" method="get">
|
||||
<input id="mkdocs-search-query" type="search" name="q" placeholder="Search" />
|
||||
<input id="mkdocs-search-query" type="search" name="q" placeholder="Search" autocomplete="off"/>
|
||||
</form>
|
||||
</div>
|
||||
<a href="{{ "/"|url}}" class="{% if page.is_homepage %}active{% endif %}">Home</a>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue