From 62f4a1571a3801c867b80c228464cc9c695f1d13 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sat, 28 Jan 2012 22:48:25 -0800 Subject: [PATCH] revamped the thumbnails examples to make them work and look better at higher resolution --- docs/assets/css/bootstrap-responsive.css | 6 +++++ docs/assets/css/bootstrap.css | 2 ++ docs/components.html | 28 ++++++++++++------------ docs/templates/pages/components.mustache | 28 ++++++++++++------------ less/responsive.less | 8 +++++++ less/thumbnails.less | 2 ++ 6 files changed, 46 insertions(+), 28 deletions(-) diff --git a/docs/assets/css/bootstrap-responsive.css b/docs/assets/css/bootstrap-responsive.css index f40f0c110d..ca03cecde8 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 a17a4475dd..37b774fb94 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 52483572ee..7ba72f34da 100644 --- a/docs/components.html +++ b/docs/components.html @@ -1057,22 +1057,22 @@ @@ -1083,7 +1083,7 @@