File tree 2 files changed +11
-3
lines changed
2 files changed +11
-3
lines changed Original file line number Diff line number Diff line change 21
21
@extend .info ;
22
22
23
23
background-color : var (--color-warn-background );
24
+ color : var (--color-warn );
24
25
}
25
26
}
Original file line number Diff line number Diff line change 25
25
padding : 0 ;
26
26
margin : 0 ;
27
27
28
- input , #search {
28
+ input , :not ( #rustdoc_body_wrapper ) > #search {
29
29
background-color : var (--color-background-input );
30
30
color : var (--input-color );
31
31
}
@@ -34,12 +34,12 @@ body {
34
34
color : var (--color-navbar-standard );
35
35
}
36
36
37
- #search {
37
+ :not ( #rustdoc_body_wrapper ) > #search {
38
38
box-shadow : 0 0 0 1px var (--color-border ), 0 0 0 1px var (--color-border );
39
39
transition : box-shadow 150ms ease-in-out ;
40
40
}
41
41
42
- #search :focus {
42
+ :not ( #rustdoc_body_wrapper ) > #search :focus {
43
43
box-shadow : var (--input-box-shadow-focus );
44
44
}
45
45
@@ -488,6 +488,13 @@ div.cratesfyi-package-container {
488
488
display : flex ;
489
489
align-items : center ;
490
490
491
+ // This rule is only used on the error page when we land on a crate which doesn't exist.
492
+ #crate-title {
493
+ color : var (--color-standard );
494
+ text-align : center ;
495
+ width : 100% ;
496
+ }
497
+
491
498
.description-container {
492
499
flex-grow : 3 ;
493
500
color : var (--color-standard );
You can’t perform that action at this time.
0 commit comments