]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
add typography pattern .page-header to components per #1701
authorMark Otto <markotto@twitter.com>
Mon, 13 Feb 2012 04:07:25 +0000 (20:07 -0800)
committerMark Otto <markotto@twitter.com>
Mon, 13 Feb 2012 04:07:25 +0000 (20:07 -0800)
docs/assets/bootstrap.zip
docs/components.html
docs/templates/pages/components.mustache

index d9c4b4c604db972974501d426190db142199f90d..402c12594399e5102b1193f149dd3c18e9f70391 100644 (file)
Binary files a/docs/assets/bootstrap.zip and b/docs/assets/bootstrap.zip differ
index ac87f74b535ea77b7176c20980135020f7f73305..d0b5de632dfbc3aeb94bbd669d92efd7c240ac63 100644 (file)
@@ -98,7 +98,7 @@
         </ul>
       </li>
       <li><a href="#labels">Labels</a></li>
-      <li><a href="#hero">Hero</a></li>
+      <li><a href="#typography">Typography</a></li>
       <li><a href="#thumbnails">Thumbnails</a></li>
       <li><a href="#alerts">Alerts</a></li>
       <li><a href="#progress">Progress bars</a></li>
 
 
 
-<!-- Hero unit
+<!-- Typographic components
 ================================================== -->
-<section id="hero">
+<section id="typography">
   <div class="page-header">
-    <h1>Hero unit <small>Jumbotron for your site's tagline</small></h1>
+    <h1>Typographic components <small>Page header and hero unit for segmenting content</small></h1>
   </div>
+  <h2>Hero unit</h2>
   <div class="row">
     <div class="span4">
-      <h2>About</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>
         <p><a class="btn btn-primary btn-large">Learn more</a></p>
       </div>
     </div>
-  </div>
+  </div><!-- /row -->
+  <h2>Page header</h2>
+  <div class="row">
+    <div class="span4">
+      <p>A simple shell for an <code>h1</code> to appropratiely 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>
+    <div class="span8">
+<pre class="prettyprint linenums">
+&lt;div class="page-haeder"&gt;
+  &lt;h1&gt;Example page header&lt;/h1&gt;
+&lt;/div&gt;
+</pre>
+    </div>
+  </div><!-- /row -->
 </section>
 
 
index ec7ba2636ebf10e5686cfe2e22a7ad07692ffdac..0b55e60f0459a4274d084ba73ca12df51e383c04 100644 (file)
@@ -22,7 +22,7 @@
         </ul>
       </li>
       <li><a href="#labels">{{_i}}Labels{{/i}}</a></li>
-      <li><a href="#hero">{{_i}}Hero{{/i}}</a></li>
+      <li><a href="#typography">{{_i}}Typography{{/i}}</a></li>
       <li><a href="#thumbnails">{{_i}}Thumbnails{{/i}}</a></li>
       <li><a href="#alerts">{{_i}}Alerts{{/i}}</a></li>
       <li><a href="#progress">{{_i}}Progress bars{{/i}}</a></li>
 
 
 
-<!-- Hero unit
+<!-- Typographic components
 ================================================== -->
-<section id="hero">
+<section id="typography">
   <div class="page-header">
-    <h1>{{_i}}Hero unit{{/i}} <small>{{_i}}Jumbotron for your site's tagline{{/i}}</small></h1>
+    <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>
   <div class="row">
     <div class="span4">
-      <h2>{{_i}}About{{/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>
         <p><a class="btn btn-primary btn-large">{{_i}}Learn more{{/i}}</a></p>
       </div>
     </div>
-  </div>
+  </div><!-- /row -->
+  <h2>{{_i}}Page header{{/i}}</h2>
+  <div class="row">
+    <div class="span4">
+      <p>{{_i}}A simple shell for an <code>h1</code> to appropratiely 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>
+    <div class="span8">
+<pre class="prettyprint linenums">
+&lt;div class="page-haeder"&gt;
+  &lt;h1&gt;{{_i}}Example page header{{/i}}&lt;/h1&gt;
+&lt;/div&gt;
+</pre>
+    </div>
+  </div><!-- /row -->
 </section>