Skip to content

Commit 610f553

Browse files
committed
feat: responding to Landscape Tablets
1 parent ae0ad07 commit 610f553

File tree

2 files changed

+40
-1
lines changed

2 files changed

+40
-1
lines changed

starter/07-Omnifood-Desktop/css/queries.css

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,42 @@ Instead, 1rem = 1em = 16px */
1818
grid-template-columns: repeat(2, 1fr);
1919
}
2020
}
21+
22+
/*************************************/
23+
/* BELOW 1200px (Landscape Tablets) */
24+
/*************************************/
25+
26+
@media (max-width: 75em) {
27+
html {
28+
font-size: 56.25%;
29+
}
30+
31+
.grid {
32+
column-gap: 4.8rem;
33+
row-gap: 6.4rem;
34+
}
35+
36+
.heading-secondary {
37+
font-size: 3.6rem;
38+
}
39+
40+
.heading-tertiary {
41+
font-size: 2.4rem;
42+
}
43+
44+
.header {
45+
padding: 0 3.2rem;
46+
}
47+
48+
.main-nav-list {
49+
gap: 3.2rem;
50+
}
51+
52+
.hero {
53+
gap: 4.8rem;
54+
}
55+
56+
.testimonials-container {
57+
padding: 9.6rem 3.2rem;
58+
}
59+
}

starter/07-Omnifood-Desktop/css/style.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
list-style: none;
2525
display: flex;
2626
align-items: center;
27-
gap: 3.2rem;
27+
gap: 4.8rem;
2828
}
2929

3030
.main-nav-link:link,

0 commit comments

Comments
 (0)