File tree Expand file tree Collapse file tree 4 files changed +8
-15
lines changed
src/librustdoc/html/static/css Expand file tree Collapse file tree 4 files changed +8
-15
lines changed Original file line number Diff line number Diff line change @@ -1269,6 +1269,8 @@ h3.variant {
1269
1269
1270
1270
: target {
1271
1271
padding-right : 3px ;
1272
+ background-color : var (--target-background-color );
1273
+ border-right : 3px solid var (--target-border-color );
1272
1274
}
1273
1275
1274
1276
.notable-traits-tooltip {
Original file line number Diff line number Diff line change @@ -63,6 +63,8 @@ Original by Dempfi (https://github.com/dempfi/ayu)
63
63
--test-arrow-background-color : rgba (57 , 175 , 215 , 0.09 );
64
64
--test-arrow-hover-color : # c5c5c5 ;
65
65
--test-arrow-hover-background-color : rgba (57 , 175 , 215 , 0.368 );
66
+ --target-background-color : rgba (255 , 236 , 164 , 0.06 );
67
+ --target-border-color : rgba (255 , 180 , 76 , 0.85 );
66
68
--rust-logo-filter : drop-shadow (1px 0 0px # fff )
67
69
drop-shadow (0 1px 0 # fff )
68
70
drop-shadow (-1px 0 0 # fff )
@@ -168,11 +170,6 @@ details.rustdoc-toggle > summary::before {
168
170
color : # 788797 ;
169
171
}
170
172
171
- : target {
172
- background : rgba (255 , 236 , 164 , 0.06 );
173
- border-right : 3px solid rgba (255 , 180 , 76 , 0.85 );
174
- }
175
-
176
173
.search-failed a {
177
174
color : # 39AFD7 ;
178
175
}
Original file line number Diff line number Diff line change 58
58
--test-arrow-background-color : rgba (78 , 139 , 202 , 0.2 );
59
59
--test-arrow-hover-color : # dedede ;
60
60
--test-arrow-hover-background-color : # 4e8bca ;
61
+ --target-background-color : # 494a3d ;
62
+ --target-border-color : # bb7410 ;
61
63
--rust-logo-filter : drop-shadow (1px 0 0px # fff )
62
64
drop-shadow (0 1px 0 # fff )
63
65
drop-shadow (-1px 0 0 # fff )
@@ -90,11 +92,6 @@ details.rustdoc-toggle > summary::before {
90
92
filter : invert (100% );
91
93
}
92
94
93
- : target {
94
- background-color : # 494a3d ;
95
- border-right : 3px solid # bb7410 ;
96
- }
97
-
98
95
.search-failed a {
99
96
color : # 0089ff ;
100
97
}
Original file line number Diff line number Diff line change 58
58
--test-arrow-background-color : rgba (78 , 139 , 202 , 0.2 );
59
59
--test-arrow-hover-color : # f5f5f5 ;
60
60
--test-arrow-hover-background-color : # 4e8bca ;
61
+ --target-background-color : # fdFfd3 ;
62
+ --target-border-color : # ad7c37 ;
61
63
--rust-logo-filter : initial;
62
64
/* match border-color; uses https://codepen.io/sosuke/pen/Pjoqqp */
63
65
--crate-search-div-filter : invert (100% ) sepia (0% ) saturate (4223% ) hue-rotate (289deg )
@@ -83,11 +85,6 @@ body.source .example-wrap pre.rust a {
83
85
background : # eee ;
84
86
}
85
87
86
- : target {
87
- background : # FDFFD3 ;
88
- border-right : 3px solid # AD7C37 ;
89
- }
90
-
91
88
.search-failed a {
92
89
color : # 3873AD ;
93
90
}
You can’t perform that action at this time.
0 commit comments