Skip to content

Commit 551d6a7

Browse files
committed
finished omnifood
1 parent 15c967d commit 551d6a7

File tree

13 files changed

+461
-329
lines changed

13 files changed

+461
-329
lines changed

starter/09-Omnifood-Optimizations/css/queries.css

Lines changed: 56 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,9 @@
128128
}
129129

130130
.main-nav {
131-
background-color: rgba(255, 255, 255, 0.97);
131+
background-color: rgba(255, 255, 255, 0.9);
132+
-webkit-backdrop-filter: blur(5px);
133+
backdrop-filter: blur(10px);
132134
position: absolute;
133135
top: 0;
134136
left: 0;
@@ -299,3 +301,56 @@
299301
- Spacing system (px)
300302
2 / 4 / 8 / 12 / 16 / 24 / 32 / 48 / 64 / 80 / 96 / 128
301303
*/
304+
305+
/**************************/
306+
/* Fixing Safari flexbox gap */
307+
/**************************/
308+
309+
.no-flexbox-gap .main-nav-list li:not(:last-child) {
310+
margin-right: 4.8rem;
311+
}
312+
313+
.no-flexbox-gap .list-item:not(:last-child) {
314+
margin-bottom: 1.6rem;
315+
}
316+
317+
.no-flexbox-gap .list-icon:not(:last-child) {
318+
margin-right: 1.6rem;
319+
}
320+
321+
.no-flexbox-gap .delivered-faces {
322+
margin-right: 1.6rem;
323+
}
324+
325+
.no-flexbox-gap .meal-attribute:not(:last-child) {
326+
margin-bottom: 2rem;
327+
}
328+
329+
.no-flexbox-gap .meal-icon {
330+
margin-right: 1.6rem;
331+
}
332+
333+
.no-flexbox-gap .footer-row div:not(:last-child) {
334+
margin-right: 6.4rem;
335+
}
336+
337+
.no-flexbox-gap .social-links li:not(:last-child) {
338+
margin-right: 2.4rem;
339+
}
340+
341+
.no-flexbox-gap .footer-nav li:not(:last-child) {
342+
margin-bottom: 2.4rem;
343+
}
344+
345+
@media (max-width: 75em) {
346+
.no-flexbox-gap .main-nav-list li:not(:last-child) {
347+
margin-right: 3.2rem;
348+
}
349+
}
350+
351+
@media (max-width: 59em) {
352+
.no-flexbox-gap .main-nav-list li:not(:last-child) {
353+
margin-right: 0;
354+
margin-bottom: 4.8rem;
355+
}
356+
}

0 commit comments

Comments
 (0)