Skip to content

Commit 55b0af6

Browse files
committed
add blurry background to about container and add desktop media query
1 parent 3d3ecc3 commit 55b0af6

File tree

1 file changed

+63
-3
lines changed

1 file changed

+63
-3
lines changed

weatherApp/css/style.css

Lines changed: 63 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -181,15 +181,18 @@ html {
181181
/*Format about text*/
182182
.aboutContent {
183183
text-align: center;
184-
background-color: #304c89;
184+
background-color: rgba(255, 255, 255, 0.3);
185185
padding: 5%;
186186
border-radius: 12px;
187+
backdrop-filter: blur(10px);
188+
-webkit-backdrop-filter: blur(10px);
187189
}
188190

189191
.aboutContent h2 {
190192
font-family: monospace;
191193
font-size: 2em;
192-
color: white;
194+
font-weight: bold;
195+
color: black;
193196
text-align: left;
194197
}
195198

@@ -205,7 +208,7 @@ html {
205208
text-align: left;
206209
line-height: 2;
207210
letter-spacing: 2px;
208-
color: white;
211+
color: black;
209212
font-size: 0.9em;
210213
}
211214

@@ -269,3 +272,60 @@ footer p {
269272
}
270273

271274
/********************End of Footer Formatting********************/
275+
276+
/********************Media Query Formatting********************/
277+
@media screen and (min-width: 1300px) {
278+
279+
/*Format weather container*/
280+
281+
/*Format weather box width*/
282+
.weatherContent {
283+
width: 50%;
284+
}
285+
286+
/*Format weather box title*/
287+
.weatherBox h2 {
288+
font-size: 6em;
289+
}
290+
291+
/*Format weather box input*/
292+
.weatherBox input {
293+
font-size: 2.5em;
294+
}
295+
296+
/*Format weather box button*/
297+
.weatherBox button {
298+
font-size: 2.5em;
299+
width: 100px;
300+
text-align: center;
301+
}
302+
/*About container formatting*/
303+
304+
/*Format width of about content container*/
305+
.aboutContent {
306+
width: 50%;
307+
}
308+
309+
/*Format about content title*/
310+
.aboutContent h2 {
311+
font-size: 3em;
312+
}
313+
314+
/*Format about content img*/
315+
.aboutContent img {
316+
width: 30%;
317+
}
318+
319+
/*Format about content p*/
320+
.aboutContent p {
321+
font-size: 1.6em;
322+
}
323+
324+
/*Format footer*/
325+
326+
/*Format footer p tag*/
327+
footer p {
328+
font-size: 1.5em;
329+
}
330+
331+
}

0 commit comments

Comments
 (0)