Skip to content

Commit e6fd1f8

Browse files
committed
Remove visual highlight for anchored method links
Since the anchor link always brings people to the top of the page. I think it’s okay to remove both border-left and margin-left which was acting as highlight here. The method name should be easy to spot without extra highlighting.
1 parent 8417536 commit e6fd1f8

File tree

1 file changed

+0
-5
lines changed
  • lib/rdoc/generator/template/darkfish/css

1 file changed

+0
-5
lines changed

lib/rdoc/generator/template/darkfish/css/rdoc.css

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -579,11 +579,6 @@ main .method-detail {
579579
margin-bottom: 2.5em;
580580
}
581581

582-
main .method-detail:target {
583-
margin-left: -10px;
584-
border-left: 10px solid var(--border-color);
585-
}
586-
587582
main .method-header {
588583
display: inline-block;
589584
}

0 commit comments

Comments
 (0)