]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Update examples to account for #18185
authorChris Rebert <code@chrisrebert.com>
Tue, 8 Dec 2015 11:38:34 +0000 (03:38 -0800)
committerChris Rebert <code@chrisrebert.com>
Tue, 8 Dec 2015 11:41:51 +0000 (03:41 -0800)
[skip sauce]

docs/components/jumbotron.md
docs/components/navbar.md
docs/examples/navbar-top-fixed/index.html
docs/examples/navbar-top/index.html
docs/examples/sticky-footer-navbar/index.html
docs/examples/sticky-footer/index.html
docs/getting-started/download.md
docs/index.html

index af12996e6059edd8cb39551de710a17877d78987..9dd3c8294e785d3dfd2a706dddb5e1b56a8728a1 100644 (file)
@@ -12,7 +12,7 @@ A lightweight, flexible component that can optionally extend the entire viewport
 <div class="jumbotron">
   <h1 class="display-3">Hello, world!</h1>
   <p class="lead">This is a simple hero unit, a simple jumbotron-style component for calling extra attention to featured content or information.</p>
-  <hr class="m-y-md">
+  <hr class="m-y-2">
   <p>It uses utility classes for typography and spacing to space content out within the larger container.</p>
   <p class="lead">
     <a class="btn btn-primary btn-lg" href="#" role="button">Learn more</a>
index 532a1d38132b439140c4a5cc8425da5e047026a6..d5d911c1ba603e9c802046d08baad48ad51d3ac9 100644 (file)
@@ -241,7 +241,7 @@ Our collapse plugin allows you to use a `<button>` or `<a>` to toggle hidden con
 
 {% example html %}
 <div class="collapse" id="exCollapsingNavbar">
-  <div class="bg-inverse p-a">
+  <div class="bg-inverse p-a-1">
     <h4>Collapsed content</h4>
     <span class="text-muted">Toggleable via the navbar brand.</span>
   </div>
index 58640e9144df40f2a4c0e5aec832545a70890cfc..bf4eeccdf46b70fd8ab510be8d015a54b5cf0b4e 100644 (file)
@@ -21,7 +21,7 @@
 
     <div class="pos-f-t">
       <div class="collapse" id="navbar-header">
-        <div class="container-fluid bg-inverse p-a">
+        <div class="container-fluid bg-inverse p-a-1">
           <h3>Collapsed content</h3>
           <p>Toggleable via the navbar brand.</p>
         </div>
index f89e1e412e938d2604041cc725be4942d451b5ff..322c65684d1540fe8763502d69a8822e789da3e6 100644 (file)
   <body>
 
     <div class="collapse" id="navbar-header">
-      <div class="container-fluid bg-inverse p-a">
+      <div class="container-fluid bg-inverse p-a-1">
         <h3>Collapsed content</h3>
         <p>Toggleable via the navbar brand.</p>
       </div>
     </div>
-    <div class="navbar navbar-light bg-faded navbar-static-top m-b">
+    <div class="navbar navbar-light bg-faded navbar-static-top m-b-1">
       <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbar-header">
         &#9776;
       </button>
index be7722696be4e276bab25dabbfd0f6d2a188b09f..a92dd2003ead463b82b58547440e1b288130e12b 100644 (file)
@@ -23,7 +23,7 @@
     <!-- Fixed navbar -->
     <div class="pos-f-t">
       <div class="collapse" id="navbar-header">
-        <div class="container bg-inverse p-a">
+        <div class="container bg-inverse p-a-1">
           <h3>Collapsed content</h3>
           <p>Toggleable via the navbar brand.</p>
         </div>
@@ -56,7 +56,7 @@
 
     <!-- Begin page content -->
     <div class="container">
-      <div class="page-header m-t">
+      <div class="page-header m-t-1">
         <h1>Sticky footer with fixed navbar</h1>
       </div>
       <p class="lead">Pin a fixed-height footer to the bottom of the viewport in desktop browsers with this custom HTML and CSS. A fixed navbar has been added with <code>padding-top: 60px;</code> on the <code>body > .container</code>.</p>
index 8321d151c55957d9a664eda43d2cc3b3d8f0518d..3af8b13ff7390b36ec19fef1af7a75291afe8b62 100644 (file)
@@ -22,7 +22,7 @@
 
     <!-- Begin page content -->
     <div class="container">
-      <div class="page-header m-t">
+      <div class="page-header m-t-1">
         <h1>Sticky footer</h1>
       </div>
       <p class="lead">Pin a fixed-height footer to the bottom of the viewport in desktop browsers with this custom HTML and CSS.</p>
index eb5caa4bc6e94471470bb5125efaea74f2e46bed..806eb7b3ab628ded6239d38459bc556381df67e5 100644 (file)
@@ -6,7 +6,7 @@ group: getting-started
 
 **Bootstrap v{{ site.current_version}}** is available for download in several ways, including some of your favorite package managers. Choose from the options below to snag just what you need.
 
-<div class="row m-t-md">
+<div class="row m-t-2">
   <div class="col-sm-6">
 {% markdown %}
 ### Compiled
index 2c0d18f7a42a2d7f79f06085266daf4046c20835..3591dbd0401d7c01e0a3677aeff7591ab8d8d768 100644 (file)
@@ -21,14 +21,14 @@ title: Bootstrap &middot; The world's most popular mobile-first and responsive f
     <p class="lead">Quickly include Bootstrap's CSS and JS into any project. Use your favorite package manager, download the source, or use the Bootstrap CDN.</p>
 
     <div class="row">
-      <div class="col-sm-6 m-b-lg">
+      <div class="col-sm-6 m-b-3">
         <h4>Managed dependencies</h4>
         <p>Include Bootstrap's source Sass and JavaScript files via Bower, Composer, Meteor, or npm. Package managed installs don't include documentation, but do include our Gruntfile and readme.</p>
         <p>
           <a class="btn btn-bs btn-outline" href="{{ site.baseurl }}/getting-started/download/#package-managers">View install methods</a>
         </p>
       </div>
-      <div class="col-sm-6 m-b-lg">
+      <div class="col-sm-6 m-b-3">
         <h4>Bootstrap CDN</h4>
         <p>When you just need to include Bootstrap's compiled CSS and JS, use the Bootstrap CDN, free from the Max CDN folks.</p>
 {% highlight html %}
@@ -52,17 +52,17 @@ title: Bootstrap &middot; The world's most popular mobile-first and responsive f
     <p class="lead">Bootstrap makes front-end web development faster and easier. It's made for folks of all skill levels, devices of all shapes, and projects of all sizes.</p>
 
     <div class="row">
-      <div class="col-sm-4 m-b-lg">
+      <div class="col-sm-4 m-b-3">
         <img src="assets/img/sass.png" alt="Sass support" class="img-fluid">
         <h4>Preprocessor</h4>
         <p>Bootstrap ships with vanilla CSS, but its source code utilizes <a href="http://sass-lang.com/">Sass</a>, a popular CSS preprocessor. Quickly get started with precompiled CSS or build on the source.</p>
       </div>
-      <div class="col-sm-4 m-b-lg">
+      <div class="col-sm-4 m-b-3">
         <img src="assets/img/devices.png" alt="Responsive across devices" class="img-fluid">
         <h4>One framework, every device.</h4>
         <p>Bootstrap easily and efficiently scales your websites and applications with a single code base, from phones to tablets to desktops with CSS media queries.</p>
       </div>
-      <div class="col-sm-4 m-b-lg">
+      <div class="col-sm-4 m-b-3">
         <img src="assets/img/components.png" alt="Components" class="img-fluid">
         <h4>Full of features</h4>
         <p>With Bootstrap, you get extensive and beautiful documentation for common HTML elements, dozens of custom HTML and CSS components, and awesome jQuery plugins.</p>