]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Undo jank jump to docs section via side nav thing for all but h1s
authorMark Otto <otto@github.com>
Mon, 19 Aug 2013 06:51:09 +0000 (23:51 -0700)
committerMark Otto <otto@github.com>
Mon, 19 Aug 2013 06:51:09 +0000 (23:51 -0700)
While it worked, it overlaps content and makes links unclickable,
elements unselectable, etc. Le sad.

assets/css/docs.css

index da107292de7ec738131d7d7592c78efa7e4902ab..f789065091e3c391d34f9c0d6411325d698c5c33 100644 (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;
-}