|
|
Line 7: |
Line 7: |
| margin-left: auto; | | margin-left: auto; |
| margin-right: auto; | | margin-right: auto; |
− | padding: 5%; | + | padding-bottom: 5px; |
| } | | } |
| | | |
| img { | | img { |
| + | display: block; |
| margin-left: auto; | | margin-left: auto; |
| margin-right: auto; | | margin-right: auto; |
Revision as of 18:53, 16 October 2016
iGEM NYUAD Wiki
$(document).ready(function(){
$(window).scroll(function() {
if ($(document).scrollTop() > 50) {
// alert('you');
$('nav').addClass('shrink');
$('#nyuad-logo').css("height","44px");
} else {
$('nav').removeClass('shrink');
$('#nyuad-logo').css("height","66px");
}
});
});
Integrated Human Practices