Commit 7b810bf9 authored by Mark Otto's avatar Mark Otto

update js in footer, add max-width to img

parent 1d1805ee
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
* Designed and built with all the love in the world @twitter by @mdo and @fat. * 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 { html, body {
margin: 0; margin: 0;
...@@ -127,6 +127,8 @@ sub { ...@@ -127,6 +127,8 @@ sub {
bottom: -0.25em; bottom: -0.25em;
} }
img { img {
max-width: 100%;
height: auto;
border: 0; border: 0;
-ms-interpolation-mode: bicubic; -ms-interpolation-mode: bicubic;
} }
......
...@@ -12,7 +12,7 @@ audio:not([controls]){display:none;} ...@@ -12,7 +12,7 @@ audio:not([controls]){display:none;}
sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline;} sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline;}
sup{top:-0.5em;} sup{top:-0.5em;}
sub{bottom:-0.25em;} 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,select,textarea{margin:0;font-size:100%;vertical-align:baseline;*vertical-align:middle;}
button,input{*overflow:visible;line-height:normal;} button,input{*overflow:visible;line-height:normal;}
button::-moz-focus-inner,input::-moz-focus-inner{padding:0;border:0;} button::-moz-focus-inner,input::-moz-focus-inner{padding:0;border:0;}
......
...@@ -1122,9 +1122,9 @@ ...@@ -1122,9 +1122,9 @@
<script type="text/javascript"> <script type="text/javascript">
// NOT FINAL BY ANY MEANS, JUST MAH JANK CODE BRO // NOT FINAL BY ANY MEANS, JUST MAH JANK CODE BRO
$(document).ready(function() { $(document).ready(function() {
$('.nav .active a').click(function(e) { $('.nav .active').click(function(e) {
e.preventDefault(); e.preventDefault();
$(this).parent().siblings().toggle(); $(this).siblings().toggle();
}); });
}); });
</script> </script>
......
...@@ -687,9 +687,9 @@ Lorem ipsum dolar sit amet illo error <a href="#" title="below">ipsum</a> verita ...@@ -687,9 +687,9 @@ Lorem ipsum dolar sit amet illo error <a href="#" title="below">ipsum</a> verita
<script type="text/javascript"> <script type="text/javascript">
// NOT FINAL BY ANY MEANS, JUST MAH JANK CODE BRO // NOT FINAL BY ANY MEANS, JUST MAH JANK CODE BRO
$(document).ready(function() { $(document).ready(function() {
$('.nav .active a').click(function(e) { $('.nav .active').click(function(e) {
e.preventDefault(); e.preventDefault();
$(this).parent().siblings().toggle(); $(this).siblings().toggle();
}); });
}); });
</script> </script>
......
...@@ -4,6 +4,7 @@ ...@@ -4,6 +4,7 @@
<meta charset="utf-8"> <meta charset="utf-8">
<title>Bootstrap, from Twitter</title> <title>Bootstrap, from Twitter</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <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="description" content="">
<meta name="author" content=""> <meta name="author" content="">
...@@ -200,9 +201,9 @@ ...@@ -200,9 +201,9 @@
<script type="text/javascript"> <script type="text/javascript">
// NOT FINAL BY ANY MEANS, JUST MAH JANK CODE BRO // NOT FINAL BY ANY MEANS, JUST MAH JANK CODE BRO
$(document).ready(function() { $(document).ready(function() {
$('.nav .active a').click(function(e) { $('.nav .active').click(function(e) {
e.preventDefault(); e.preventDefault();
$(this).parent().siblings().toggle(); $(this).siblings().toggle();
}); });
}); });
</script> </script>
......
...@@ -30,9 +30,9 @@ ...@@ -30,9 +30,9 @@
<script type="text/javascript"> <script type="text/javascript">
// NOT FINAL BY ANY MEANS, JUST MAH JANK CODE BRO // NOT FINAL BY ANY MEANS, JUST MAH JANK CODE BRO
$(document).ready(function() { $(document).ready(function() {
$('.nav .active a').click(function(e) { $('.nav .active').click(function(e) {
e.preventDefault(); e.preventDefault();
$(this).parent().siblings().toggle(); $(this).siblings().toggle();
}); });
}); });
</script> </script>
......
...@@ -460,9 +460,9 @@ ...@@ -460,9 +460,9 @@
<script type="text/javascript"> <script type="text/javascript">
// NOT FINAL BY ANY MEANS, JUST MAH JANK CODE BRO // NOT FINAL BY ANY MEANS, JUST MAH JANK CODE BRO
$(document).ready(function() { $(document).ready(function() {
$('.nav .active a').click(function(e) { $('.nav .active').click(function(e) {
e.preventDefault(); e.preventDefault();
$(this).parent().siblings().toggle(); $(this).siblings().toggle();
}); });
}); });
</script> </script>
......
...@@ -377,9 +377,9 @@ ...@@ -377,9 +377,9 @@
<script type="text/javascript"> <script type="text/javascript">
// NOT FINAL BY ANY MEANS, JUST MAH JANK CODE BRO // NOT FINAL BY ANY MEANS, JUST MAH JANK CODE BRO
$(document).ready(function() { $(document).ready(function() {
$('.nav .active a').click(function(e) { $('.nav .active').click(function(e) {
e.preventDefault(); e.preventDefault();
$(this).parent().siblings().toggle(); $(this).siblings().toggle();
}); });
}); });
</script> </script>
......
...@@ -93,6 +93,8 @@ sub { ...@@ -93,6 +93,8 @@ sub {
// ------------------------- // -------------------------
// Source: http://github.com/necolas/normalize.css // Source: http://github.com/necolas/normalize.css
img { img {
max-width: 100%;
height: auto;
border: 0; border: 0;
-ms-interpolation-mode: bicubic; -ms-interpolation-mode: bicubic;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment