1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Merge pull request #5233 from ostezer/docs-fix-scroll-header-margin

Fix headers staying under the menu when clicked-to-scroll.
This commit is contained in:
Sven Dowideit 2014-04-17 08:40:55 +10:00
commit f85d03327d

View file

@ -37,6 +37,9 @@ h6,
}
#content h2 {
padding: 0.5em 0em 0.3em 0em;
/* Desktop click-to-scroll margin/padding fixes */
padding-top: 2em !important;
margin-top: -2em !important;
}
#content h3 {
padding: 0.7em 0em 0.3em 0em;
@ -587,6 +590,13 @@ ol.breadcrumb > li:last-child > a {
display: none;
}
/* Mobile click-to-scroll margin/padding fixes */
#content h2 {
padding: 0.5em 0em 0.3em 0em;
padding-top: 13.5em !important;
margin-top: -13.5em !important;
}
}
/* Container responsiveness fixes to maximise realestate expenditure */