forked from bloodchen/maxsearch
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
174 lines (159 loc) · 3.08 KB
/
style.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
/* START: Top navigation bar*/
.header {
overflow: hidden;
padding: 10px 8px;
}
/* upper bar 2 upper right images */
.grid {
height: 25px;
width: auto;
}
.gaby {
height: 28px;
width: auto;
border-radius: 50%;
}
/* Top navigation hover text */
.header a {
float: left;
color: black;
text-align: center;
padding: 8px;
text-decoration: none;
font-size: 18px;
line-height: 25px;
border-radius: 4px;
}
/* Hover background color for header */
.header a:hover {
background-color: #ddd;
color: black;
}
/* Top navigation bar right two buttons, grid, and picture */
.header-right {
float: right;
}
/* media querie header - when the screen is 370px wide or less, stack the links on top of each other */
@media screen and (max-width: 370px) {
.header a {
float: none;
display: block;
text-align: left;
}
.header-right {
float: none;
}
}
/* END: Top navigation */
/* START: center div that holds everything */
.center {
display: flex;
flex-direction: column;
align-items: center;
}
/* Top: search box with magniying glass, input, and microphone */
.center-top {
width: 560px;
height: 40px;
text-align: center;
border: 1px solid;
border-radius: 90px;
border-color: #c6c6c6;
}
.center-top:hover {
box-shadow: 0 1px 6px #dfe1e5;
}
.icon {
color: #5f6368;
}
.input2{
border: none;
outline: none;
height: 35px;
width: 470px;
font-size: 16px;
background: url("https://www.google.com/cse/static/images/1x/en/branding.png") left center no-repeat rgb(255, 255, 255);
}
.input2:focus{
background:white;
outline: none;
}
/* Icons are only decorative */
.icons {
color: #5f6368;
}
/* google image*/
.logo {
padding: 20px;
}
.center-bottom {
display: block;
text-align: center;
padding-top: 18px;
}
.button {
background-image: linear-gradient(top, #f5f5f5, #f1f1f1);
background-color: #f2f2f2;
border: 1px solid #f2f2f2;
border-radius: 4px;
color: #5f6368;
font-family: arial, sans-serif;
font-size: 14px;
margin: 11px 4px;
padding: 0 16px;
line-height: 27px;
height: 36px;
min-width: 54px;
text-align: center;
cursor: pointer;
user-select: none;
}
.button:hover {
border: 1px solid #c6c6c6;
box-shadow: 0 1px 1px #dfe1e5;
}
/* END: center */
/* START: Footer bar all */
.footer {
overflow: hidden;
background-color: #f2f2f2;
padding: 10px 8px;
bottom: 0;
position: fixed;
border-top: 1px solid #e4e4e4;
line-height: 40px;
width: 100%;
}
/* Footer hover text */
.footer a {
float: left;
color: black;
text-align: center;
padding: 8px;
text-decoration: none;
font-size: 18px;
line-height: 25px;
border-radius: 4px;
}
/* Hover background color for footer */
.footer a:hover {
background-color: #ddd;
color: black;
}
/* Footer right 3 buttons */
.footer-right {
float: right;
padding-right: 20px;
}
/* media querie footer - when the screen is 565px wide or less, stack the links on top of each other */
@media screen and (max-width: 565px) {
.footer a {
float: none;
display: block;
text-align: left;
}
.footer-right {
float: none;
}
}
/* END: Footer */