Undo jank jump to docs section via side nav thing for all but h1s

While it worked, it overlaps content and makes links unclickable,
elements unselectable, etc. Le sad.
This commit is contained in:
Mark Otto 2013-08-18 23:51:09 -07:00
parent 7eddb94fa6
commit 0e61e8783b
1 changed files with 3 additions and 14 deletions

View File

@ -493,15 +493,13 @@ body {
/* Space things out */
.bs-docs-section + .bs-docs-section {
padding-top: 80px;
padding-top: 40px;
}
/* Janky fix for preventing navbar from overlapping */
h1[id],
h2[id],
h3[id] {
h1[id] {
padding-top: 80px;
margin-top: -70px;
margin-top: -45px;
}
@ -1071,12 +1069,3 @@ h3[id] {
margin-top: 15px;
margin-bottom: 5px;
}
/* Migration overview spacing */
.bs-migration-overview {
margin-bottom: 30px;
}
.bs-migration-overview h4 {
margin-top: 20px;
margin-bottom: 5px;
}