Skip to content

Commit deee28a

Browse files
authored
Rollup merge of rust-lang#87861 - tsoutsman:patch-1, r=GuillaumeGomez
Fix heading colours in Ayu theme Closes rust-lang#87828 The issue seems to stem from rust-lang#87210 where code headings were changed from a heading containing a `code` element to a heading with the `code-header` class. `rustdoc.css` was updated, but `ayu.css` was missed.
2 parents 6c92656 + 9a78489 commit deee28a

File tree

1 file changed

+1
-1
lines changed
  • src/librustdoc/html/static/css/themes

1 file changed

+1
-1
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ h4 {
3737
.docblock code {
3838
color: #ffb454;
3939
}
40-
h3 > code, h4 > code, h5 > code {
40+
.code-header {
4141
color: #e6e1cf;
4242
}
4343
pre > code {

0 commit comments

Comments
 (0)