From 3985379ccabcdcf9f96432ba37be2dd38ed117bc Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sun, 10 Jun 2012 15:14:21 -0700 Subject: [PATCH] rearrange hero unit section --- docs/assets/css/docs.css | 3 ++- docs/components.html | 22 +++++++++------------- docs/templates/pages/components.mustache | 22 +++++++++------------- 3 files changed, 20 insertions(+), 27 deletions(-) diff --git a/docs/assets/css/docs.css b/docs/assets/css/docs.css index 4d65f6b045..fc9df07e22 100644 --- a/docs/assets/css/docs.css +++ b/docs/assets/css/docs.css @@ -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 { diff --git a/docs/components.html b/docs/components.html index 312e03c201..5fae8d4b5a 100644 --- a/docs/components.html +++ b/docs/components.html @@ -1398,11 +1398,16 @@ -

Hero unit

-

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.

-

Markup

-

Wrap your content in a div like so:

+

Hero unit

+

A lightweight, flexible component called a hero unit to showcase content on your site. It works well on marketing and content-heavy sites.

+
+
+

Hello, world!

+

This is a simple hero unit, a simple jumbotron-style component for calling extra attention to featured content or information.

+

Learn more

+
+
 <div class="hero-unit">
   <h1>Heading</h1>
@@ -1415,16 +1420,7 @@
 </div>
 
-
-
-

Hello, world!

-

This is a simple hero unit, a simple jumbotron-style component for calling extra attention to featured content or information.

-

Learn more

-
-
-

Page header

-

A simple shell for an h1 to appropriately space out and segment sections of content on a page. It can utilize the h1's default small, element as well most other components (with additional styles).