@@ -4,21 +4,27 @@ $footer-bg: rgba(255, 255, 255, 0.1);
44$footer-border-color : rgba (255 , 255 , 255 , 0.18 );
55$footer-border : 1px solid $footer-border-color ;
66
7+ $footer-radius : $radius-lg ;
8+
79$footer-blur : 10px ;
810
911$footer-padding-top : 10px ;
10- $footer-padding-sides : 30 px ;
12+ $footer-padding-sides : 25 px ;
1113$footer-padding-bottom : 5px ;
1214
15+ $footer-margin-top : 0px ;
16+ $footer-margin-sides : 10px ;
17+ $footer-margin-bottom : 5px ;
18+
19+ $footer-width : 100vw ;
20+
1321footer {
1422 display : flex ;
1523 justify-content : space-between ;
1624 align-items : center ;
17- width : 100% ;
1825 background : $footer-bg ;
1926 backdrop-filter : blur ($footer-blur );
2027 transform : translate3d (0 , 0 , 0 );
21- border-top : $footer-border ;
2228 padding : $footer-padding-top $footer-padding-sides $footer-padding-bottom ;
2329 box-sizing : border-box ;
2430 color : $color-text ;
@@ -27,6 +33,22 @@ footer {
2733 position : fixed ;
2834 bottom : 0 ;
2935
36+ @include mobile {
37+ width : $footer-width ;
38+ border-top : $footer-border ;
39+ border-radius : 0 ;
40+ margin : 0 ;
41+ }
42+
43+ @include notMobile {
44+ --footer-width : $footer-width ;
45+ --footer-margin-sides : $footer-margin-sides ;
46+ width : calc (var (--footer-width ) - var (--footer-margin-sides ) * 2 );
47+ border : $footer-border ;
48+ border-radius : $footer-radius ;
49+ margin : $footer-margin-top $footer-margin-sides $footer-margin-bottom ;
50+ }
51+
3052 body .height-overflow & {
3153 position : static ;
3254 }
0 commit comments