File tree Expand file tree Collapse file tree 1 file changed +20
-2
lines changed
Expand file tree Collapse file tree 1 file changed +20
-2
lines changed Original file line number Diff line number Diff line change 44nav {
55 display : none ;
66}
7+ #search-input {
8+ width : calc (100% - 58px );
9+ }
10+ #search-but {
11+ cursor : pointer ;
12+ }
13+ #search-but , #search-input {
14+ padding : 4px ;
15+ border : 1px solid #ccc ;
16+ border-radius : 3px ;
17+ outline : none ;
18+ font-size : 0.7em ;
19+ background-color : #fff ;
20+ }
21+ #search-but :hover , #search-input :focus {
22+ border-color : #55a9ff ;
23+ }
724</style >
825
926Welcome to an overview of the documentation provided by the Rust project.
@@ -45,8 +62,9 @@ accomplishing various tasks.
4562
4663<div >
4764 <form action =" std/index.html " method =" get " >
48- <input type="search" name="search"/>
49- <button>Search</button>
65+ <input id="search-input" type="search" name="search"
66+ placeholder="Search through the standard library"/>
67+ <button id="search-but">Search</button>
5068 </form >
5169</div >
5270
You can’t perform that action at this time.
0 commit comments