Template:Team:KIT-Kyoto/first

From 2014.igem.org

(Difference between revisions)
Line 15: Line 15:
         $("#first").css({opacity:'0'});
         $("#first").css({opacity:'0'});
         setTimeout(function(){
         setTimeout(function(){
-
         $("#first_box_left").animate({left:-150+"50%"},400);
+
         $("#first_box_left").animate({left:"50%"},400);
-
         $("#first_box_right").animate({right:-150+"50%"},400);
+
         $("#first_box_right").animate({right:"50%"},400);
-
         $("#first_box_top").animate({top:-150+"50%"},400);
+
         $("#first_box_top").animate({top:"50%"},400);
-
         $("#first_box_bottom").animate({bottom:-150+"50%"},400);
+
         $("#first_box_bottom").animate({bottom:"50%"},400);
         },1000);
         },1000);
         setTimeout(function(){
         setTimeout(function(){
Line 64: Line 64:
#first_box_top,#first_box_bottom{
#first_box_top,#first_box_bottom{
left:50%;
left:50%;
-
margin:0px 0 0 -150px;
 
}
}
#first_box_left{
#first_box_left{
-
left:-300px;
+
left:-150px;
border-top:2px solid rgba(300,300,300,0.7);
border-top:2px solid rgba(300,300,300,0.7);
 +
margin-left:-150px;
}
}
#first_box_right{
#first_box_right{
-
right:-300px;
+
right:-150px;
border-bottom:2px solid rgba(300,300,300,0.7);
border-bottom:2px solid rgba(300,300,300,0.7);
 +
margin-right:-150px;
}
}
#first_box_top{
#first_box_top{
-
top:-300px;
+
top:-150px;
border-right:2px solid rgba(300,300,300,0.7);
border-right:2px solid rgba(300,300,300,0.7);
 +
margin-top:-150px;
}
}
#first_box_bottom{
#first_box_bottom{
-
bottom:-300px;
+
bottom:-150px;
border-left:2px solid rgba(300,300,300,0.7);
border-left:2px solid rgba(300,300,300,0.7);
 +
margin-bottom:-150px;
}
}
#first a:link,#first a:visited,#first a:active{
#first a:link,#first a:visited,#first a:active{

Revision as of 06:12, 25 September 2014


kit