about summary refs log tree commit diff
path: root/src/librustdoc/html
diff options
context:
space:
mode:
authorKlim Tsoutsman <32662194+tsoutsman@users.noreply.github.com>2021-08-08 22:35:51 +1000
committerGitHub <noreply@github.com>2021-08-08 22:35:51 +1000
commit9a784894eeca79f5878ff4004166d07abeaff8a2 (patch)
treeec2c64352ac86305746f8915251ac4935e596632 /src/librustdoc/html
parentc4c2986c499ee9440b7ae23bf5a62c6168e1ce17 (diff)
downloadrust-9a784894eeca79f5878ff4004166d07abeaff8a2.tar.gz
rust-9a784894eeca79f5878ff4004166d07abeaff8a2.zip
Fix heading colours in Ayu theme
Closes #87828 
The issue seems to stem from #87210 where code headings were changed from a heading containing code to a heading with the `code-header` class. `rustdoc.css` was updated, but `ayu.css` was missed.
Diffstat (limited to 'src/librustdoc/html')
-rw-r--r--src/librustdoc/html/static/css/themes/ayu.css2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustdoc/html/static/css/themes/ayu.css b/src/librustdoc/html/static/css/themes/ayu.css
index 849924ea550..8dd7b2b3edc 100644
--- a/src/librustdoc/html/static/css/themes/ayu.css
+++ b/src/librustdoc/html/static/css/themes/ayu.css
@@ -37,7 +37,7 @@ h4 {
 .docblock code {
 	color: #ffb454;
 }
-h3 > code, h4 > code, h5 > code {
+.code-header {
 	color: #e6e1cf;
 }
 pre > code {