css fix and also modernizr fallback

This commit is contained in:
Harry Bomrah 2015-07-17 14:55:41 +08:00
parent f211afc523
commit c66d1fad20
3 changed files with 11 additions and 4 deletions

File diff suppressed because one or more lines are too long

View File

@ -1,9 +1,6 @@
/* Reset and basic styles */ /* Reset and basic styles */
body { body {
font-size: 100%;
margin: 0;
padding: 0;
overflow-x: hidden; overflow-x: hidden;
} }

View File

@ -42,5 +42,11 @@
</div> </div>
<script type="text/javascript"> <script type="text/javascript">
if(typeof Modernizr == "undefined"){
var script = $("<script>");
script.attr("src","/assets/modernizr.js");
$("head").append(script);
}
var gt = new GalleryTheater(); var gt = new GalleryTheater();
</script> </script>