auto merge of #13807 : ipetkov/rust/issue-13771, r=alexcrichton
All links inside docblocks will have their color set to `#4e8bca` (a light blue color to contrast against the black text). This color also offers a visible contrast from the surrounding text if viewed as grayscale, making it suitable for accessability. Docblock links will also be underlined when hovered over. Before:  After (links underlined only on hover, cursor not shown in image):  Fix #13771
This commit is contained in:
commit
30e373390f
@ -202,6 +202,10 @@ nav.sub {
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
.docblock a { color: #4e8bca; }
|
||||
.docblock a:hover { text-decoration: underline; }
|
||||
|
||||
.docblock.short p {
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
|
Loading…
x
Reference in New Issue
Block a user