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/
This commit is contained in:
commit
2581aace9c
@ -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; }
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user