]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
more docs
authorMark Otto <otto@github.com>
Wed, 18 Dec 2013 21:40:29 +0000 (13:40 -0800)
committerMark Otto <otto@github.com>
Wed, 18 Dec 2013 21:40:29 +0000 (13:40 -0800)
_includes/nav-css.html
_includes/nav-getting-started.html
css.html
docs-assets/css/docs.css
getting-started.html

index f0279c61b34941b13cc519f4b0b5c57ce22c2da9..02ac821bda5d91dbf65c313fc7200700a9fd14c0 100644 (file)
 <li>
   <a href="#less">Using LESS</a>
   <ul class="nav">
+    <li><a href="#less-bootstrap">Compiling Bootstrap</a></li>
     <li><a href="#less-variables">Variables</a></li>
     <li><a href="#less-mixins-vendor">Vendor mixins</a></li>
     <li><a href="#less-mixins-utility">Utility mixins</a></li>
index 96e175dd2d4780365174c6744a92335774a941d2..4a8a2f8360b1b37342b39b3817b39efce2aab4e1 100644 (file)
 </li>
 <li>
   <a href="#examples">Examples</a>
+  <ul class="nav">
+    <li><a href="#examples-framework">Using the framework</a></li>
+    <li><a href="#examples-navbars">Navbars in action</a></li>
+    <li><a href="#examples-custom">Custom components</a></li>
+    <li><a href="#examples-experiments">Experiments</a></li>
+  </ul>
 </li>
 <li>
   <a href="#disable-responsive">Disabling responsiveness</a>
index cab3ae97e822e581b456e4e227920c584fa70a3e..3adc9df9d030cfcd79b86dc07ef30dc0f5771ee9 100644 (file)
--- a/css.html
+++ b/css.html
@@ -2824,6 +2824,10 @@ For example, <code>&lt;section&gt;</code> should be wrapped as inline.
     <p>Grid variables and mixins are covered <a href="{{ page.base_url }}css/#grid-less">within the Grid system section</a>.</p>
 
 
+    <h2 id="less-bootstrap">Compiling Bootstrap</h2>
+    <p>Bootstrap can be used in at least two ways: with the compiled CSS or with the source LESS files. To compile the LESS files, <a href="https://github.com/twbs/bootstrap#compiling-css-and-javascript">visit the README</a> for how to setup your development environment to run the necessary commands.</p>
+    <p>Third party compilation tools may work with Bootstrap, but they are not supported by our core team.</p>
+
     <h2 id="less-variables">Variables</h2>
     <p>Variables are used throughout the entire project as a way to centralize and share commonly used values like colors, spacing, or font stacks. For a complete breakdown, please see <a href="{{ page.base_url }}customize/#less-variables-section">the Customizer</a>.</p>
 
index 952271ad952c5545d96a2a9b90ab3d85588684cc..6a233261676ec44d8002060414313ec49d351e48 100644 (file)
@@ -1289,6 +1289,9 @@ h1[id] {
 }
 
 /* Examples gallery: space out content better */
+.bs-examples .thumbnail {
+  margin-bottom: 10px;
+}
 .bs-examples h4 {
   margin-bottom: 5px;
 }
index 286058ba4f676e5e14fd611e1acc5d96e24c0fca..1dc60d42441b7a0420161ca3e576c1eef9660f6a 100644 (file)
@@ -157,6 +157,7 @@ bootstrap/
     </div>
     <p class="lead">Build on the basic template above with Bootstrap's many components. See also <a href="#customizing">Customizing Bootstrap</a> for tips on maintaining your own Bootstrap variants.</p>
 
+    <h3 id="examples-framework">Using the framework</h3>
     <div class="row bs-examples">
       <div class="col-xs-6 col-md-4">
         <a class="thumbnail" href="../examples/starter-template/">
@@ -165,6 +166,15 @@ bootstrap/
         <h4>Starter template</h4>
         <p>Nothing but the basics: compiled CSS and JavaScript along with a container.</p>
       </div>
+      <div class="col-xs-6 col-md-4">
+        <a class="thumbnail" href="../examples/theme/">
+          <img src="../examples/screenshots/theme.jpg" alt="">
+        </a>
+        <h4>Bootstrap theme</h4>
+        <p>Load the optional Bootstrap theme for a visually enhanced experience.</p>
+      </div>
+      <div class="clearfix visible-xs"></div>
+
       <div class="col-xs-6 col-md-4">
         <a class="thumbnail" href="../examples/grid/">
           <img src="../examples/screenshots/grid.jpg" alt="">
@@ -172,8 +182,6 @@ bootstrap/
         <h4>Grids</h4>
         <p>Multiple examples of grid layouts with all four tiers, nesting, and more.</p>
       </div>
-      <div class="clearfix visible-xs"></div>
-
       <div class="col-xs-6 col-md-4">
         <a class="thumbnail" href="../examples/jumbotron/">
           <img src="../examples/screenshots/jumbotron.jpg" alt="">
@@ -181,6 +189,8 @@ bootstrap/
         <h4>Jumbotron</h4>
         <p>Build around the jumbotron with a navbar and some basic grid columns.</p>
       </div>
+      <div class="clearfix visible-xs"></div>
+
       <div class="col-xs-6 col-md-4">
         <a class="thumbnail" href="../examples/jumbotron-narrow/">
           <img src="../examples/screenshots/jumbotron-narrow.jpg" alt="">
@@ -188,8 +198,10 @@ bootstrap/
         <h4>Narrow jumbotron</h4>
         <p>Build a more custom page by narrowing the default container and jumbotron.</p>
       </div>
-      <div class="clearfix visible-xs"></div>
+    </div>
 
+    <h3 id="examples-navbars">Navbars in action</h3>
+    <div class="row bs-examples">
       <div class="col-xs-6 col-md-4">
         <a class="thumbnail" href="../examples/navbar/">
           <img src="../examples/screenshots/navbar.jpg" alt="">
@@ -213,79 +225,76 @@ bootstrap/
         <h4>Fixed navbar</h4>
         <p>Super basic template with a fixed top navbar along with some additional content.</p>
       </div>
-      <div class="col-xs-6 col-md-4">
-        <a class="thumbnail" href="../examples/signin/">
-          <img src="../examples/screenshots/sign-in.jpg" alt="">
-        </a>
-        <h4>Sign-in page</h4>
-        <p>Custom form layout and design for a simple sign in form.</p>
-      </div>
-      <div class="clearfix visible-xs"></div>
+    </div>
 
+    <h3 id="examples-custom">Custom components</h3>
+    <div class="row bs-examples">
       <div class="col-xs-6 col-md-4">
-        <a class="thumbnail" href="../examples/sticky-footer/">
-          <img src="../examples/screenshots/sticky-footer.jpg" alt="">
+        <a class="thumbnail" href="../examples/cover/">
+          <img src="../examples/screenshots/cover.jpg" alt="">
         </a>
-        <h4>Sticky footer</h4>
-        <p>Attach a footer to the bottom of the viewport when the content is shorter than it.</p>
+        <h4>Cover</h4>
+        <p>A one-page template for building simple and beautiful home pages.</p>
       </div>
       <div class="col-xs-6 col-md-4">
-        <a class="thumbnail" href="../examples/sticky-footer-navbar/">
-          <img src="../examples/screenshots/sticky-footer-navbar.jpg" alt="">
+        <a class="thumbnail" href="../examples/carousel/">
+          <img src="../examples/screenshots/carousel.jpg" alt="">
         </a>
-        <h4>Sticky footer with navbar</h4>
-        <p>Attach a footer to the bottom of the viewport with a fixed navbar at the top.</p>
+        <h4>Carousel</h4>
+        <p>Customize the navbar and carousel, then add some new components.</p>
       </div>
       <div class="clearfix visible-xs"></div>
 
       <div class="col-xs-6 col-md-4">
-        <a class="thumbnail" href="../examples/justified-nav/">
-          <img src="../examples/screenshots/justified-nav.jpg" alt="">
+        <a class="thumbnail" href="../examples/blog/">
+          <img src="../examples/screenshots/blog.jpg" alt="">
         </a>
-        <h4>Justified nav</h4>
-        <p>Create a custom navbar with justified links. Heads up! <a href="../components/#nav-justified">Not too WebKit friendly.</a></p>
+        <h4>Blog</h4>
+        <p>Simple two-column blog layout with custom navigation, header, and type.</p>
       </div>
       <div class="col-xs-6 col-md-4">
-        <a class="thumbnail" href="../examples/offcanvas/">
-          <img src="../examples/screenshots/offcanvas.jpg" alt="">
+        <a class="thumbnail" href="../examples/dashboard/">
+          <img src="../examples/screenshots/dashboard.jpg" alt="">
         </a>
-        <h4>Offcanvas</h4>
-        <p>Build a toggleable off-canvas navigation menu for use with Bootstrap.</p>
+        <h4>Dashboard</h4>
+        <p>Basic structure for a admin dashboard with fixed sidebar and navbar.</p>
       </div>
       <div class="clearfix visible-xs"></div>
 
       <div class="col-xs-6 col-md-4">
-        <a class="thumbnail" href="../examples/carousel/">
-          <img src="../examples/screenshots/carousel.jpg" alt="">
+        <a class="thumbnail" href="../examples/signin/">
+          <img src="../examples/screenshots/sign-in.jpg" alt="">
         </a>
-        <h4>Carousel</h4>
-        <p>Customize the navbar and carousel, then add some new components.</p>
+        <h4>Sign-in page</h4>
+        <p>Custom form layout and design for a simple sign in form.</p>
       </div>
       <div class="col-xs-6 col-md-4">
-        <a class="thumbnail" href="../examples/cover/">
-          <img src="../examples/screenshots/cover.jpg" alt="">
+        <a class="thumbnail" href="../examples/justified-nav/">
+          <img src="../examples/screenshots/justified-nav.jpg" alt="">
         </a>
-        <h4>Cover</h4>
-        <p>A one-page template for building simple and beautiful home pages.</p>
+        <h4>Justified nav</h4>
+        <p>Create a custom navbar with justified links. Heads up! <a href="../components/#nav-justified">Not too WebKit friendly.</a></p>
       </div>
       <div class="clearfix visible-xs"></div>
 
       <div class="col-xs-6 col-md-4">
-        <a class="thumbnail" href="../examples/dashboard/">
-          <img src="../examples/screenshots/dashboard.jpg" alt="">
+        <a class="thumbnail" href="../examples/sticky-footer/">
+          <img src="../examples/screenshots/sticky-footer.jpg" alt="">
         </a>
-        <h4>Dashboard</h4>
-        <p>Basic structure for a admin dashboard with fixed sidebar and navbar.</p>
+        <h4>Sticky footer</h4>
+        <p>Attach a footer to the bottom of the viewport when the content is shorter than it.</p>
       </div>
       <div class="col-xs-6 col-md-4">
-        <a class="thumbnail" href="../examples/blog/">
-          <img src="../examples/screenshots/blog.jpg" alt="">
+        <a class="thumbnail" href="../examples/sticky-footer-navbar/">
+          <img src="../examples/screenshots/sticky-footer-navbar.jpg" alt="">
         </a>
-        <h4>Blog</h4>
-        <p>Simple two-column blog layout with custom navigation, header, and type.</p>
+        <h4>Sticky footer with navbar</h4>
+        <p>Attach a footer to the bottom of the viewport with a fixed navbar at the top.</p>
       </div>
-      <div class="clearfix visible-xs"></div>
+    </div>
 
+    <h3 id="examples-experiments">Experiments</h3>
+    <div class="row bs-examples">
       <div class="col-xs-6 col-md-4">
         <a class="thumbnail" href="../examples/non-responsive/">
           <img src="../examples/screenshots/non-responsive.jpg" alt="">
@@ -294,11 +303,11 @@ bootstrap/
         <p>Easily disable the responsiveness of Bootstrap <a href="../getting-started/#disable-responsive">per our docs</a>.</p>
       </div>
       <div class="col-xs-6 col-md-4">
-        <a class="thumbnail" href="../examples/theme/">
-          <img src="../examples/screenshots/theme.jpg" alt="">
+        <a class="thumbnail" href="../examples/offcanvas/">
+          <img src="../examples/screenshots/offcanvas.jpg" alt="">
         </a>
-        <h4>Bootstrap theme</h4>
-        <p>Load the optional Bootstrap theme for a visually enhanced experience.</p>
+        <h4>Offcanvas</h4>
+        <p>Build a toggleable off-canvas navigation menu for use with Bootstrap.</p>
       </div>
     </div>