MDL-53049 themes: Offset href anchor when bootstrap header is fixed

On large screens the bootstrap header is static and can obscure the
anchor target content underneath it.
This commit is contained in:
Brendan Heywood
2016-03-21 19:25:51 +11:00
parent fed66ad9e2
commit 852797d15c
2 changed files with 16 additions and 1 deletions
@@ -14,6 +14,21 @@
float: right;
}
}
}
@media (min-width: (@navbarCollapseDesktopWidth) ) {
a[id]:empty::before,
a[name]:empty::before {
display: inline-block;
position: relative;
content: '';
padding-top: @navbarHeight;
margin-top: -@navbarHeight;
vertical-align: top;
}
}
@media (min-width: 980px) and (max-width: 1199px) {
File diff suppressed because one or more lines are too long