diff options
| author | Mark Otto <[email protected]> | 2011-12-09 12:10:01 -0800 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2011-12-09 12:10:01 -0800 |
| commit | 7b810bf9a617e1f02e073aafcc70857dc915ee59 (patch) | |
| tree | 9898391c02242217baf424a9b14e1272f652d654 | |
| parent | 1d1805ee5cb188f0c70b6a27e227ea6caca62c8e (diff) | |
| download | bootstrap-7b810bf9a617e1f02e073aafcc70857dc915ee59.tar.xz bootstrap-7b810bf9a617e1f02e073aafcc70857dc915ee59.zip | |
update js in footer, add max-width to img
| -rw-r--r-- | bootstrap.css | 4 | ||||
| -rw-r--r-- | bootstrap.min.css | 2 | ||||
| -rw-r--r-- | docs/base-css.html | 4 | ||||
| -rw-r--r-- | docs/components.html | 4 | ||||
| -rw-r--r-- | docs/index.html | 5 | ||||
| -rw-r--r-- | docs/javascript.html | 4 | ||||
| -rw-r--r-- | docs/less.html | 4 | ||||
| -rw-r--r-- | docs/scaffolding.html | 4 | ||||
| -rw-r--r-- | lib/reset.less | 2 |
9 files changed, 19 insertions, 14 deletions
diff --git a/bootstrap.css b/bootstrap.css index adae67ec9..2180ae446 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 4ee8f84fa..cc4363fe3 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 e087432fe..efdc1e271 100644 --- a/docs/base-css.html +++ b/docs/base-css.html @@ -1122,9 +1122,9 @@ <script type="text/javascript"> // NOT FINAL BY ANY MEANS, JUST MAH JANK CODE BRO $(document).ready(function() { - $('.nav .active a').click(function(e) { + $('.nav .active').click(function(e) { e.preventDefault(); - $(this).parent().siblings().toggle(); + $(this).siblings().toggle(); }); }); </script> diff --git a/docs/components.html b/docs/components.html index 049908c20..d0456cc74 100644 --- a/docs/components.html +++ b/docs/components.html @@ -687,9 +687,9 @@ Lorem ipsum dolar sit amet illo error <a href="#" title="below">ipsum</a> verita <script type="text/javascript"> // NOT FINAL BY ANY MEANS, JUST MAH JANK CODE BRO $(document).ready(function() { - $('.nav .active a').click(function(e) { + $('.nav .active').click(function(e) { e.preventDefault(); - $(this).parent().siblings().toggle(); + $(this).siblings().toggle(); }); }); </script> diff --git a/docs/index.html b/docs/index.html index daf7eb308..0598fc449 100644 --- a/docs/index.html +++ b/docs/index.html @@ -4,6 +4,7 @@ <meta charset="utf-8"> <title>Bootstrap, from Twitter</title> <meta name="viewport" content="width=device-width, initial-scale=1.0"> + <meta name="apple-mobile-web-app-capable" content="yes"> <meta name="description" content=""> <meta name="author" content=""> @@ -200,9 +201,9 @@ <script type="text/javascript"> // NOT FINAL BY ANY MEANS, JUST MAH JANK CODE BRO $(document).ready(function() { - $('.nav .active a').click(function(e) { + $('.nav .active').click(function(e) { e.preventDefault(); - $(this).parent().siblings().toggle(); + $(this).siblings().toggle(); }); }); </script> diff --git a/docs/javascript.html b/docs/javascript.html index 4e405521d..d71de6924 100644 --- a/docs/javascript.html +++ b/docs/javascript.html @@ -30,9 +30,9 @@ <script type="text/javascript"> // NOT FINAL BY ANY MEANS, JUST MAH JANK CODE BRO $(document).ready(function() { - $('.nav .active a').click(function(e) { + $('.nav .active').click(function(e) { e.preventDefault(); - $(this).parent().siblings().toggle(); + $(this).siblings().toggle(); }); }); </script> diff --git a/docs/less.html b/docs/less.html index cbc410302..cd2c992df 100644 --- a/docs/less.html +++ b/docs/less.html @@ -460,9 +460,9 @@ <script type="text/javascript"> // NOT FINAL BY ANY MEANS, JUST MAH JANK CODE BRO $(document).ready(function() { - $('.nav .active a').click(function(e) { + $('.nav .active').click(function(e) { e.preventDefault(); - $(this).parent().siblings().toggle(); + $(this).siblings().toggle(); }); }); </script> diff --git a/docs/scaffolding.html b/docs/scaffolding.html index 625c4bdb7..f597e7e88 100644 --- a/docs/scaffolding.html +++ b/docs/scaffolding.html @@ -377,9 +377,9 @@ <script type="text/javascript"> // NOT FINAL BY ANY MEANS, JUST MAH JANK CODE BRO $(document).ready(function() { - $('.nav .active a').click(function(e) { + $('.nav .active').click(function(e) { e.preventDefault(); - $(this).parent().siblings().toggle(); + $(this).siblings().toggle(); }); }); </script> diff --git a/lib/reset.less b/lib/reset.less index c95c7b04c..200215456 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; } |
