Skip to content

Commit 5250ef5

Browse files
committed
Rollup merge of #22571 - nagisa:style-fallout, r=alexcrichton
Links in docblock headers also became blue, which was not intended. r? @steveklabnik
2 parents 3cd0649 + 888dac9 commit 5250ef5

File tree

1 file changed

+17
-2
lines changed

1 file changed

+17
-2
lines changed

src/librustdoc/html/static/main.css

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -374,8 +374,14 @@ a {
374374
color: #000;
375375
background: transparent;
376376
}
377-
.docblock a { color: #4e8bca; }
378-
.docblock a:hover { text-decoration: underline; }
377+
378+
.docblock a {
379+
color: #4e8bca;
380+
}
381+
382+
.docblock a:hover {
383+
text-decoration: underline;
384+
}
379385

380386
.content span.trait, .content a.trait, .block a.current.trait { color: #ed9603; }
381387
.content span.mod, .content a.mod, block a.current.mod { color: #4d76ae; }
@@ -529,10 +535,19 @@ pre.rust { position: relative; }
529535
margin: 0 0 -5px;
530536
padding: 0;
531537
}
538+
532539
.section-header:hover a:after {
533540
content: '\2002\00a7\2002';
534541
}
535542

543+
.section-header:hover a {
544+
text-decoration: none;
545+
}
546+
547+
.section-header a {
548+
color: inherit;
549+
}
550+
536551
.collapse-toggle {
537552
font-weight: 300;
538553
position: absolute;

0 commit comments

Comments
 (0)