Skip to content

Commit 4c9e839

Browse files
committed
Add some magic to make id links not be obscured by the floating header.
Thanks http://stackoverflow.com/a/24298427/1976323 Fixes ev3dev/ev3dev#341
1 parent f6d3d85 commit 4c9e839

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

stylesheets/styles.css

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1572,4 +1572,12 @@ section #title p {
15721572
.cclicense {
15731573
text-align: center;
15741574
color: #696969;
1575-
}
1575+
}
1576+
1577+
*[id]:before {
1578+
display: block;
1579+
content: " ";
1580+
margin-top: -75px;
1581+
height: 75px;
1582+
visibility: hidden;
1583+
}

0 commit comments

Comments
 (0)