Skip to content

Commit 1ed3a2d

Browse files
Browser support
1 parent 7c7ec28 commit 1ed3a2d

File tree

1 file changed

+46
-1
lines changed

1 file changed

+46
-1
lines changed

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

Lines changed: 46 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,9 @@
125125
}
126126

127127
.main-nav {
128-
background-color: rgb(255, 255, 255, 0.97);
128+
background-color: rgb(255, 255, 255, 0.9);
129+
backdrop-filter: blur(10px);
130+
-webkit-backdrop-filter: blur(5px);
129131
position: absolute;
130132
top: 0;
131133
left: 0;
@@ -285,3 +287,46 @@
285287
padding: 3.2rem;
286288
}
287289
}
290+
291+
/*****************************/
292+
/* Fixing Safari flexbox gap */
293+
/*****************************/
294+
295+
.no-flexbox-gap .main-nav-list li:not(:last-child) {
296+
margin-right: 4.8rem;
297+
}
298+
.no-flexbox-gap .list-item:not(:last-child) {
299+
margin-bottom: 1.6rem;
300+
}
301+
.no-flexbox-gap .list-icon:not(:last-child) {
302+
margin-right: 1.6rem;
303+
}
304+
.no-flexbox-gap .delivered-faces {
305+
margin-right: 1.6rem;
306+
}
307+
.no-flexbox-gap .meal-attribute:not(:last-child) {
308+
margin-bottom: 2rem;
309+
}
310+
.no-flexbox-gap .meal-icon {
311+
margin-right: 1.6rem;
312+
}
313+
.no-flexbox-gap .footer-row div:not(:last-child) {
314+
margin-right: 6.4rem;
315+
}
316+
.no-flexbox-gap .social-links li:not(:last-child) {
317+
margin-right: 2.4rem;
318+
}
319+
.no-flexbox-gap .footer-nav li:not(:last-child) {
320+
margin-bottom: 2.4rem;
321+
}
322+
@media (max-width: 75em) {
323+
.no-flexbox-gap .main-nav-list li:not(:last-child) {
324+
margin-right: 3.2rem;
325+
}
326+
}
327+
@media (max-width: 59em) {
328+
.no-flexbox-gap .main-nav-list li:not(:last-child) {
329+
margin-right: 0;
330+
margin-bottom: 4.8rem;
331+
}
332+
}

0 commit comments

Comments
 (0)