Template:Team:CBNU-Korea/css new

From 2012.igem.org

(Difference between revisions)
 
(4 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 438: Line 436:
#CB_footer {
#CB_footer {
-
height: 20px;
+
height: 40px;
background: url(https://static.igem.org/mediawiki/2012/a/a9/CBK_back_012.png);
background: url(https://static.igem.org/mediawiki/2012/a/a9/CBK_back_012.png);
border-top: 1px solid white;
border-top: 1px solid white;
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