]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
rearrange hero unit section
authorMark Otto <markotto@twitter.com>
Sun, 10 Jun 2012 22:14:21 +0000 (15:14 -0700)
committerMark Otto <markotto@twitter.com>
Sun, 10 Jun 2012 22:14:21 +0000 (15:14 -0700)
docs/assets/css/docs.css
docs/components.html
docs/templates/pages/components.mustache

index 4d65f6b045ac7d09e6f1483822a0c7123a5ebb4f..fc9df07e2281f79e6b1b5e9143941aaf521707df 100644 (file)
@@ -742,7 +742,8 @@ form.well {
 .bs-docs-example .table,
 .bs-docs-example .progress,
 .bs-docs-example .well,
-.bs-docs-example .alert {
+.bs-docs-example .alert,
+.bs-docs-example .hero-unit {
   margin-bottom: 5px;
 }
 form.bs-docs-example {
index 312e03c201437f1f30153c456ae70932451128f2..5fae8d4b5a316ee722b577da07c1b01842ac886f 100644 (file)
   <div class="page-header">
     <h1>Typographic components <small>Page header and hero unit for segmenting content</small></h1>
   </div>
-  <h2>Hero unit</h2>
 
-  <p>Bootstrap provides a lightweight, flexible component called a hero unit to showcase content on your site. It works well on marketing and content-heavy sites.</p>
-  <h3>Markup</h3>
-  <p>Wrap your content in a <code>div</code> like so:</p>
+  <h2>Hero unit</h2>
+  <p>A lightweight, flexible component called a hero unit to showcase content on your site. It works well on marketing and content-heavy sites.</p>
+  <div class="bs-docs-example">
+    <div class="hero-unit">
+      <h1>Hello, world!</h1>
+      <p>This is a simple hero unit, a simple jumbotron-style component for calling extra attention to featured content or information.</p>
+      <p><a class="btn btn-primary btn-large">Learn more</a></p>
+    </div>
+  </div>
 <pre class="prettyprint linenums">
 &lt;div class="hero-unit"&gt;
   &lt;h1&gt;Heading&lt;/h1&gt;
 &lt;/div&gt;
 </pre>
 
-  <div class="bs-docs-example">
-    <div class="hero-unit">
-      <h1>Hello, world!</h1>
-      <p>This is a simple hero unit, a simple jumbotron-style component for calling extra attention to featured content or information.</p>
-      <p><a class="btn btn-primary btn-large">Learn more</a></p>
-    </div>
-  </div>
-
   <h2>Page header</h2>
-
   <p>A simple shell for an <code>h1</code> to appropriately space out and segment sections of content on a page. It can utilize the <code>h1</code>'s default <code>small</code>, element as well most other components (with additional styles).</p>
   <div class="bs-docs-example">
     <div class="page-header">
index c90b2997eaf3d4059fd0e19bb8d32f6710e0a4df..aa1032c06da614b9ee7af03eb2366c3d4da3969f 100644 (file)
   <div class="page-header">
     <h1>{{_i}}Typographic components{{/i}} <small>{{_i}}Page header and hero unit for segmenting content{{/i}}</small></h1>
   </div>
-  <h2>{{_i}}Hero unit{{/i}}</h2>
 
-  <p>{{_i}}Bootstrap provides a lightweight, flexible component called a hero unit to showcase content on your site. It works well on marketing and content-heavy sites.{{/i}}</p>
-  <h3>{{_i}}Markup{{/i}}</h3>
-  <p>{{_i}}Wrap your content in a <code>div</code> like so:{{/i}}</p>
+  <h2>{{_i}}Hero unit{{/i}}</h2>
+  <p>{{_i}}A lightweight, flexible component called a hero unit to showcase content on your site. It works well on marketing and content-heavy sites.{{/i}}</p>
+  <div class="bs-docs-example">
+    <div class="hero-unit">
+      <h1>{{_i}}Hello, world!{{/i}}</h1>
+      <p>{{_i}}This is a simple hero unit, a simple jumbotron-style component for calling extra attention to featured content or information.{{/i}}</p>
+      <p><a class="btn btn-primary btn-large">{{_i}}Learn more{{/i}}</a></p>
+    </div>
+  </div>
 <pre class="prettyprint linenums">
 &lt;div class="hero-unit"&gt;
   &lt;h1&gt;{{_i}}Heading{{/i}}&lt;/h1&gt;
 &lt;/div&gt;
 </pre>
 
-  <div class="bs-docs-example">
-    <div class="hero-unit">
-      <h1>{{_i}}Hello, world!{{/i}}</h1>
-      <p>{{_i}}This is a simple hero unit, a simple jumbotron-style component for calling extra attention to featured content or information.{{/i}}</p>
-      <p><a class="btn btn-primary btn-large">{{_i}}Learn more{{/i}}</a></p>
-    </div>
-  </div>
-
   <h2>{{_i}}Page header{{/i}}</h2>
-
   <p>{{_i}}A simple shell for an <code>h1</code> to appropriately space out and segment sections of content on a page. It can utilize the <code>h1</code>'s default <code>small</code>, element as well most other components (with additional styles).{{/i}}</p>
   <div class="bs-docs-example">
     <div class="page-header">