File tree Expand file tree Collapse file tree 3 files changed +8
-23
lines changed
Expand file tree Collapse file tree 3 files changed +8
-23
lines changed Original file line number Diff line number Diff line change @@ -20,14 +20,14 @@ export default ((userOpts?: Partial<SearchOptions>) => {
2020 return (
2121 < div class = { classNames ( displayClass , "search" ) } >
2222 < button class = "search-button" >
23- < p > { i18n ( cfg . locale ) . components . search . title } </ p >
2423 < svg role = "img" xmlns = "http://www.w3.org/2000/svg" viewBox = "0 0 19.9 19.7" >
2524 < title > Search</ title >
2625 < g class = "search-path" fill = "none" >
2726 < path stroke-linecap = "square" d = "M18.5 18.3l-5.4-5.4" />
2827 < circle cx = "8" cy = "8" r = "7" />
2928 </ g >
3029 </ svg >
30+ < p > { i18n ( cfg . locale ) . components . search . title } </ p >
3131 </ button >
3232 < div class = "search-container" >
3333 < div class = "search-space" >
Original file line number Diff line number Diff line change 88 }
99
1010 & > .search-button {
11- background-color : color-mix ( in srgb , var ( --lightgray ) 60 % , var ( --light )) ;
12- border : none ;
11+ background-color : transparent ;
12+ border : 1 px var ( --lightgray ) solid ;
1313 border-radius : 4px ;
1414 font-family : inherit ;
1515 font-size : inherit ;
2121 cursor : pointer ;
2222 white-space : nowrap ;
2323 width : 100% ;
24- justify-content : space-between ;
2524
2625 & > p {
2726 display : inline ;
28- padding : 0 1 rem ;
27+ color : var ( --gray ) ;
2928 }
3029
3130 & svg {
3635
3736 .search-path {
3837 stroke : var (--darkgray );
39- stroke-width : 2 px ;
38+ stroke-width : 1.5 px ;
4039 transition : stroke 0.5s ease ;
4140 }
4241 }
Original file line number Diff line number Diff line change 4444.typst-doc * {
4545 color : var (--darkgray );
4646 fill : var (--darkgray );
47- hyphens : auto ;
48- }
49-
50- p ,
51- ul ,
52- text ,
53- a ,
54- li ,
55- ol ,
56- ul ,
57- .katex ,
58- .math ,
59- .typst-doc ,
60- .typst-doc * {
61- overflow-wrap : anywhere;
62- /* tr and td removed from list of selectors for overflow-wrap, allowing them to use default 'normal' property value */
47+ overflow-wrap : break-word ;
48+ text-wrap : pretty;
6349}
6450
6551.math {
225211 }
226212
227213 & .sidebar {
228- gap : 2rem ;
214+ gap : 1. 2rem ;
229215 top : 0 ;
230216 box-sizing : border-box ;
231217 padding : $topSpacing 2rem 2rem 2rem ;
You can’t perform that action at this time.
0 commit comments