@@ -217,8 +217,7 @@ It appears when the user clicks on the `Search` component or presses the corresp
217
217
{#each recent_searches as search }
218
218
<li class =" recent" >
219
219
<a onclick ={() => navigate (search .href )} href ={search .href }>
220
- <small >{search .breadcrumbs .join (' /' )}</small >
221
- <strong >{search .breadcrumbs .at (- 1 )}</strong >
220
+ {search .breadcrumbs .at (- 1 )}
222
221
</a >
223
222
224
223
<button
@@ -265,10 +264,10 @@ It appears when the user clicks on the `Search` component or presses the corresp
265
264
}
266
265
267
266
input {
268
- font-size : 1.6 rem ;
267
+ font-size : var ( --sk-text-l ) ;
269
268
width : 100% ;
270
269
padding : 1rem 6rem 0.5rem 1rem ;
271
- height : 5 rem ;
270
+ height : 6 rem ;
272
271
border : none ;
273
272
border-bottom : 1px solid var (--sk-back-3 );
274
273
flex-shrink : 0 ;
@@ -296,7 +295,7 @@ It appears when the user clicks on the `Search` component or presses the corresp
296
295
top : 0 ;
297
296
right : 0 ;
298
297
width : 5rem ;
299
- height : 5 rem ;
298
+ height : 6 rem ;
300
299
background : none ;
301
300
border-radius : var (--sk-border-radius );
302
301
color : var (--sk-text-2 );
@@ -329,13 +328,14 @@ It appears when the user clicks on the `Search` component or presses the corresp
329
328
position : relative ;
330
329
height : calc (100% - 2rem );
331
330
width : calc (100vw - 2rem );
332
- max-width : 50 rem ;
333
- max-height : 50 rem ;
331
+ max-width : 64 rem ;
332
+ max-height : 64 rem ;
334
333
filter : drop-shadow (2px 4px 16px rgba (0 , 0 , 0 , 0.2 ));
335
334
border-radius : var (--sk-border-radius );
336
335
display : flex ;
337
336
flex-direction : column ;
338
337
overflow : hidden ;
338
+ font-family : var (--sk-font-ui );
339
339
340
340
& > * {
341
341
pointer-events : all ;
@@ -368,57 +368,19 @@ It appears when the user clicks on the `Search` component or presses the corresp
368
368
}
369
369
370
370
a {
371
+ color : var (--sk-text-2 );
371
372
display : block ;
372
373
text-decoration : none ;
373
374
line-height : 1 ;
374
- padding : 1rem ;
375
+ padding : 1rem 5 rem 1 rem 1 rem ;
375
376
376
377
&:hover {
377
378
background : rgba (0 , 0 , 0 , 0.05 );
378
379
}
379
380
380
381
&:focus {
381
- background : var (--sk-theme-2 );
382
- color : var (--sk-back-1 );
383
- outline : none ;
384
- }
385
-
386
- & small ,
387
- & strong {
388
- display : block ;
389
- white-space : nowrap ;
390
- overflow : hidden ;
391
- text-overflow : ellipsis ;
392
- line-height : 1 ;
393
- }
394
-
395
- & small {
396
- font-size : 1rem ;
397
- text-transform : uppercase ;
398
- font-weight : 600 ;
399
- color : var (--sk-text-3 );
400
- }
401
-
402
- & strong {
403
- font-size : 1.6rem ;
404
- color : var (--sk-text-2 );
405
- margin : 0.4rem 0 ;
406
- }
407
-
408
- &:focus small {
409
- color : white ;
410
- opacity : 0.6 ;
411
- }
412
-
413
- &:focus strong {
414
- color : white ;
415
- }
416
-
417
- & strong :global(mark ) {
418
- background : var (--sk-theme-2 );
419
- color : var (--sk-text-3 );
420
- text-decoration : none ;
421
- border-radius : 1px ;
382
+ border-radius : var (--sk-border-radius );
383
+ outline-offset : -3px ;
422
384
}
423
385
}
424
386
@@ -441,14 +403,9 @@ It appears when the user clicks on the `Search` component or presses the corresp
441
403
}
442
404
443
405
&:focus-visible {
444
- background : var (--sk-theme-2 );
445
- color : var (--sk-text-1 );
446
406
opacity : 1 ;
447
- outline : none ;
448
- }
449
-
450
- a :focus + & {
451
- color : var (--sk-back-1 );
407
+ border-radius : var (--sk-border-radius );
408
+ outline-offset : -3px ;
452
409
}
453
410
}
454
411
</style >
0 commit comments