]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
fix broken marketing section with updated class
authorMark Otto <otto@github.com>
Mon, 18 Feb 2013 04:18:29 +0000 (20:18 -0800)
committerMark Otto <otto@github.com>
Mon, 18 Feb 2013 04:18:29 +0000 (20:18 -0800)
docs/assets/css/bootstrap.css
docs/assets/css/docs.css
docs/index.html
docs/javascript.html
less/navs.less

index 0d99d6ea9c33ff8ae58db3441d954ebf98da9fc7..7fd15498e7aa4823fa333bcc07e9fd4d66a9ce56 100644 (file)
@@ -3034,6 +3034,26 @@ button.close {
   border-bottom: 1px solid #ffffff;
 }
 
+.tabbable:before,
+.tabbable:after {
+  display: table;
+  content: " ";
+}
+
+.tabbable:after {
+  clear: both;
+}
+
+.tab-content > .tab-pane,
+.pill-content > .pill-pane {
+  display: none;
+}
+
+.tab-content > .active,
+.pill-content > .active {
+  display: block;
+}
+
 /*
 // Prevent IE8 from misplacing imgs
 // See https://github.com/h5bp/html5-boilerplate/issues/984#issuecomment-3985989
@@ -3101,26 +3121,6 @@ button.close {
   border-color: @grayLight;
 }
 
-
-
-// Tabbable tabs
-// -------------------------
-
-// Clear any floats
-.tabbable {
-  .clearfix();
-}
-
-// Show/hide tabbable areas
-.tab-content > .tab-pane,
-.pill-content > .pill-pane {
-  display: none;
-}
-.tab-content > .active,
-.pill-content > .active {
-  display: block;
-}
-
 */
 
 .navbar {
index e35badfc9b653fe6c39a532768e10314a5f87f11..e1caaceb743b9dd3fa3da700a01934cd06387fb6 100644 (file)
@@ -9,6 +9,7 @@
 -------------------------------------------------- */
 
 body {
+  padding-top: 54px;
   position: relative; /* For scrollyspy */
   /* We add the padding to the body for >768px only */
 }
@@ -310,6 +311,11 @@ section > ul li {
   margin-left: 20px;
 }
 
+/* Example tabbable tabs */
+.bs-docs-example-tabs .nav-tabs {
+  margin-bottom: 15px;
+}
+
 
 /* Example templates
 -------------------------------------------------- */
index 6cb633709ede49120c6e6eff47baff0449f79a4e..68a14ae2efe1f903d13bbe16ed94abfd8a91f308 100644 (file)
@@ -24,7 +24,7 @@ title: Bootstrap
 
 <div class="container">
 
-  <div class="marketing">
+  <div class="bs-docs-marketing">
 
     <h1>Introducing Bootstrap.</h1>
     <p class="marketing-byline">Need reasons to love Bootstrap? Look no further.</p>
index 875563f50580acf15229fd455760af51e3e4474f..3194ce8bcf49bd38a8847e8588d3a6c454987ab4 100644 (file)
@@ -622,7 +622,7 @@ $('[data-spy="scroll"]').each(function () {
 
           <h2>Example tabs</h2>
           <p>Add quick, dynamic tab functionality to transition through panes of local content, even via dropdown menus.</p>
-          <div class="bs-docs-example">
+          <div class="bs-docs-example bs-docs-example-tabs">
             <ul id="myTab" class="nav nav-tabs">
               <li class="active"><a href="#home" data-toggle="tab">Home</a></li>
               <li><a href="#profile" data-toggle="tab">Profile</a></li>
index 6eb12d76b4df97c14bfc2420046fe6a0555b8073..24837cb7c51616b3bd7aa1df63d2371c95db01e0 100644 (file)
 
 
 
+// Tabbable tabs
+// -------------------------
+
+// Clear any floats
+.tabbable {
+  .clearfix();
+}
+
+// Show/hide tabbable areas
+.tab-content > .tab-pane,
+.pill-content > .pill-pane {
+  display: none;
+}
+.tab-content > .active,
+.pill-content > .active {
+  display: block;
+}
+
+
+
 /*
 // Prevent IE8 from misplacing imgs
 // See https://github.com/h5bp/html5-boilerplate/issues/984#issuecomment-3985989
   border-color: @grayLight;
 }
 
-
-
-// Tabbable tabs
-// -------------------------
-
-// Clear any floats
-.tabbable {
-  .clearfix();
-}
-
-// Show/hide tabbable areas
-.tab-content > .tab-pane,
-.pill-content > .pill-pane {
-  display: none;
-}
-.tab-content > .active,
-.pill-content > .active {
-  display: block;
-}
-
 */