Template:Team:CBNU-Korea/css new

From 2012.igem.org

(Difference between revisions)
 
(6 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 408: Line 406:
.mem_odd #CB_member_name h1 {
.mem_odd #CB_member_name h1 {
border: 0;
border: 0;
-
padding: 5% 0 0 40%;
+
padding: 10% 0 0 50%;
color: black;
color: black;
}
}
Line 414: Line 412:
.mem_odd #CB_member_name p {
.mem_odd #CB_member_name p {
border: 0;
border: 0;
-
padding: 2% 0 0 40%;
+
padding: 2% 0 0 50%;
color: white;
color: white;
}
}
Line 420: Line 418:
.mem_even #CB_member_name h1 {
.mem_even #CB_member_name h1 {
border: 0;
border: 0;
-
padding: 5% 0 0 20%;
+
padding: 10% 0 0 20%;
color: black;
color: black;
}
}
Line 438: Line 436:
#CB_footer {
#CB_footer {
-
height: 250px;
+
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