From 7b810bf9a617e1f02e073aafcc70857dc915ee59 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Fri, 9 Dec 2011 12:10:01 -0800 Subject: [PATCH] update js in footer, add max-width to img --- bootstrap.css | 4 +++- bootstrap.min.css | 2 +- docs/base-css.html | 4 ++-- docs/components.html | 4 ++-- docs/index.html | 5 +++-- docs/javascript.html | 4 ++-- docs/less.html | 4 ++-- docs/scaffolding.html | 4 ++-- lib/reset.less | 2 ++ 9 files changed, 19 insertions(+), 14 deletions(-) diff --git a/bootstrap.css b/bootstrap.css index adae67ec91..2180ae4463 100644 --- a/bootstrap.css +++ b/bootstrap.css @@ -6,7 +6,7 @@ * http://www.apache.org/licenses/LICENSE-2.0 * * Designed and built with all the love in the world @twitter by @mdo and @fat. - * Date: Fri Dec 9 11:32:45 PST 2011 + * Date: Fri Dec 9 12:09:50 PST 2011 */ html, body { margin: 0; @@ -127,6 +127,8 @@ sub { bottom: -0.25em; } img { + max-width: 100%; + height: auto; border: 0; -ms-interpolation-mode: bicubic; } diff --git a/bootstrap.min.css b/bootstrap.min.css index 4ee8f84faa..cc4363fe3b 100644 --- a/bootstrap.min.css +++ b/bootstrap.min.css @@ -12,7 +12,7 @@ audio:not([controls]){display:none;} sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline;} sup{top:-0.5em;} sub{bottom:-0.25em;} -img{border:0;-ms-interpolation-mode:bicubic;} +img{max-width:100%;height:auto;border:0;-ms-interpolation-mode:bicubic;} button,input,select,textarea{margin:0;font-size:100%;vertical-align:baseline;*vertical-align:middle;} button,input{*overflow:visible;line-height:normal;} button::-moz-focus-inner,input::-moz-focus-inner{padding:0;border:0;} diff --git a/docs/base-css.html b/docs/base-css.html index e087432fe8..efdc1e2719 100644 --- a/docs/base-css.html +++ b/docs/base-css.html @@ -1122,9 +1122,9 @@ diff --git a/docs/components.html b/docs/components.html index 049908c205..d0456cc743 100644 --- a/docs/components.html +++ b/docs/components.html @@ -687,9 +687,9 @@ Lorem ipsum dolar sit amet illo error ipsum verita diff --git a/docs/index.html b/docs/index.html index daf7eb3086..0598fc449b 100644 --- a/docs/index.html +++ b/docs/index.html @@ -4,6 +4,7 @@ Bootstrap, from Twitter + @@ -200,9 +201,9 @@ diff --git a/docs/javascript.html b/docs/javascript.html index 4e405521d1..d71de69247 100644 --- a/docs/javascript.html +++ b/docs/javascript.html @@ -30,9 +30,9 @@ diff --git a/docs/less.html b/docs/less.html index cbc4103023..cd2c992df9 100644 --- a/docs/less.html +++ b/docs/less.html @@ -460,9 +460,9 @@ diff --git a/docs/scaffolding.html b/docs/scaffolding.html index 625c4bdb70..f597e7e887 100644 --- a/docs/scaffolding.html +++ b/docs/scaffolding.html @@ -377,9 +377,9 @@ diff --git a/lib/reset.less b/lib/reset.less index c95c7b04c5..2002154562 100644 --- a/lib/reset.less +++ b/lib/reset.less @@ -93,6 +93,8 @@ sub { // ------------------------- // Source: http://github.com/necolas/normalize.css img { + max-width: 100%; + height: auto; border: 0; -ms-interpolation-mode: bicubic; }