Skip to content

Commit 0d084a8

Browse files
committed
add tablet media query formatting
1 parent 55b0af6 commit 0d084a8

File tree

1 file changed

+84
-1
lines changed

1 file changed

+84
-1
lines changed

weatherApp/css/style.css

Lines changed: 84 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,90 @@ footer p {
274274
/********************End of Footer Formatting********************/
275275

276276
/********************Media Query Formatting********************/
277-
@media screen and (min-width: 1300px) {
277+
278+
/*Tablet Formatting*/
279+
@media screen and (min-width: 768px) and (max-width: 1199px) {
280+
281+
/*Format nav bar font*/
282+
.navbar-brand {
283+
font-size: 3em;
284+
}
285+
286+
/*Format box icon*/
287+
.navbar-toggler {
288+
font-size: 2em;
289+
}
290+
291+
/*Format nav links*/
292+
.nav-link {
293+
font-size: 2em;
294+
}
295+
296+
/*Format weather Container*/
297+
298+
/*Format weather box width*/
299+
.weatherContent {
300+
width: 80%;
301+
}
302+
303+
/*Format search input*/
304+
.weatherBox input {
305+
width: 400px;
306+
font-size: 2em;
307+
}
308+
309+
/*Format search button*/
310+
.weatherBox button {
311+
width: 65px;
312+
height: 60px;
313+
text-align: center;
314+
font-size: 2em;
315+
}
316+
317+
/*Format about container*/
318+
319+
/*Format about content width*/
320+
.aboutContent {
321+
width: 90%;
322+
}
323+
324+
/*Format weather title*/
325+
.aboutContent h2 {
326+
font-size: 3em;
327+
}
328+
329+
/*Format about content img*/
330+
.aboutContent img {
331+
width: 40%;
332+
}
333+
334+
/*Format about content p*/
335+
.aboutContent p {
336+
font-size: 2em;
337+
}
338+
339+
/*Format footer*/
340+
341+
/*Format footer links*/
342+
.accordion-button {
343+
font-size: 2em;
344+
}
345+
346+
/*Format accordion links*/
347+
.accordion-body ul {
348+
font-size: 1.5em;
349+
}
350+
351+
/*Format footer p tag*/
352+
footer p {
353+
font-size: 2em;
354+
}
355+
356+
357+
}
358+
359+
/*Desktop Formatting*/
360+
@media screen and (min-width: 1200px) {
278361

279362
/*Format weather container*/
280363

0 commit comments

Comments
 (0)