-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
243 lines (208 loc) · 5.59 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
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
/* ANIMATIONS */
.slide-right {
-webkit-animation: slide-right .5s cubic-bezier(.25, .46, .45, .94) both;
animation: slide-right .5s cubic-bezier(.25, .46, .45, .94) both
}
.slide-fwd-center {
-webkit-animation: slide-fwd-center 0.45s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
animation: slide-fwd-center 0.45s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}
@-webkit-keyframes slide-fwd-center {
0% {
-webkit-transform: translateZ(0);
transform: translateZ(0);
}
100% {
-webkit-transform: translateZ(160px);
transform: translateZ(160px);
}
}
@keyframes slide-fwd-center {
0% {
-webkit-transform: translateZ(0);
transform: translateZ(0);
}
100% {
-webkit-transform: translateZ(160px);
transform: translateZ(160px);
}
}
@-webkit-keyframes slide-right {
0% {
-webkit-transform: translateX(-100px);
transform: translateX(-100px)
}
100% {
-webkit-transform: translateX(0px);
transform: translateX(0px)
}
}
@keyframes slide-right {
0% {
-webkit-transform: translateX(-100px);
transform: translateX(-100px)
}
100% {
-webkit-transform: translateX(0px);
transform: translateX(0px)
}
}
/* IMAGES */
* {
letter-spacing: 1.5px;
}
.map {
height: 250px;
width: 300px;
border: white 2px solid;
}
#displayIcon {
display: none;
transform: scale(2);
}
#umbrella-logo {
width: 75px;
height: auto;
}
#footer-logo {
width: 85px;
height: auto;
padding-right: 22px;
}
#current_UVI {
color: white;
background: green;
padding: 4px;
}
#weather-icon {}
*{
max-width: 100%;
}
body {
text-align: center;
margin-left: auto;
margin-right: auto;
background-color: rgb(121, 149, 201);
max-width: 100%;
}
.header {
background: #1C84CE;
/* background: -moz-linear-gradient(top, #1C84CE 0%, #088595 50%, #09899A 100%);
background: -webkit-linear-gradient(top, #1C84CE 0%, #088595 50%, #09899A 100%);
background: linear-gradient(to bottom, #1C84CE 0%, #088595 50%, #09899A 100%); */
color: white;
border-bottom: rgb(7, 61, 161) 3px solid;
max-width: 100% !important;
height: auto;
}
#mainHeaderTitle{
text-shadow: 2px 2px 0px rgb(77, 74, 74), 5px 4px 0px rgba(0,0,0,0.15);
font-family: 'Exo 2', sans-serif;
}
.left-search-panel {
border: blueviolet 3px solid;
padding: 12px;
background-color: white;
}
.left-search-panel-form {
margin-left: auto;
margin-right: auto;
}
.left-search-panel-cities, .left-search-panel-search-history {
margin-right: auto;
margin-left: auto;
}
.left-search-panel-cities li, .left-search-panel-search-history li {
border: rgb(231, 230, 230) 0.2px solid;
padding: 6px;
word-wrap: break-word;
overflow: hidden;
}
.left-search-panel-cities li:nth-child(even), .left-search-panel-search-history li:nth-child(even) {
background-color: rgb(230, 230, 230);
}
.left-search-panel-cities li:hover, .left-search-panel-search-history li:hover {
border: rgb(88, 88, 88) 0.2px solid;
/* -webkit-box-shadow: -10px 0px 13px -7px #000000, 10px 0px 13px -7px #000000, 3px 2px 47px 19px rgba(0, 0, 0, 0.08);
box-shadow: -10px 0px 13px -7px #000000, 10px 0px 13px -7px #000000, 3px 2px 47px 19px rgba(0, 0, 0, 0.08); */
font-size: 18.5px;
font-weight: 600;
cursor: pointer;
text-overflow: ellipsis !important;
}
.right-detail-panel {
padding: 12px;
background-color: rgba(255, 255, 255, .15);
backdrop-filter: blur(5px);
border-radius: 15px;
-webkit-box-shadow: 0px 10px 13px -7px #313131, 2px 35px 49px 43px rgba(0, 0, 0, 0.03);
box-shadow: 0px 10px 13px -7px #2e2e2e, 2px 35px 49px 43px rgba(0, 0, 0, 0.03);
}
.current-weather-panel {
padding: 16px;
}
.current-weather-dashboard {
background-color: rgba(255, 255, 255, .15);
backdrop-filter: blur(5px);
padding: 42px;
border-radius: 15px;
margin-left:auto;
margin-right:auto;
-webkit-box-shadow: 0px 10px 13px -7px #313131, 2px 35px 49px 43px rgba(0, 0, 0, 0.03);
box-shadow: 0px 10px 13px -7px #2e2e2e, 2px 35px 49px 43px rgba(0, 0, 0, 0.03);
}
.future-weather-panel {
background-color: rgba(255, 255, 255, .15);
backdrop-filter: blur(5px);
padding: 28px;
border-radius: 15px;
-webkit-box-shadow: 0px 10px 13px -7px #313131, 2px 35px 49px 43px rgba(0, 0, 0, 0.03);
box-shadow: 0px 10px 13px -7px #2e2e2e, 2px 35px 49px 43px rgba(0, 0, 0, 0.03);
}
.future-weather-panel-title {
padding: 2px;
}
.future-forecast-day {
font-size: 14px;
border: black 2px solid;
margin-left: auto;
margin-right: auto;
background-color: rgb(221, 214, 214);
}
.weatherCards {
padding: 6px;
margin-left: auto;
margin-right: auto;
}
ul li {
list-style: none;
}
.footer {
border-top: rgb(87, 86, 86) 2px solid;
background-color: grey;
padding: 16px;
}
a {
color: black;
}
@media (max-width: 250px) {
.map {
height: 150px;
width: 150px;
border: white 2px solid;
padding: 0px;
margin-left: auto;
margin-right: auto;
}
}
@media (max-width: 580px) {
.left-search-panel-cities li {
font-size: 14px;
}
.left-search-panel-cities li:hover {
border: rgb(88, 88, 88) 0.2px solid;
/* -webkit-box-shadow: -10px 0px 13px -7px #000000, 10px 0px 13px -7px #000000, 3px 2px 47px 19px rgba(0, 0, 0, 0.08);
box-shadow: -10px 0px 13px -7px #000000, 10px 0px 13px -7px #000000, 3px 2px 47px 19px rgba(0, 0, 0, 0.08); */
cursor: pointer;
}
}