File tree Expand file tree Collapse file tree 3 files changed +44
-5
lines changed
starter/07-Omnifood-Desktop Expand file tree Collapse file tree 3 files changed +44
-5
lines changed Original file line number Diff line number Diff line change @@ -110,10 +110,6 @@ body {
110
110
grid-template-columns : repeat (4 , 1fr );
111
111
}
112
112
113
- .grid--5-cols {
114
- grid-template-columns : repeat (5 , 1fr );
115
- }
116
-
117
113
.heading-primary ,
118
114
.heading-secondary ,
119
115
.heading-tertiary {
Original file line number Diff line number Diff line change @@ -170,4 +170,47 @@ Instead, 1rem = 1em = 16px */
170
170
.main-nav-link : visited {
171
171
font-size : 3rem ;
172
172
}
173
+
174
+ .pricing-plan {
175
+ width : 85% ;
176
+ }
177
+ }
178
+
179
+ /*************************************/
180
+ /* BELOW 704px (Smaller tablets) */
181
+ /*************************************/
182
+
183
+ @media (max-width : 44em ) {
184
+ .heading-secondary {
185
+ margin-bottom : 4.8rem ;
186
+ }
187
+
188
+ .grid--3-cols ,
189
+ .grid--4-cols {
190
+ grid-template-columns : repeat (2 , 1fr );
191
+ }
192
+
193
+ .diets {
194
+ grid-column : 1 / -1 ;
195
+ justify-self : center;
196
+ }
197
+
198
+ .pricing-plan {
199
+ width : 100% ;
200
+ }
201
+
202
+ .grid--footer {
203
+ grid-template-columns : repeat (6 , 1fr );
204
+ }
205
+
206
+ .nav-col {
207
+ grid-row : 1 ;
208
+ grid-column : span 2 ;
209
+ margin-bottom : 3.2rem ;
210
+ }
211
+
212
+ .logo-col ,
213
+ .address-col {
214
+ grid-column : span 3 ;
215
+ }
173
216
}
Original file line number Diff line number Diff line change 18
18
< link rel ="stylesheet " href ="css/queries.css " />
19
19
</ head >
20
20
< body >
21
- < header class ="header nav-open ">
21
+ < header class ="header ">
22
22
< a href ="# ">
23
23
< img src ="img/omnifood-logo.png " alt ="Omnifood logo " class ="logo " />
24
24
</ a >
You can’t perform that action at this time.
0 commit comments