Skip to content

Commit 204e2bd

Browse files
committed
Style all docblock links properly
Fixes #22493
1 parent dfc5c0f commit 204e2bd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/librustdoc/html/static/main.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -374,8 +374,8 @@ a {
374374
color: #000;
375375
background: transparent;
376376
}
377-
p a { color: #4e8bca; }
378-
p a:hover { text-decoration: underline; }
377+
.docblock a { color: #4e8bca; }
378+
.docblock a:hover { text-decoration: underline; }
379379

380380
.content span.trait, .content a.trait, .block a.current.trait { color: #ed9603; }
381381
.content span.mod, .content a.mod, block a.current.mod { color: #4d76ae; }

0 commit comments

Comments
 (0)