From a645664e503475af2b8ed6f81f6860aad188f327 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Thu, 5 Jul 2012 10:12:15 -0700 Subject: update thumbnails to fix display issues and refine aesthetics --- docs/components.html | 115 ++++++++++++++++++++++++++++++--------------------- 1 file changed, 67 insertions(+), 48 deletions(-) (limited to 'docs/components.html') diff --git a/docs/components.html b/docs/components.html index 0c81aefa5..ed1ba953a 100644 --- a/docs/components.html +++ b/docs/components.html @@ -1679,53 +1679,67 @@

Default thumbnails

By default, Bootstrap's thumbnails are designed to showcase linked images with minimal required markup.

- +
+ +

Highly customizable

With a bit of extra markup, it's possible to add any kind of HTML content like headings, paragraphs, or buttons into thumbnails.

- + +
  • +
    + +
    +

    Thumbnail label

    +

    Cras justo odio, dapibus ac facilisis in, egestas eget quam. Donec id elit non mi porta gravida at eget metus. Nullam id dolor id nibh ultricies vehicula ut id elit.

    +

    Action Action

    +
    +
    +
  • + +

    Why use thumbnails

    Thumbnails (previously .media-grid up until v1.4) are great for grids of photos or videos, image search results, retail products, portfolios, and much more. They can be links or static content.

    @@ -1740,9 +1754,9 @@

    As mentioned previously, the required markup for thumbnails is light and straightforward. Here's a look at the default setup for linked images:

     <ul class="thumbnails">
    -  <li class="span3">
    +  <li class="span4">
         <a href="#" class="thumbnail">
    -      <img src="http://placehold.it/260x180" alt="">
    +      <img src="http://placehold.it/300x200" alt="">
         </a>
       </li>
       ...
    @@ -1751,11 +1765,11 @@
       

    For custom HTML content in thumbnails, the markup changes slightly. To allow block level content anywhere, we swap the <a> for a <div> like so:

     <ul class="thumbnails">
    -  <li class="span3">
    +  <li class="span4">
         <div class="thumbnail">
    -      <img src="http://placehold.it/260x180" alt="">
    -      <h5>Thumbnail label</h5>
    -      <p>Thumbnail caption right here...</p>
    +      <img src="http://placehold.it/300x200" alt="">
    +      <h3>Thumbnail label</h3>
    +      <p>Thumbnail caption...</p>
         </div>
       </li>
       ...
    @@ -1795,6 +1809,11 @@
             
           
         
    +    
  • + + + +
  • -- cgit v1.2.3 From c6ee96c02587aeea0da52018325c100bfd45127a Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Thu, 5 Jul 2012 10:37:23 -0700 Subject: fix up subnav styles, add subnav search form styles, add some basic docs for subnav --- docs/components.html | 57 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) (limited to 'docs/components.html') diff --git a/docs/components.html b/docs/components.html index ed1ba953a..4a658c760 100644 --- a/docs/components.html +++ b/docs/components.html @@ -1254,6 +1254,63 @@ Heads up! The responsive navbar requires the collapse plugin and responsive Bootstrap CSS file. + +
    + + +

    Responsive navbar

    +

    To implement a collapsing responsive navbar, wrap your navbar content in a containing div, .nav-collapse.collapse, and add the navbar toggle button, .btn-navbar.

    + + -- cgit v1.2.3 From 3c07eaa251b73e6c5eff4b56e074c54708a4b4ba Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Thu, 5 Jul 2012 15:11:54 -0700 Subject: updates to type scale --- docs/components.html | 7 ------- 1 file changed, 7 deletions(-) (limited to 'docs/components.html') diff --git a/docs/components.html b/docs/components.html index 4a658c760..2c07efbf6 100644 --- a/docs/components.html +++ b/docs/components.html @@ -57,13 +57,6 @@
  • Javascript
  • -
  • -
  • - Customize -
  • -
  • - Examples -
  • Extend
  • -- cgit v1.2.3