File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -329,6 +329,42 @@ footer {
329329 color : # 7AD03A ;
330330}
331331
332+ /* Search in header */
333+ input .search {
334+ border-radius : 3em ;
335+ width : 200px ;
336+ background : # 292929 ;
337+ color : # 585858 ;
338+ }
339+
340+ .main-nav .search {
341+ border : none;
342+ color : # f1f1f1 ;
343+ font-size : 14px ;
344+ line-height : 18px ;
345+ padding : 0.4em 0.5em 0.5em 0.5em ;
346+ -webkit-transition-duration : 400ms ;
347+ -webkit-transition-property : width, background;
348+ -webkit-transition-timing-function : ease;
349+ -moz-transition-duration : 400ms ;
350+ -moz-transition-property : width, background;
351+ -moz-transition-timing-function : ease;
352+ -o-transition-duration : 400ms ;
353+ -o-transition-property : width, background;
354+ -o-transition-timing-function : ease;
355+ }
356+
357+ .main-nav .search : hover {
358+ color : # f1f1f1 ;
359+ }
360+
361+ .main-nav .search : focus {
362+ width : 180px ;
363+ }
364+ .main-nav .btn-search {
365+ display : none;
366+ }
367+
332368/**
333369 * Main Content
334370 */
You can’t perform that action at this time.
0 commit comments