Line 507: | Line 507: | ||
height = $(document).outerHeight(true); | height = $(document).outerHeight(true); | ||
width = $(document).outerWidth(true); | width = $(document).outerWidth(true); | ||
− | ratio = width / height; | + | if (height <= 600) { |
− | + | $('.covervid-video').css('height', 640) | |
− | + | .css('width', 640 * 1.777777777777); | |
− | + | } else { | |
− | + | ratio = width / height; | |
+ | if (ratio < 1.777777777777) { | ||
+ | $('.covervid-video').css('height', height + 40) | ||
+ | } else if (ratio >= 1.777777777777) { | ||
+ | $('.covervid-video').css('width', width + 40) | ||
+ | } | ||
} | } | ||
} | } |
Revision as of 02:43, 11 October 2016
</div>
</div>
Projects
We set out to slow the pace of global warming by sequestering methane in the environment. Along the way we are engineering a DIY -80 C freezer to increase access to synthetic biology.