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 border-radius : var (--radius );
88}
99
10- .searchbox input : focus {
11- border-color : var (--secondary );
12- }
13-
1410.searchResults li {
1511 list-style : none;
1612 border-radius : var (--radius );
17- padding : 10px ;
18- margin : 10px 0 ;
13+ padding : 10px 15px ;
1914 position : relative;
2015 font-weight : 500 ;
16+ display : flex;
17+ align-items : center;
18+ justify-content : space-between;
19+ background : var (--entry );
20+ transition : transform .25s ease;
21+ border : 1px solid var (--border );
2122}
2223
2324.searchResults {
24- margin : 10 px 0 ;
25+ margin : var ( --content-gap ) 0 ;
2526 width : 100% ;
27+ display : flex;
28+ flex-direction : column;
29+ gap : 10px ;
2630}
2731
28- .searchResults li : active {
29- transition : transform 0.1s ;
30- transform : scale (0.98 );
31- }
32-
33- .searchResults a {
34- position : absolute;
35- width : 100% ;
36- height : 100% ;
37- top : 0px ;
38- left : 0px ;
32+ .searchResults li : hover ,
33+ .searchResults li : focus-within {
34+ transform : translateY (-2px );
35+ border-color : var (--tertiary );
3936}
4037
41- .searchResults . focus {
42- transform : scale ( 0.98 );
43- border : 2 px solid var ( --tertiary ) ;
38+ .searchResults li . entry-link : focus {
39+ outline : 2 px solid var ( --secondary );
40+ outline-offset : -2 px ;
4441}
You can’t perform that action at this time.
0 commit comments