-
Notifications
You must be signed in to change notification settings - Fork 0
/
weatherAPI.css
224 lines (220 loc) · 4.7 KB
/
weatherAPI.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
body {
font-family: "Chakra Petch", sans-serif;
background: url("https://wallpapershome.com/images/pages/pic_h/6548.jpg");
background-size: 140rem;
background-repeat: no-repeat;
}
#head {
font-size: 80px;
text-align: center;
font-family: "Kaushan Script", cursive;
color: rgb(253, 218, 61);
padding: 10px 0;
margin: 0;
margin-bottom: 0px;
}
#input {
padding: 10px 50px;
margin-left: 35px;
border-radius: 10px;
border: none;
box-shadow: rgba(0, 0, 0, 0.56) 0px 22px 70px 4px;
}
#display {
position: relative;
height: 40px;
width: 200px;
margin: 0 35px;
border-radius: 50px;
border: none;
outline: none;
background: rgb(80, 79, 79);
color: #fff;
font-size: 20px;
font-weight: 500;
letter-spacing: 2px;
text-transform: uppercase;
cursor: pointer;
transition: background 0.5s;
box-shadow: rgba(0, 0, 0, 0.56) 0px 22px 70px 4px;
}
#display:hover {
background: linear-gradient(90deg, #03a9f4, #f441a5, #ffeb3b, #03a9f4);
background-size: 400%;
}
#display:before {
content: "";
position: absolute;
background: inherit;
top: -5px;
right: -5px;
bottom: -5px;
left: -5px;
border-radius: 50px;
filter: blur(10px);
opacity: 0;
transition: opacity 0.5s;
}
#display:hover:before {
opacity: 1;
z-index: -1;
}
#display:hover {
z-index: 1;
animation: glow 6s linear infinite;
}
@keyframes glow {
0% {
background-position: 0%;
}
100% {
background-position: 400%;
}
}
#container {
display: grid;
grid-template-columns: 32rem 55rem;
height: 560px;
padding: 30px;
gap: 50px;
justify-content: space-between;
}
#displayWeather {
/* background: rgba(255, 255, 255, 0.3); */
/* width: 35%; */
text-align: center;
border-radius: 14px;
/* box-shadow: rgba(0, 0, 0, 0.56) 0px 22px 70px 4px; */
font-size: 19px;
font-weight: 600;
}
#displayWeather > h2 {
color: red;
text-shadow: 0 0 35px #ff0000;
margin: auto;
border-radius: 10px;
margin-top: 10px;
}
#displayWeather span {
font-family: "Saira Condensed", sans-serif;
font-size: 90px;
}
#displayWeather :nth-child(2),
#displayWeather :nth-child(3) {
color: rgb(209, 255, 134);
text-shadow: 0 0 40px #88ff00;
}
#displayWeather :nth-child(4),
#displayWeather :nth-child(5) {
color: rgb(110, 164, 250);
text-shadow: 0 0 40px #003cff;
}
#displayWeather :nth-child(8) {
color: #8bffe6;
text-shadow: 0 0 40px #00eeff;
}
.gmap_canvas {
overflow: hidden;
background: none !important;
border-radius: 12px;
}
.mapouter {
height: 500px;
/* width: 60%; */
border-radius: 12px;
text-align: center;
background-color: azure;
background: transparent;
opacity: 100%;
}
#sevenDayReport {
margin-top: 30px;
display: grid;
grid-template-columns: repeat(7, 10rem);
justify-content: space-around;
text-align: center;
gap: 2rem;
background: rgba(0, 0, 0, 0.3);
padding: 0 20px;
width: 97rem;
}
#sevenDayReport > div {
color: white;
background: rgba(0, 0, 0, 0.3);
padding: 10px 0;
height: 85%;
margin: auto 0;
border-radius: 12px;
}
#sevenDayReport > div > h4 {
font-family: "Supermercado One", cursive;
font-size: 25px;
margin: 0;
}
#sevenDayReport > div > img {
width: 50%;
}
/* For small boxes */
@media only screen and (min-width: 0px) and (max-width: 320px) {
#container {
display: grid;
grid-template-columns: repeat(1, 1fr);
grid-template-rows: 400px 100px;
gap: 20px;
}
#sevenDayReport {
display: grid;
grid-template-columns: repeat(1, 12rem);
text-align: center;
gap: 0.5rem;
background: rgba(0, 0, 0, 0.3);
padding: 0 10px;
margin: auto;
margin-top: 400px;
width: 100%;
}
.mapouter {
height: 100px;
/* width: 60%; */
border-radius: 12px;
text-align: center;
background-color: azure;
background: transparent;
opacity: 100%;
}
#displayWeather span {
font-family: "Saira Condensed", sans-serif;
font-size: 50px;
}
body {
font-family: "Chakra Petch", sans-serif;
background: url("https://wallpapershome.com/images/pages/pic_h/6548.jpg");
background-size: 400rem;
background-repeat: no-repeat;
}
}
/* For medium boxes */
@media only screen and (min-width: 321px) and (max-width: 720px) {
#container {
grid-template-columns: repeat(1, 1fr);
grid-template-rows: repeat(3, 1fr);
gap: 20px;
}
#sevenDayReport {
display: grid;
grid-template-columns: repeat(1, 18rem);
text-align: center;
gap: 0.5rem;
background: rgba(0, 0, 0, 0.3);
padding: 0 10px;
margin: auto;
width: 100%;
margin-top: 450px;
}
body {
font-family: "Chakra Petch", sans-serif;
background: url("https://wallpapershome.com/images/pages/pic_h/6548.jpg");
background-size: 400rem;
background-repeat: no-repeat;
}
}