File tree Expand file tree Collapse file tree 2 files changed +32
-13
lines changed Expand file tree Collapse file tree 2 files changed +32
-13
lines changed Original file line number Diff line number Diff line change @@ -74,19 +74,6 @@ body {
74
74
min-width : 200px ;
75
75
}
76
76
77
- input .search {
78
- font-size : 90% ;
79
- border : none ;
80
- color : black ;
81
- outline : 0 ;
82
- margin-left : 30px ;
83
- padding : 5px 5px 5px 25px ;
84
- background-image : url (' /assets/search.png' );
85
- background-repeat : no-repeat ;
86
- background-position : 6px 6px ;
87
- @include border-radius (15px );
88
- }
89
-
90
77
button {
91
78
background : none ;
92
79
outline : 0 ;
@@ -118,6 +105,31 @@ body {
118
105
}
119
106
}
120
107
108
+ #header input .search , #mobile-search input .search {
109
+ font-size : 90% ;
110
+ border : none ;
111
+ color : black ;
112
+ outline : 0 ;
113
+ margin-left : 30px ;
114
+ padding : 5px 5px 5px 25px ;
115
+ background-image : url (' /assets/search.png' );
116
+ background-repeat : no-repeat ;
117
+ background-position : 6px 6px ;
118
+ @include border-radius (15px );
119
+ }
120
+
121
+ #mobile-search {
122
+ display : none ;
123
+ margin-bottom : 10px ;
124
+ input .search {
125
+ width : 100% ;
126
+ margin : 0 ;
127
+ }
128
+ @media only screen and (max-width : 820px ) {
129
+ display : block ;
130
+ }
131
+ }
132
+
121
133
span .small {
122
134
color : $main-color-light ;
123
135
font-size : 80% ;
Original file line number Diff line number Diff line change 70
70
</div >
71
71
</div >
72
72
73
+ <form id =' mobile-search' class =' search' action =' /search' {{ action " search" on =" submit" }} >
74
+ {{ input type =" text" class =" search" name =" q"
75
+ placeholder =" Search"
76
+ value =search
77
+ tabindex =" 1" }}
78
+ </form >
79
+
73
80
<div id =" main" class =' inner-content' >
74
81
<p id =' flash' class ={{ if flashError " shown" }} >{{ flashError }} </p >
75
82
You can’t perform that action at this time.
0 commit comments