diff options
| author | Steve Klabnik <steve@steveklabnik.com> | 2016-01-23 09:38:42 -0500 |
|---|---|---|
| committer | Steve Klabnik <steve@steveklabnik.com> | 2016-01-23 09:38:42 -0500 |
| commit | 2581aace9c643db341aa04dc3e1e0c845a79511d (patch) | |
| tree | 2818525156d1a612c8f87e4bbbcc905296778aca | |
| parent | 3f56b29715dd25bb92a18db5de459fa66795734f (diff) | |
| parent | c449f04a05749abdb4de61af9cd3f85bd37225e2 (diff) | |
Rollup merge of #31054 - steveklabnik:a11y, r=alexcrichton
I've been interested in the accessibility of Rustdoc's output, but never did anything about it. Today, I ran a tool, and it suggested adjusting some colors. Here's some screen shots. Before:  After:  As you can see, the link text is just a _shade_ darker. Browsable: http://www.steveklabnik.com/rust-a11y-doc-testing/doc/std/
| -rw-r--r-- | src/librustdoc/html/static/rustdoc.css | 2 | ||||
| -rw-r--r-- | src/librustdoc/html/static/styles/main.css | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/librustdoc/html/static/rustdoc.css b/src/librustdoc/html/static/rustdoc.css index 0bde582c19f..c751cdeb6f7 100644 --- a/src/librustdoc/html/static/rustdoc.css +++ b/src/librustdoc/html/static/rustdoc.css @@ -383,7 +383,7 @@ a { } .content span.enum, .content a.enum, .block a.current.enum { color: #5e9766; } -.content span.struct, .content a.struct, .block a.current.struct { color: #e53700; } +.content span.struct, .content a.struct, .block a.current.struct { color: #df3600; } .content a.type { color: #e57300; } .content a.macro { color: #068000; } .block a.current.crate { font-weight: 500; } diff --git a/src/librustdoc/html/static/styles/main.css b/src/librustdoc/html/static/styles/main.css index e138d62f986..02bb5221886 100644 --- a/src/librustdoc/html/static/styles/main.css +++ b/src/librustdoc/html/static/styles/main.css @@ -106,14 +106,14 @@ a { } .docblock a, .stability a { - color: #4e8bca; + color: #3873AD; } a.test-arrow { color: #f5f5f5; } -.content span.trait, .content a.trait, .block a.current.trait { color: #8866ff; } +.content span.trait, .content a.trait, .block a.current.trait { color: #7c5af3; } .search-input { color: #555; |
