diff options
| author | Mark Otto <[email protected]> | 2012-01-28 22:48:25 -0800 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2012-01-28 22:48:25 -0800 |
| commit | 62f4a1571a3801c867b80c228464cc9c695f1d13 (patch) | |
| tree | 71ad557b626fffba6cc22dcba02964eacc3c8823 /docs | |
| parent | 487dbfdda4692e3212f13d5e6282d7818b4c9934 (diff) | |
| download | bootstrap-62f4a1571a3801c867b80c228464cc9c695f1d13.tar.xz bootstrap-62f4a1571a3801c867b80c228464cc9c695f1d13.zip | |
revamped the thumbnails examples to make them work and look better at higher resolution
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/assets/css/bootstrap-responsive.css | 6 | ||||
| -rw-r--r-- | docs/assets/css/bootstrap.css | 2 | ||||
| -rw-r--r-- | docs/components.html | 28 | ||||
| -rw-r--r-- | docs/templates/pages/components.mustache | 28 |
4 files changed, 36 insertions, 28 deletions
diff --git a/docs/assets/css/bootstrap-responsive.css b/docs/assets/css/bootstrap-responsive.css index f40f0c110..ca03cecde 100644 --- a/docs/assets/css/bootstrap-responsive.css +++ b/docs/assets/css/bootstrap-responsive.css @@ -342,4 +342,10 @@ .offset11 { margin-left: 1130px; } + .thumbnails { + margin-left: -30px; + } + .thumbnails > li { + margin-left: 30px; + } } diff --git a/docs/assets/css/bootstrap.css b/docs/assets/css/bootstrap.css index a17a4475d..37b774fb9 100644 --- a/docs/assets/css/bootstrap.css +++ b/docs/assets/css/bootstrap.css @@ -2988,6 +2988,8 @@ a.thumbnail:hover { .thumbnail > img { display: block; max-width: 100%; + margin-left: auto; + margin-right: auto; } .thumbnail .caption { padding: 9px; diff --git a/docs/components.html b/docs/components.html index 52483572e..7ba72f34d 100644 --- a/docs/components.html +++ b/docs/components.html @@ -1057,22 +1057,22 @@ <ul class="thumbnails"> <li class="span3"> <a href="#" class="thumbnail"> - <img src="http://placehold.it/210x150" alt=""> + <img src="http://placehold.it/260x180" alt=""> </a> </li> <li class="span3"> <a href="#" class="thumbnail"> - <img src="http://placehold.it/210x150" alt=""> + <img src="http://placehold.it/260x180" alt=""> </a> </li> <li class="span3"> <a href="#" class="thumbnail"> - <img src="http://placehold.it/210x150" alt=""> + <img src="http://placehold.it/260x180" alt=""> </a> </li> <li class="span3"> <a href="#" class="thumbnail"> - <img src="http://placehold.it/210x150" alt=""> + <img src="http://placehold.it/260x180" alt=""> </a> </li> </ul> @@ -1083,7 +1083,7 @@ <ul class="thumbnails"> <li class="span3"> <div class="thumbnail"> - <img src="http://placehold.it/210x150" alt=""> + <img src="http://placehold.it/260x180" alt=""> <div class="caption"> <h5>Thumbnail label</h5> <p>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.</p> @@ -1093,7 +1093,7 @@ </li> <li class="span3"> <div class="thumbnail"> - <img src="http://placehold.it/210x150" alt=""> + <img src="http://placehold.it/260x180" alt=""> <div class="caption"> <h5>Thumbnail label</h5> <p>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.</p> @@ -1128,7 +1128,7 @@ <ul class="thumbnails"> <li class="span3"> <a href="#" class="thumbnail"> - <img src="http://placehold.it/210x150" alt=""> + <img src="http://placehold.it/260x180" alt=""> </a> </li> ... @@ -1139,7 +1139,7 @@ <ul class="thumbnails"> <li class="span3"> <div class="thumbnail"> - <img src="http://placehold.it/210x150" alt=""> + <img src="http://placehold.it/260x180" alt=""> <h5>Thumbnail label</h5> <p>Thumbnail caption right here...</p> </div> @@ -1154,32 +1154,32 @@ <ul class="thumbnails"> <li class="span4"> <a href="#" class="thumbnail"> - <img src="http://placehold.it/290x226" alt=""> + <img src="http://placehold.it/360x268" alt=""> </a> </li> <li class="span2"> <a href="#" class="thumbnail"> - <img src="http://placehold.it/130x100" alt=""> + <img src="http://placehold.it/160x120" alt=""> </a> </li> <li class="span2"> <a href="#" class="thumbnail"> - <img src="http://placehold.it/130x100" alt=""> + <img src="http://placehold.it/160x120" alt=""> </a> </li> <li class="span2"> <a href="#" class="thumbnail"> - <img src="http://placehold.it/130x100" alt=""> + <img src="http://placehold.it/160x120" alt=""> </a> </li> <li class="span2"> <a href="#" class="thumbnail"> - <img src="http://placehold.it/130x100" alt=""> + <img src="http://placehold.it/160x120" alt=""> </a> </li> <li class="span2"> <a href="#" class="thumbnail"> - <img src="http://placehold.it/130x100" alt=""> + <img src="http://placehold.it/160x120" alt=""> </a> </li> </ul> diff --git a/docs/templates/pages/components.mustache b/docs/templates/pages/components.mustache index 312863c6b..11874b9f3 100644 --- a/docs/templates/pages/components.mustache +++ b/docs/templates/pages/components.mustache @@ -985,22 +985,22 @@ <ul class="thumbnails"> <li class="span3"> <a href="#" class="thumbnail"> - <img src="http://placehold.it/210x150" alt=""> + <img src="http://placehold.it/260x180" alt=""> </a> </li> <li class="span3"> <a href="#" class="thumbnail"> - <img src="http://placehold.it/210x150" alt=""> + <img src="http://placehold.it/260x180" alt=""> </a> </li> <li class="span3"> <a href="#" class="thumbnail"> - <img src="http://placehold.it/210x150" alt=""> + <img src="http://placehold.it/260x180" alt=""> </a> </li> <li class="span3"> <a href="#" class="thumbnail"> - <img src="http://placehold.it/210x150" alt=""> + <img src="http://placehold.it/260x180" alt=""> </a> </li> </ul> @@ -1011,7 +1011,7 @@ <ul class="thumbnails"> <li class="span3"> <div class="thumbnail"> - <img src="http://placehold.it/210x150" alt=""> + <img src="http://placehold.it/260x180" alt=""> <div class="caption"> <h5>{{_i}}Thumbnail label{{/i}}</h5> <p>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.</p> @@ -1021,7 +1021,7 @@ </li> <li class="span3"> <div class="thumbnail"> - <img src="http://placehold.it/210x150" alt=""> + <img src="http://placehold.it/260x180" alt=""> <div class="caption"> <h5>{{_i}}Thumbnail label{{/i}}</h5> <p>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.</p> @@ -1056,7 +1056,7 @@ <ul class="thumbnails"> <li class="span3"> <a href="#" class="thumbnail"> - <img src="http://placehold.it/210x150" alt=""> + <img src="http://placehold.it/260x180" alt=""> </a> </li> ... @@ -1067,7 +1067,7 @@ <ul class="thumbnails"> <li class="span3"> <div class="thumbnail"> - <img src="http://placehold.it/210x150" alt=""> + <img src="http://placehold.it/260x180" alt=""> <h5>{{_i}}Thumbnail label{{/i}}</h5> <p>{{_i}}Thumbnail caption right here...{{/i}}</p> </div> @@ -1082,32 +1082,32 @@ <ul class="thumbnails"> <li class="span4"> <a href="#" class="thumbnail"> - <img src="http://placehold.it/290x226" alt=""> + <img src="http://placehold.it/360x268" alt=""> </a> </li> <li class="span2"> <a href="#" class="thumbnail"> - <img src="http://placehold.it/130x100" alt=""> + <img src="http://placehold.it/160x120" alt=""> </a> </li> <li class="span2"> <a href="#" class="thumbnail"> - <img src="http://placehold.it/130x100" alt=""> + <img src="http://placehold.it/160x120" alt=""> </a> </li> <li class="span2"> <a href="#" class="thumbnail"> - <img src="http://placehold.it/130x100" alt=""> + <img src="http://placehold.it/160x120" alt=""> </a> </li> <li class="span2"> <a href="#" class="thumbnail"> - <img src="http://placehold.it/130x100" alt=""> + <img src="http://placehold.it/160x120" alt=""> </a> </li> <li class="span2"> <a href="#" class="thumbnail"> - <img src="http://placehold.it/130x100" alt=""> + <img src="http://placehold.it/160x120" alt=""> </a> </li> </ul> |
