@@ -217,7 +217,7 @@ ul.all-items {
217
217
a .anchor ,
218
218
.small-section-header a ,
219
219
# source-sidebar a ,
220
- pre .rust a ,
220
+ .rust a ,
221
221
.sidebar h2 a ,
222
222
.sidebar h3 a ,
223
223
.mobile-topbar h2 a ,
@@ -228,43 +228,43 @@ h1 a,
228
228
color : var (--main-color );
229
229
}
230
230
231
- . content span .enum , . content a .enum ,
232
- . content span .struct , . content a .struct ,
233
- . content span .union , . content a .union ,
234
- . content span .primitive , . content a .primitive ,
235
- . content span .type , . content a .type ,
236
- . content span .foreigntype , . content a .foreigntype {
231
+ span .enum , a .enum ,
232
+ span .struct , a .struct ,
233
+ span .union , a .union ,
234
+ span .primitive , a .primitive ,
235
+ span .type , a .type ,
236
+ span .foreigntype , a .foreigntype {
237
237
color : var (--type-link-color );
238
238
}
239
239
240
- . content span .trait , . content a .trait ,
241
- . content span .traitalias , . content a .traitalias {
240
+ span .trait , a .trait ,
241
+ span .traitalias , a .traitalias {
242
242
color : var (--trait-link-color );
243
243
}
244
244
245
- . content span .associatedtype , . content a .associatedtype ,
246
- . content span .constant , . content a .constant ,
247
- . content span .static , . content a .static {
245
+ span .associatedtype , a .associatedtype ,
246
+ span .constant , a .constant ,
247
+ span .static , a .static {
248
248
color : var (--assoc-item-link-color );
249
249
}
250
250
251
- . content span .fn , . content a .fn ,
252
- . content span .method , . content a .method ,
253
- . content span .tymethod , . content a .tymethod {
251
+ span .fn , a .fn ,
252
+ span .method , a .method ,
253
+ span .tymethod , a .tymethod {
254
254
color : var (--function-link-color );
255
255
}
256
256
257
- . content span .attr , . content a .attr ,
258
- . content span .derive , . content a .derive ,
259
- . content span .macro , . content a .macro {
257
+ span .attr , a .attr ,
258
+ span .derive , a .derive ,
259
+ span .macro , a .macro {
260
260
color : var (--macro-link-color );
261
261
}
262
262
263
- . content span .mod , . content a .mod {
263
+ span .mod , a .mod {
264
264
color : var (--mod-link-color );
265
265
}
266
266
267
- . content span .keyword , . content a .keyword {
267
+ span .keyword , a .keyword {
268
268
color : var (--keyword-link-color );
269
269
}
270
270
@@ -713,7 +713,7 @@ h2.small-section-header > .anchor {
713
713
}
714
714
715
715
.main-heading a : hover ,
716
- .example-wrap > pre .rust a : hover ,
716
+ .example-wrap > .rust a : hover ,
717
717
.all-items a : hover ,
718
718
.docblock a : not (.test-arrow ): not (.scrape-help ): not (.tooltip ): hover ,
719
719
.docblock-short a : not (.test-arrow ): not (.scrape-help ): not (.tooltip ): hover ,
0 commit comments