File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77}
88
99nav {
10- // background-color: var(--color-background-secondary-translucent);
1110 user-select : none ;
1211 position : fixed ;
1312 top : 0 ;
1413 left : 0 ;
1514 right : 0 ;
1615 z-index : 1000 ;
17- // backdrop-filter: var(--filter-blur);
1816 transition : height 0.4s cubic-bezier (0.86 , 0 , 0.07 , 1 );
1917
2018 .inner {
@@ -203,11 +201,10 @@ nav {
203201 top : 0 ;
204202 left : 0 ;
205203 right : 0 ;
206- // background-color: var(--color-background-secondary-translucent);
207- background-color : rgba (0 , 0 , 0 , 0.25 );
204+ background-color : var (--color-background-secondary-translucent-lite );
208205 backdrop-filter : blur (10px );
209206 mask-image : linear-gradient (to bottom , #000 , transparent );
210- -webkit- mask-composite : destination- in;
207+ mask-composite : destination- in;
211208 pointer-events : none ;
212209 z-index : 1000 ;
213210 transition :
@@ -226,7 +223,7 @@ nav {
226223
227224 @media (max-width : 600px ) {
228225 .nav-open & {
229- height : calc (var (--open-height ) * 3 / math .pow (($base ), ($i - 1 )));
226+ height : calc (var (--open-height ) * 4 / math .pow (($base ), ($i - 1 )));
230227 }
231228 }
232229 }
Original file line number Diff line number Diff line change 1616 --color-background-secondary : #ffffff ;
1717 --color-background-secondary-hover : #f7f7f7 ;
1818 --color-background-secondary-translucent : #ffffffcc ;
19+ --color-background-secondary-translucent-lite : #ffffff33 ;
1920 --color-background-accent : #0071e3 ;
2021 --color-background-accent-contrast : #ffffff ;
2122 --color-background-accent-hover : #0077ed ;
4142 --color-background-secondary : #181818 ;
4243 --color-background-secondary-hover : #202020 ;
4344 --color-background-secondary-translucent : #00000080 ;
45+ --color-background-secondary-translucent-lite : #00000033 ;
4446 --color-background-accent : #0071e3 ;
4547 --color-background-accent-contrast : #ffffff ;
4648 --color-background-accent-hover : #0077ed ;
You can’t perform that action at this time.
0 commit comments