@@ -105,12 +105,12 @@ Top navigation bar for the application. It provides a slot for the left side, th
105
105
<div class =" mobile mobile-menu" >
106
106
<button
107
107
aria-label =" Search"
108
- class =" search"
108
+ class =" raised icon search"
109
109
onclick ={() => {
110
110
$searching = true ;
111
111
}}
112
112
>
113
- <Icon name =" search" size =" .6em " />
113
+ <Icon name ="search" size ={ 16 } />
114
114
</button >
115
115
116
116
<Menu bind:open ={$nav_open } {links }>
@@ -137,6 +137,7 @@ Top navigation bar for the application. It provides a slot for the left side, th
137
137
width : 100vw ;
138
138
height : var (--sk-nav-height );
139
139
margin : 0 auto ;
140
+ padding : 0 var (--sk-page-padding-side );
140
141
background-color : var (--sk-back-2 );
141
142
font-family : var (--sk-font-body );
142
143
user-select : none ;
@@ -208,10 +209,9 @@ Top navigation bar for the application. It provides a slot for the left side, th
208
209
209
210
.home-link {
210
211
--padding-right : 1rem ;
211
- width : 16 rem ;
212
+ width : 11.2 rem ;
212
213
height : 100% ;
213
- background : url (../branding/svelte.svg ) no-repeat var (--sk-page-padding-side ) 50% /
214
- calc (100% - var (--sk-page-padding-side ) - var (--padding-right )) auto ;
214
+ background : url (../branding/svelte.svg ) no-repeat 0 50% / calc (100% - var (--padding-right )) auto ;
215
215
padding : 0 var (--padding-right ) 0 calc (var (--sk-page-padding-side ) + 0rem );
216
216
217
217
:global(.dark ) & {
@@ -221,10 +221,10 @@ Top navigation bar for the application. It provides a slot for the left side, th
221
221
222
222
.mobile-menu {
223
223
display : flex ;
224
- position : absolute ;
225
- bottom : 0 ;
226
- right : 0 ;
227
- height : 100 % ;
224
+ flex : 1 ;
225
+ justify-content : end ;
226
+ align-items : center ;
227
+ gap : 0.5 rem ; /* TODO tokenize */
228
228
}
229
229
230
230
.desktop {
@@ -235,21 +235,6 @@ Top navigation bar for the application. It provides a slot for the left side, th
235
235
display : block ;
236
236
}
237
237
238
- button {
239
- display : flex ;
240
- align-items : center ;
241
- justify-content : center ;
242
- height : 100% ;
243
- display : flex ;
244
- gap : 1.5rem ;
245
- padding : 0 1rem ;
246
- line-height : 1 ;
247
- }
248
-
249
- .search {
250
- padding-left : 2rem ;
251
- }
252
-
253
238
.appearance {
254
239
display : flex ;
255
240
align-items : center ;
@@ -297,7 +282,7 @@ Top navigation bar for the application. It provides a slot for the left side, th
297
282
@media (min-width : 800px ) {
298
283
.home-link {
299
284
--padding-right : 2rem ;
300
- width : 18 rem ;
285
+ width : 13.2 rem ;
301
286
}
302
287
303
288
nav {
@@ -316,7 +301,6 @@ Top navigation bar for the application. It provides a slot for the left side, th
316
301
width : auto ;
317
302
height : 100% ;
318
303
align-items : center ;
319
- padding : 0 var (--sk-page-padding-side ) 0 0 ;
320
304
}
321
305
322
306
.menu :last-child {
0 commit comments