Skip to content

Commit

Permalink
Merge pull request #1900 from daspecster/fix-anchor-link-scroll
Browse files Browse the repository at this point in the history
Adjust anchor scroll in docs to show actual line.
  • Loading branch information
daspecster authored Jun 27, 2016
2 parents 5ac80ba + da7cd1f commit b0558ba
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/_static/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,14 @@ html {
line-height: 1.4;
}

*[id]:before {
display: block;
content: " ";
margin-top: -70px;
height: 70px;
visibility: hidden;
}

/*
* Remove text-shadow in selection highlight: h5bp.com/i
* These selection rule sets have to be separate.
Expand Down

0 comments on commit b0558ba

Please sign in to comment.