-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsearch.css
114 lines (105 loc) · 2.11 KB
/
search.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
body {
font-family: Arial, san-serif;
background-color: whitesmoke;
}
.state {
color: red;
color: blue;
}
.city {
cursor: default;
}
.city-state {
font-size: 1.4rem;
margin-bottom: 2.5rem;
color: #c4b2b9;
cursor: default;
align-items: center;
}
.searchTitle {
color: rgb(54, 49, 49);
font-size: 48px;
background-image: linear-gradient(to right, #ff0066, #6600cc);
background-clip: text;
-webkit-background-clip: text;
font-family: "Arial", sans-serif;
font-weight: bold;
color: #c4b2b9;
letter-spacing: 2px;
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
text-align: center;
margin-left: 20px;
}
.container {
display: flex;
align-items: center;
position: sticky;
top: 0;
z-index: 100;
border-radius: 8px;
background-color: #f2f2f2;
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}
.container.sticky {
position: fixed;
background-color: rgba(255, 255, 255, 0.95);
}
.search-box {
margin-left: 500px;
display: flex;
padding: 15px;
font-size: 100px;
background-color: #ffffff;
border-radius: 40px;
}
.modal {
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
max-width: 60rem;
padding: 5rem 6rem;
transition: all 0.5s;
}
.results {
box-shadow: 0 2rem 5rem 1rem rgba(0, 0, 0, 0.1);
/*background-color: #cccccc;*/
font-size: 1.8rem;
/*width: 30rem;*/
border-radius: 0.7rem;
/*margin-left: 28rem;*/
justify-content: center;
flex-direction: column;
display: flex;
/* margin-top: 2rem;*/
align-items: center;
}
.search-box .search-icon {
position: relative;
cursor: pointer;
margin-right: 10px;
color: #000000;
font-size: 20px;
transform: scale(1.2);
}
.search-icon {
color: rgb(54, 49, 49);
border-top: yellow;
}
.search-box input[type="text"] {
width: 500px;
padding: 3px;
border: none;
background: none;
outline: none;
font-size: 20px;
color: #cccccc;
}
.search-box input[type="text"]::placeholder {
color: #cccccc;
font-size: 20px;
}
.hidden {
visibility: hidden;
opacity: 0;
}