File tree Expand file tree Collapse file tree 1 file changed +46
-1
lines changed
myattempts/09-Omnifood-Optimizations/css Expand file tree Collapse file tree 1 file changed +46
-1
lines changed Original file line number Diff line number Diff line change 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 ;
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+ }
You can’t perform that action at this time.
0 commit comments