7272 left : 0 ;
7373 right : 0 ;
7474 z-index : 100 ;
75- height : 48 px ;
75+ height : 2 em ;
7676 display : flex;
7777 justify-content : space-between;
7878 align-items : center;
8484 position : absolute;
8585 top : 0 ;
8686 left : 0 ;
87- width : 11.1 em ;
88- height : 48 px ;
87+ width : 13 em ;
88+ height : 2.5 em ;
8989 background : var (--yellow );
9090 clip-path : polygon (0 0 , 100% 0 , 85% 100% , 0% 100% );
9191 z-index : 101 ;
@@ -95,24 +95,24 @@ body {
9595
9696.nav-logo {
9797 position : absolute;
98- top : 0 ;
99- left : calc ( var ( --space ) * 2 ) ;
98+ top : 3 px ;
99+ left : 13 px ;
100100 z-index : 102 ;
101- height : 48 px ;
101+ height : 2 em ;
102102 display : flex;
103103 align-items : center;
104104}
105105
106106.nav-logo a {
107107 font-family : "Passion One" , cursive;
108- font-size : clamp ( 20 px , 2 vw + 16 px , 24 px ) ;
108+ font-size : 26 px ;
109109 font-weight : 400 ;
110110 color : var (--black );
111111 text-decoration : none;
112112 transform : skewX (-10deg );
113113 display : inline-block;
114114 padding : 0 ;
115-
115+ letter-spacing : 1 px ;
116116 text-shadow : 1px 1px 2px rgba (0 , 0 , 0 , 0.1 );
117117}
118118
@@ -126,13 +126,13 @@ body {
126126.nav-links {
127127 position : absolute;
128128 top : 0 ;
129- right : calc ( var ( --space ) * 5 ) ;
129+ right : 40 px ;
130130 display : flex;
131131 list-style : none;
132132 margin : 0 ;
133133 padding : 0 ;
134- gap : var ( --space ) ;
135- height : 48 px ;
134+ gap : 8 px ;
135+ height : 2 em ;
136136 align-items : center;
137137}
138138
@@ -148,17 +148,17 @@ body {
148148 color : # 888 ;
149149 opacity : 0.75 ;
150150 margin-left : 8px ;
151- font-size : clamp (14 px , 1vw + 12 px , 16 px );
151+ font-size : clamp (15 px , 1vw + 13 px , 17 px );
152152}
153153
154154.nav-links a {
155- font-size : clamp (14 px , 1vw + 12 px , 16 px );
155+ font-size : clamp (15 px , 1vw + 13 px , 17 px );
156156 font-weight : 700 ;
157157 color : var (--black );
158158 text-decoration : none;
159159 transition : color 0.2s ;
160160 display : block;
161- padding : var ( --space ) calc ( var ( --space ) * 2 ) ;
161+ padding : 8 px 12 px ;
162162 min-height : 44px ;
163163 display : flex;
164164 align-items : center;
@@ -254,9 +254,9 @@ button,
254254 position : absolute;
255255 top : -40px ;
256256 left : 0 ;
257- background : var (--cyan );
257+ background : var (--yellow );
258258 color : var (--black );
259- padding : var ( --space ) calc ( var ( --space ) * 2 ) ;
259+ padding : 8 px 16 px ;
260260 text-decoration : none;
261261 font-weight : 700 ;
262262 z-index : 200 ;
@@ -299,7 +299,7 @@ button,
299299 position : absolute;
300300 top : 0 ;
301301 left : 0 ;
302- height : calc ( var ( --space ) * 2 ) ;
302+ height : 14 px ;
303303 width : 100% ;
304304 background : var (--yellow );
305305}
0 commit comments