diff options
| author | Matthias Krüger <476013+matthiaskrgr@users.noreply.github.com> | 2025-05-20 20:57:30 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-05-20 20:57:30 +0200 |
| commit | 13f3f3184033fda51c31ba6b7b15a4f9868e4c88 (patch) | |
| tree | 3d85beb4f0b4b2eb9e10542e4286ddde658a1d04 | |
| parent | 74636b0ff5d04e40022007a05cf0b0d1b5a3052d (diff) | |
| parent | b8732aaa4d5af1c5a287e2baac38dc1e4d41c56e (diff) | |
| download | rust-13f3f3184033fda51c31ba6b7b15a4f9868e4c88.tar.gz rust-13f3f3184033fda51c31ba6b7b15a4f9868e4c88.zip | |
Rollup merge of #141303 - Urgau:pagetoc-fix-color, r=ehuss
Fix pagetoc inactive color in rustc book This PR fixes the color of inactive entry in rustc pagetoc, particularly with the "Rust" theme. | Before | After | |--------|-------| |  |  | Live preview at: http://urgau.rf.gd/book Related to https://github.com/rust-lang/rust/pull/140113#issuecomment-2888615781 r? `@ehuss`
| -rw-r--r-- | src/doc/rustc/theme/pagetoc.css | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/rustc/theme/pagetoc.css b/src/doc/rustc/theme/pagetoc.css index 58ca1f8b26f..fa709194f37 100644 --- a/src/doc/rustc/theme/pagetoc.css +++ b/src/doc/rustc/theme/pagetoc.css @@ -49,7 +49,7 @@ } #pagetoc a { border-left: 1px solid var(--sidebar-bg); - color: var(--sidebar-fg) !important; + color: var(--fg); display: block; padding-bottom: 5px; padding-top: 5px; |
