mirror of https://github.com/docker/docs.git
landing page: set focus on search field
Also updates the CSS to reduce the "focus highlight" applied by browsers. Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
ad9704bec7
commit
6d7de2ee14
|
@ -71,6 +71,7 @@
|
||||||
autocomplete="off"
|
autocomplete="off"
|
||||||
spellcheck="false"
|
spellcheck="false"
|
||||||
dir="auto"
|
dir="auto"
|
||||||
|
autofocus
|
||||||
/>
|
/>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -105,6 +105,11 @@ body#landing {
|
||||||
height: 50px;
|
height: 50px;
|
||||||
line-height: 24px;
|
line-height: 24px;
|
||||||
padding: 13px 20px;
|
padding: 13px 20px;
|
||||||
|
|
||||||
|
&:focus {
|
||||||
|
box-shadow: none;
|
||||||
|
outline: none;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue