0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-01-29 21:52:22 +01:00

update js in footer, add max-width to img

This commit is contained in:
Mark Otto 2011-12-09 12:10:01 -08:00
parent 1d1805ee5c
commit 7b810bf9a6
9 changed files with 19 additions and 14 deletions

4
bootstrap.css vendored
View File

@ -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;
}

2
bootstrap.min.css vendored
View File

@ -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;}

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -93,6 +93,8 @@ sub {
// -------------------------
// Source: http://github.com/necolas/normalize.css
img {
max-width: 100%;
height: auto;
border: 0;
-ms-interpolation-mode: bicubic;
}