about summary refs log tree commit diff
diff options
context:
space:
mode:
authorYuki Okushi <jtitor@2k36.org>2021-08-11 04:18:40 +0900
committerGitHub <noreply@github.com>2021-08-11 04:18:40 +0900
commitdeee28a14de8a59485fca717647ad2c82b06a7c3 (patch)
tree6e0c40fd094ba7a6f33226ba29256b02e953afb3
parent6c92656624b3e3c00748fd8b41d925787110a638 (diff)
parent9a784894eeca79f5878ff4004166d07abeaff8a2 (diff)
downloadrust-deee28a14de8a59485fca717647ad2c82b06a7c3.tar.gz
rust-deee28a14de8a59485fca717647ad2c82b06a7c3.zip
Rollup merge of #87861 - tsoutsman:patch-1, r=GuillaumeGomez
Fix heading colours in Ayu theme

Closes #87828
The issue seems to stem from #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.
-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 {