Skip to content

Commit

Permalink
Show line number anchors on hover
Browse files Browse the repository at this point in the history
for easy linkage
  • Loading branch information
zoffixznet committed Mar 20, 2018
1 parent 5e5a0c5 commit 690bf9b
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions html/perl-with-historical-message.css
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,27 @@ body:before {
display: block;
padding-top: 90px;
}

[id^="line_"] {
position: relative;
}

[id^="line_"]::before {
color: #fff;
content: attr(id);
left: -6em;
position: absolute;
}

[id^="line_"] + [id^="line_"]:before {
content: none;
}


[id^="line_"] {
position: relative;
}

.pod:hover [id^="line_"]:before {
color: #ddd;
}

0 comments on commit 690bf9b

Please sign in to comment.