Template:Team:CBNU-Korea/css new

From 2012.igem.org

(Difference between revisions)
 
(3 intermediate revisions not shown)
Line 339: Line 339:
}
}
-
#CB_sub_cont {
+
#CB_sub_cont embed, iframe{
-
+
width: 100%;
 +
max-width: 560px;
}
}
Line 371: Line 372:
#CB_member_pro {
#CB_member_pro {
-
height: 200px;
 
-
width: 100%;
 
-
margin-bottom: 20px;
 
}
}
Line 695: Line 693:
$(".CB_ul").slideToggle("slow");
$(".CB_ul").slideToggle("slow");
});
});
 +
 +
$(window).resize(function(){ var width = parseInt($(this).width());
 +
if(width > 1024){
 +
 +
$(".CB_ul").css("display","block");
 +
}
 +
else{
 +
 +
$(".CB_ul").css("display","none");
 +
}
 +
}).resize();
});
});

Latest revision as of 03:50, 27 September 2012