@@ -20,3 +20,47 @@ dl.citation > dt {
20
20
.pr {
21
21
font-size : 70% !important ;
22
22
}
23
+
24
+ /* for the search */
25
+ /*container*/
26
+ html [data-theme = "dark" ] : is (.search__outer , .rtd__search__credits ) {
27
+ font-family : var (--pst-font-family-base );
28
+ color : var (--pst-color-text-base );
29
+ background-color : var (--pst-color-background );
30
+ border-color : var (--pst-color-border );
31
+ }
32
+ html [data-theme = "dark" ] .rtd__search__credits a {
33
+ color : var (--pst-color-link );
34
+ }
35
+ /*input*/
36
+ html [data-theme = "dark" ] .search__outer__input {
37
+ color : var (--pst-color-text-base );
38
+ background-color : transparent;
39
+ border-bottom-color : var (--pst-color-border );
40
+ }
41
+ html [data-theme = "dark" ] .search__outer .bar ::before ,
42
+ html [data-theme = "dark" ] .search__outer .bar ::after {
43
+ background-color : var (--pst-color-accent );
44
+ }
45
+ /*results*/
46
+ html [data-theme = "dark" ] : is (.search__result__subheading span , .search__result__single ) {
47
+ border-bottom-color : var (--pst-color-border );
48
+ }
49
+ html [data-theme = "dark" ] .search__result__single : last-of-type {
50
+ border-bottom-width : 0 ;
51
+ }
52
+ html [data-theme = "dark" ]
53
+ : is (.outer_div_page_results : hover , .search__result__box .active ) {
54
+ background-color : var (--pst-color-primary-highlight );
55
+ }
56
+ html [data-theme = "dark" ]
57
+ : is (.search__error__box , .search__result__subheading , .search__result__content ) {
58
+ color : var (--pst-color-text-base );
59
+ }
60
+ html [data-theme = "dark" ]
61
+ .search__outer
62
+ : is (.search__result__content , .search__result__title )
63
+ span {
64
+ border-bottom-color : var (--pst-color-border );
65
+ background-color : var (--pst-color-target );
66
+ }
0 commit comments