-
Notifications
You must be signed in to change notification settings - Fork 0
/
fruit-style.css
94 lines (81 loc) · 1.39 KB
/
fruit-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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Ubuntu', sans-serif;
}
input:focus {
border-width: 3px;
}
body {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: 300px;
background: linear-gradient(270deg, rgba(91, 191, 254, 0.445), rgba(253, 238, 30, 0.231));
}
.title {
display: flex;
flex-direction: column;
align-items: center;
padding: 30px 0;
}
.title h1 {
margin: 10px 0 5px 0;
}
input {
width: 100%;
font-size: 17px;
padding: 9px;
border-radius: 5px;
}
.search-container {
position: relative;
display: inline-block;
background: none
}
#searchBar {
position: relative;
background: transparent;
}
#searchBar input {
width: 100%;
margin: 3px;
padding: 3px 40px 3px 3px;
background: none;
box-shadow: 0px, 1px, 5px, 3px, rgba(0,0,0,0.3);
}
#searchBar button {
width: 70px;
margin: 3px;
padding: 3px 3px;
border-radius: 5px;
position: absolute;
top: 0;
right: 0;
left: 100%;
background: none;
}
ul {
display: none;
list-style-type: none;
font-size: 15px;
cursor: pointer;
box-shadow: 3px 3px 16px 0px rgba(0,0,0,0.2);
}
ul.has-suggestions {
position: absolute;
display: flex;
flex-direction: column;
align-items: left;
width: 75%;
z-index: 1;
}
ul li {
min-width: 159px;
padding: 8px 12px;
}
.highlight {
background-color: rgba(0,0,0,0.3);
}