Skip to content

Commit 2c9b913

Browse files
committed
rustdoc: remove background-color on .in-band
This was overwriting the style for :target on impl headings. Instead of showing the whole summary as yellow (on light theme), it would show part of the summary as white and part as yellow.
1 parent 1a7bcfb commit 2c9b913

File tree

3 files changed

+0
-12
lines changed

3 files changed

+0
-12
lines changed

src/librustdoc/html/static/css/themes/ayu.css

-4
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,6 @@ h4 {
2626
border: none;
2727
}
2828

29-
.in-band {
30-
background-color: #0f1419;
31-
}
32-
3329
.invisible {
3430
background: rgba(0, 0, 0, 0);
3531
}

src/librustdoc/html/static/css/themes/dark.css

-4
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,6 @@ h2, h3, h4 {
1313
border-bottom-color: #d2d2d2;
1414
}
1515

16-
.in-band {
17-
background-color: #353535;
18-
}
19-
2016
.invisible {
2117
background: rgba(0, 0, 0, 0);
2218
}

src/librustdoc/html/static/css/themes/light.css

-4
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,6 @@ h2, h3, h4 {
1515
border-bottom-color: #DDDDDD;
1616
}
1717

18-
.in-band {
19-
background-color: white;
20-
}
21-
2218
.invisible {
2319
background: rgba(0, 0, 0, 0);
2420
}

0 commit comments

Comments
 (0)