Fix anchor offsets for line numbers

When following a line number link in the API docs, the anchor is 50 pixels off because of the header. This pull request adds an offset, just like the one used for members/methods.