Team:USTC-Software/css/team style

From 2012.igem.org

(Difference between revisions)
Line 1: Line 1:
-
/* styles for the thumbnail section */
+
/* style for the photo zone, some elements' names are for the javascript */
-
#member_feature_wrapper{
+
#photo_zone_line_up{
-
    width:100%;
+
position:relative;
-
    background:url('https://static.igem.org/mediawiki/2012/d/de/USTC-Software-images-half-black.png');
+
width:100%;
-
    margin:80px auto;
+
height:40px;
-
    margin-left:auto;
+
background:url("https://static.igem.org/mediawiki/2012/d/dd/USTC-Software-images-photo_zone_line.png");
-
    margin-right:auto;
+
-
    padding:5px auto;
+
}
}
-
#members{
+
 
-
    width:980px;
+
.da-slider{
-
    height:550px;
+
width: 100%;
-
    position:relative;
+
min-width: 520px;
-
    margin-top:50px;
+
height: 400px;
-
    margin-bottom:100px;
+
position: relative;
-
    margin-left:auto;
+
margin: 30px auto;
-
    margin-right:auto;
+
overflow: hidden;
 +
-webkit-transition: background-position 1s ease-out 0.6s;
 +
-moz-transition: background-position 1s ease-out 0.6s;
 +
-o-transition: background-position 1s ease-out 0.6s;
 +
-ms-transition: background-position 1s ease-out 0.6s;
 +
transition: background-position 1s ease-out 0.6s;
}
}
-
#meet-team{
+
#photo_zone_line_down{
-
    width:336px;
+
position:relative;
-
    height:60px;
+
width:100%;
-
    background:url('https://static.igem.org/mediawiki/2012/0/0b/USTC-Software-images-meet-team.png') no-repeat;
+
height:40px;
-
    position:absolute;
+
background:url("https://static.igem.org/mediawiki/2012/d/dd/USTC-Software-images-photo_zone_line.png");
-
    top:-50px;
+
-
    left:-100px;
+
}
}
-
.member{
+
.da-slide{
-
    border: 1px solid #999;
+
position: absolute;
-
    width:150px;
+
width: 100%;
-
    height:450px;
+
height: 100%;
-
    position:absolute;
+
top: 0px;
-
    margin:50px auto;
+
left: 0px;
-
    cursor:pointer;
+
font-family: 'BebasNeueRegular', 'Arial Narrow', Arial, sans-serif;
 +
text-align: left;
 +
}
 +
.da-slide-current{
 +
z-index: 1000;
 +
}
 +
.da-slider-fb .da-slide{
 +
left: 100%;
 +
}
 +
.da-slider-fb  .da-slide.da-slide-current{
 +
left: 0px;
 +
}
 +
.da-slide p.h2,
 +
.da-slide p,
 +
.da-slide .da-link,
 +
.da-slide .da-img{
 +
position: absolute;
 +
opacity: 0;
 +
left: 110%;
 +
}
 +
.da-slider-fb .da-slide p.h2,
 +
.da-slider-fb .da-slide p,
 +
.da-slider-fb .da-slide .da-link{
 +
left: 10%;
 +
opacity: 1;
 +
}
 +
.da-slider-fb .da-slide .da-img{
 +
left: 60%;
 +
opacity: 1;
 +
}
 +
.da-slide p.h2{
 +
color: #fff;
 +
font-size: 66px;
 +
        line-height:70px;
 +
width: 50%;
 +
top: 60px;
 +
white-space: nowrap;
 +
z-index: 10;
 +
text-shadow: 1px 1px 1px rgba(0,0,0,0.1);
 +
font-family: 'Economica', Arial, sans-serif;
 +
font-weight: 700;
 +
}
 +
.da-slide p{
 +
width: 45%;
 +
top: 155px;
 +
color: #ffffff;
 +
font-size: 18px;
 +
line-height: 26px;
 +
height: 80px;
 +
overflow: hidden;
 +
font-family: 'Economica', Arial, sans-serif;
 +
font-weight: 400;
 +
font-style: italic;
 +
}
 +
.da-slide .da-img{
 +
text-align: center;
 +
width: 30%;
 +
top: 70px;
 +
height: 256px;
 +
line-height: 320px;
 +
left: 110%; /*60%*/
 +
}
 +
.da-slide .da-link{
 +
top: 270px; /*depends on p height*/
 +
border-radius: 30px;
 +
text-decoration:none;
 +
font-family: 'Economica', Arial, sans-serif;
 +
box-shadow: 0px 1px 1px rgba(0,0,0,0.1);
 +
color: #fff;
 +
text-shadow: 1px 1px 1px rgba(0,0,0,0.2);
 +
border: 4px solid rgba(255,255,255,0.8);
 +
padding: 2px 20px 0px;
 +
font-size: 18px;
 +
line-height: 30px;
 +
width: 80px;
 +
text-align: center;
 +
background: rgba(0,0,0,0.1);
 +
}
 +
.da-slide .da-link:hover{
 +
background: rgba(0,0,0,0.2);
 +
text-decoration:underline;
 +
}
 +
.da-dots{
 +
width: 100%;
 +
position: absolute;
 +
text-align: center;
 +
left: 0px;
 +
bottom: 0px;
 +
z-index: 2000;
 +
-moz-user-select: none;
 +
-webkit-user-select: none;
 +
}
 +
.da-dots span{
 +
display: inline-block;
 +
position: relative;
 +
width: 12px;
 +
height: 12px;
 +
border-radius: 50%;
 +
background: black;
 +
margin: 3px;
 +
cursor: pointer;
 +
box-shadow:
 +
1px 1px 1px rgba(0,0,0,0.1) inset,
 +
1px 1px 1px rgba(255,255,255,0.1);
 +
}
 +
.da-dots span.da-dots-current:after{
 +
content: '';
 +
width: 8px;
 +
height: 8px;
 +
position: absolute;
 +
top: 2px;
 +
left: 2px;
 +
border-radius: 50%;
 +
background: rgb(255,255,255);
 +
background: -moz-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(246,246,246,1) 47%, rgba(237,237,237,1) 100%);
 +
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,1)), color-stop(47%,rgba(246,246,246,1)), color-stop(100%,rgba(237,237,237,1)));
 +
background: -webkit-linear-gradient(top, rgba(255,255,255,1) 0%,rgba(246,246,246,1) 47%,rgba(237,237,237,1) 100%);
 +
background: -o-linear-gradient(top, rgba(255,255,255,1) 0%,rgba(246,246,246,1) 47%,rgba(237,237,237,1) 100%);
 +
background: -ms-linear-gradient(top, rgba(255,255,255,1) 0%,rgba(246,246,246,1) 47%,rgba(237,237,237,1) 100%);
 +
background: linear-gradient(top, rgba(255,255,255,1) 0%,rgba(246,246,246,1) 47%,rgba(237,237,237,1) 100%);
 +
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ededed',GradientType=0 );
 +
}
 +
.da-arrows{
 +
-moz-user-select: none;
 +
-webkit-user-select: none;
 +
}
 +
.da-arrows span{
 +
position: absolute;
 +
top: 200px;
 +
height: 79px;
 +
width: 38px;
 +
cursor: pointer;
 +
z-index: 2000;
 +
opacity: 0;
 +
-webkit-transition: opacity 0.4s ease-in-out-out 0.2s;
 +
-moz-transition: opacity 0.4s ease-in-out-out 0.2s;
 +
-o-transition: opacity 0.4s ease-in-out-out 0.2s;
 +
-ms-transition: opacity 0.4s ease-in-out-out 0.2s;
 +
transition: opacity 0.4s ease-in-out-out 0.2s;
 +
}
 +
.da-slider:hover .da-arrows span{
 +
opacity: 1;
 +
}
 +
.da-arrows span:after{
 +
content: '';
 +
position: absolute;
 +
width: 38px;
 +
height: 79px;
}
}
-
#member-kai{
+
.da-arrows span.da-arrows-next:after{
-
    top:10px;
+
background-position: top right;
-
    left:0px;
+
}
}
-
#member-kaifeng{
+
.da-arrows span.da-arrows-prev{
-
    top:0px;
+
left: 15px;
-
    left:100px;
+
background: url('https://static.igem.org/mediawiki/2012/a/a2/USTC-Software-images-prev.png') no-repeat;
}
}
-
#member-chao{
+
.da-arrows span.da-arrows-next{
-
    top:15px;
+
right: 15px;
-
    left:200px;
+
background: url('https://static.igem.org/mediawiki/2012/d/d3/USTC-Software-images-next.png') no-repeat;
}
}
-
#member-litong{
+
 
-
    top:25px;
+
.da-slide-current p.h2,
-
    left:300px;
+
.da-slide-current p,
 +
.da-slide-current .da-link{
 +
left: 10%;
 +
opacity: 1;
 +
}
 +
.da-slide-current .da-img{
 +
left: 60%;
 +
opacity: 1;
 +
}
 +
/* Animation classes and animations */
 +
 
 +
/* Slide in from the right*/
 +
.da-slide-fromright p.h2{
 +
-webkit-animation: fromRightAnim1 0.6s ease-in-out 0.8s both;
 +
-moz-animation: fromRightAnim1 0.6s ease-in-out 0.8s both;
 +
-o-animation: fromRightAnim1 0.6s ease-in-out 0.8s both;
 +
-ms-animation: fromRightAnim1 0.6s ease-in-out 0.8s both;
 +
animation: fromRightAnim1 0.6s ease-in-out 0.8s both;
 +
}
 +
.da-slide-fromright p{
 +
-webkit-animation: fromRightAnim2 0.6s ease-in-out 0.8s both;
 +
-moz-animation: fromRightAnim2 0.6s ease-in-out 0.8s both;
 +
-o-animation: fromRightAnim2 0.6s ease-in-out 0.8s both;
 +
-ms-animation: fromRightAnim2 0.6s ease-in-out 0.8s both;
 +
animation: fromRightAnim2 0.6s ease-in-out 0.8s both;
 +
}
 +
.da-slide-fromright .da-link{
 +
-webkit-animation: fromRightAnim3 0.4s ease-in-out 1.2s both;
 +
-moz-animation: fromRightAnim3 0.4s ease-in-out 1.2s both;
 +
-o-animation: fromRightAnim3 0.4s ease-in-out 1.2s both;
 +
-ms-animation: fromRightAnim3 0.4s ease-in-out 1.2s both;
 +
animation: fromRightAnim3 0.4s ease-in-out 1.2s both;
}
}
-
#member-kaishuai{
+
.da-slide-fromright .da-img{
-
    top:-5px;
+
-webkit-animation: fromRightAnim4 0.6s ease-in-out 0.8s both;
-
    left:400px;
+
-moz-animation: fromRightAnim4 0.6s ease-in-out 0.8s both;
 +
-o-animation: fromRightAnim4 0.6s ease-in-out 0.8s both;
 +
-ms-animation: fromRightAnim4 0.6s ease-in-out 0.8s both;
 +
animation: fromRightAnim4 0.6s ease-in-out 0.8s both;
}
}
-
#member-sen{
+
@-webkit-keyframes fromRightAnim1{
-
    top:0;
+
0%{ left: 110%; opacity: 0; }
-
    left:500px;
+
100%{ left: 10%; opacity: 1; }
}
}
-
#member-qi{
+
@-webkit-keyframes fromRightAnim2{
-
    top:10px;
+
0%{ left: 110%; opacity: 0; }
-
    left:600px;
+
100%{ left: 10%; opacity: 1; }
}
}
-
#member-wenjuan{
+
@-webkit-keyframes fromRightAnim3{
-
    top:25px;
+
0%{ left: 110%; opacity: 0; }
-
    left:700px;
+
1%{ left: 10%; opacity: 0; }
 +
100%{ left: 10%; opacity: 1; }
}
}
-
#member-yunlong{
+
@-webkit-keyframes fromRightAnim4{
-
    top:-5px;
+
0%{ left: 110%; opacity: 0; }
-
    left:800px;
+
100%{ left: 60%; opacity: 1; }
}
}
-
.member div.member-name{
+
@-moz-keyframes fromRightAnim1{
-
    height:60px;
+
0%{ left: 110%; opacity: 0; }
-
    width:150px;
+
100%{ left: 10%; opacity: 1; }
-
    background:url('https://static.igem.org/mediawiki/2012/2/2c/USTC-Software-images-member-name-bg.png') no-repeat;
+
}
-
    position:absolute;
+
@-moz-keyframes fromRightAnim2{
-
    top:-45px;
+
0%{ left: 110%; opacity: 0; }
-
    z-index:1000;
+
100%{ left: 10%; opacity: 1; }
-
   
+
}
-
    opacity:0;
+
@-moz-keyframes fromRightAnim3{
-
   
+
0%{ left: 110%; opacity: 0; }
-
    }
+
1%{ left: 10%; opacity: 0; }
-
    .member div.member-name h5{
+
100%{ left: 10%; opacity: 1; }
-
        display:block;
+
}
-
        text-align:center;
+
@-moz-keyframes fromRightAnim4{
-
        color:white;
+
0%{ left: 110%; opacity: 0; }
-
        font-size:18px;
+
100%{ left: 60%; opacity: 1; }
-
        font-family: 'Coda', sans-serif;
+
-
    }
+
-
   
+
-
.member:hover div.member-name{
+
-
    opacity:1;
+
}
}
-
#slogon{
+
@-o-keyframes fromRightAnim1{
-
     width:580px;
+
0%{ left: 110%; opacity: 0; }
-
     height:125px;
+
100%{ left: 10%; opacity: 1; }
-
     background:url('https://static.igem.org/mediawiki/2012/d/db/USTC-Software-images-slogon.png');
+
}
 +
@-o-keyframes fromRightAnim2{
 +
0%{ left: 110%; opacity: 0; }
 +
100%{ left: 10%; opacity: 1; }
 +
}
 +
@-o-keyframes fromRightAnim3{
 +
0%{ left: 110%; opacity: 0; }
 +
1%{ left: 10%; opacity: 0; }
 +
100%{ left: 10%; opacity: 1; }
 +
}
 +
@-o-keyframes fromRightAnim4{
 +
0%{ left: 110%; opacity: 0; }
 +
100%{ left: 60%; opacity: 1; }
 +
}
 +
 
 +
@-ms-keyframes fromRightAnim1{
 +
0%{ left: 110%; opacity: 0; }
 +
100%{ left: 10%; opacity: 1; }
 +
}
 +
@-ms-keyframes fromRightAnim2{
 +
0%{ left: 110%; opacity: 0; }
 +
100%{ left: 10%; opacity: 1; }
 +
}
 +
@-ms-keyframes fromRightAnim3{
 +
0%{ left: 110%; opacity: 0; }
 +
1%{ left: 10%; opacity: 0; }
 +
100%{ left: 10%; opacity: 1; }
 +
}
 +
@-ms-keyframes fromRightAnim4{
 +
0%{ left: 110%; opacity: 0; }
 +
100%{ left: 60%; opacity: 1; }
 +
}
 +
 
 +
@keyframes fromRightAnim1{
 +
0%{ left: 110%; opacity: 0; }
 +
100%{ left: 10%; opacity: 1; }
 +
}
 +
@keyframes fromRightAnim2{
 +
0%{ left: 110%; opacity: 0; }
 +
100%{ left: 10%; opacity: 1; }
 +
}
 +
@keyframes fromRightAnim3{
 +
0%{ left: 110%; opacity: 0; }
 +
1%{ left: 10%; opacity: 0; }
 +
100%{ left: 10%; opacity: 1; }
 +
}
 +
@keyframes fromRightAnim4{
 +
0%{ left: 110%; opacity: 0; }
 +
100%{ left: 60%; opacity: 1; }
 +
}
 +
/* Slide in from the left*/
 +
.da-slide-fromleft p.h2{
 +
-webkit-animation: fromLeftAnim1 0.6s ease-in-out 0.6s both;
 +
-moz-animation: fromLeftAnim1 0.6s ease-in-out 0.6s both;
 +
-o-animation: fromLeftAnim1 0.6s ease-in-out 0.6s both;
 +
-ms-animation: fromLeftAnim1 0.6s ease-in-out 0.6s both;
 +
animation: fromLeftAnim1 0.6s ease-in-out 0.6s both;
 +
}
 +
.da-slide-fromleft p{
 +
-webkit-animation: fromLeftAnim2 0.6s ease-in-out 0.6s both;
 +
-moz-animation: fromLeftAnim2 0.6s ease-in-out 0.6s both;
 +
-o-animation: fromLeftAnim2 0.6s ease-in-out 0.6s both;
 +
-ms-animation: fromLeftAnim2 0.6s ease-in-out 0.6s both;
 +
animation: fromLeftAnim2 0.6s ease-in-out 0.6s both;
 +
}
 +
.da-slide-fromleft .da-link{
 +
-webkit-animation: fromLeftAnim3 0.4s ease-in-out 1.2s both;
 +
-moz-animation: fromLeftAnim3 0.4s ease-in-out 1.2s both;
 +
-o-animation: fromLeftAnim3 0.4s ease-in-out 1.2s both;
 +
-ms-animation: fromLeftAnim3 0.4s ease-in-out 1.2s both;
 +
animation: fromLeftAnim3 0.4s ease-in-out 1.2s both;
 +
}
 +
.da-slide-fromleft .da-img{
 +
-webkit-animation: fromLeftAnim4 0.6s ease-in-out 0.6s both;
 +
-moz-animation: fromLeftAnim4 0.6s ease-in-out 0.6s both;
 +
-o-animation: fromLeftAnim4 0.6s ease-in-out 0.6s both;
 +
-ms-animation: fromLeftAnim4 0.6s ease-in-out 0.6s both;
 +
animation: fromLeftAnim4 0.6s ease-in-out 0.6s both;
 +
}
 +
@-webkit-keyframes fromLeftAnim1{
 +
0%{ left: -110%; opacity: 0; }
 +
100%{ left: 10%; opacity: 1; }
 +
}
 +
@-webkit-keyframes fromLeftAnim2{
 +
0%{ left: -110%; opacity: 0; }
 +
100%{ left: 10%; opacity: 1; }
 +
}
 +
@-webkit-keyframes fromLeftAnim3{
 +
0%{ left: -110%; opacity: 0; }
 +
1%{ left: 10%; opacity: 0; }
 +
100%{ left: 10%; opacity: 1; }
 +
}
 +
@-webkit-keyframes fromLeftAnim4{
 +
0%{ left: -110%; opacity: 0; }
 +
100%{ left: 60%; opacity: 1; }
 +
}
 +
 
 +
@-moz-keyframes fromLeftAnim1{
 +
0%{ left: -110%; opacity: 0; }
 +
100%{ left: 10%; opacity: 1; }
 +
}
 +
@-moz-keyframes fromLeftAnim2{
 +
0%{ left: -110%; opacity: 0; }
 +
100%{ left: 10%; opacity: 1; }
 +
}
 +
@-moz-keyframes fromLeftAnim3{
 +
0%{ left: -110%; opacity: 0; }
 +
1%{ left: 10%; opacity: 0; }
 +
100%{ left: 10%; opacity: 1; }
 +
}
 +
@-moz-keyframes fromLeftAnim4{
 +
0%{ left: -110%; opacity: 0; }
 +
100%{ left: 60%; opacity: 1; }
 +
}
 +
 
 +
@-o-keyframes fromLeftAnim1{
 +
0%{ left: -110%; opacity: 0; }
 +
100%{ left: 10%; opacity: 1; }
 +
}
 +
@-o-keyframes fromLeftAnim2{
 +
0%{ left: -110%; opacity: 0; }
 +
100%{ left: 10%; opacity: 1; }
 +
}
 +
@-o-keyframes fromLeftAnim3{
 +
0%{ left: -110%; opacity: 0; }
 +
1%{ left: 10%; opacity: 0; }
 +
100%{ left: 10%; opacity: 1; }
 +
}
 +
@-o-keyframes fromLeftAnim4{
 +
0%{ left: -110%; opacity: 0; }
 +
100%{ left: 60%; opacity: 1; }
 +
}
 +
 
 +
@-ms-keyframes fromLeftAnim1{
 +
0%{ left: -110%; opacity: 0; }
 +
100%{ left: 10%; opacity: 1; }
 +
}
 +
@-ms-keyframes fromLeftAnim2{
 +
0%{ left: -110%; opacity: 0; }
 +
100%{ left: 10%; opacity: 1; }
 +
}
 +
@-ms-keyframes fromLeftAnim3{
 +
0%{ left: -110%; opacity: 0; }
 +
1%{ left: 10%; opacity: 0; }
 +
100%{ left: 10%; opacity: 1; }
 +
}
 +
@-ms-keyframes fromLeftAnim4{
 +
0%{ left: -110%; opacity: 0; }
 +
100%{ left: 60%; opacity: 1; }
 +
}
 +
 
 +
@keyframes fromLeftAnim1{
 +
0%{ left: -110%; opacity: 0; }
 +
100%{ left: 10%; opacity: 1; }
 +
}
 +
@keyframes fromLeftAnim2{
 +
0%{ left: -110%; opacity: 0; }
 +
100%{ left: 10%; opacity: 1; }
 +
}
 +
@keyframes fromLeftAnim3{
 +
0%{ left: -110%; opacity: 0; }
 +
1%{ left: 10%; opacity: 0; }
 +
100%{ left: 10%; opacity: 1; }
 +
}
 +
@keyframes fromLeftAnim4{
 +
0%{ left: -110%; opacity: 0; }
 +
100%{ left: 60%; opacity: 1; }
 +
}
 +
/* Slide out to the right */
 +
.da-slide-toright p.h2{
 +
-webkit-animation: toRightAnim1 0.6s ease-in-out 0.6s both;
 +
-moz-animation: toRightAnim1 0.6s ease-in-out 0.6s both;
 +
-o-animation: toRightAnim1 0.6s ease-in-out 0.6s both;
 +
-ms-animation: toRightAnim1 0.6s ease-in-out 0.6s both;
 +
animation: toRightAnim1 0.6s ease-in-out 0.6s both;
 +
}
 +
.da-slide-toright p{
 +
-webkit-animation: toRightAnim2 0.6s ease-in-out 0.3s both;
 +
-moz-animation: toRightAnim2 0.6s ease-in-out 0.3s both;
 +
-o-animation: toRightAnim2 0.6s ease-in-out 0.3s both;
 +
-ms-animation: toRightAnim2 0.6s ease-in-out 0.3s both;
 +
animation: toRightAnim2 0.6s ease-in-out 0.3s both;
 +
}
 +
.da-slide-toright .da-link{
 +
-webkit-animation: toRightAnim3 0.4s ease-in-out both;
 +
-moz-animation: toRightAnim3 0.4s ease-in-out both;
 +
-o-animation: toRightAnim3 0.4s ease-in-out both;
 +
-ms-animation: toRightAnim3 0.4s ease-in-out both;
 +
animation: toRightAnim3 0.4s ease-in-out both;
 +
}
 +
.da-slide-toright .da-img{
 +
-webkit-animation: toRightAnim4 0.6s ease-in-out both;
 +
-moz-animation: toRightAnim4 0.6s ease-in-out both;
 +
-o-animation: toRightAnim4 0.6s ease-in-out both;
 +
-ms-animation: toRightAnim4 0.6s ease-in-out both;
 +
animation: toRightAnim4 0.6s ease-in-out both;
 +
}
 +
@-webkit-keyframes toRightAnim1{
 +
0%{ left: 10%;  opacity: 1; }
 +
100%{ left: 100%; opacity: 0; }
 +
}
 +
@-webkit-keyframes toRightAnim2{
 +
0%{ left: 10%;  opacity: 1; }
 +
100%{ left: 100%; opacity: 0; }
 +
}
 +
@-webkit-keyframes toRightAnim3{
 +
0%{ left: 10%;  opacity: 1; }
 +
99%{ left: 10%; opacity: 0; }
 +
100%{ left: 100%; opacity: 0; }
 +
}
 +
@-webkit-keyframes toRightAnim4{
 +
0%{ left: 60%;  opacity: 1; }
 +
30%{ left: 55%;  opacity: 1; }
 +
100%{ left: 100%; opacity: 0; }
 +
}
 +
 
 +
@-moz-keyframes toRightAnim1{
 +
0%{ left: 10%;  opacity: 1; }
 +
100%{ left: 100%; opacity: 0; }
 +
}
 +
@-moz-keyframes toRightAnim2{
 +
0%{ left: 10%;  opacity: 1; }
 +
100%{ left: 100%; opacity: 0; }
 +
}
 +
@-moz-keyframes toRightAnim3{
 +
0%{ left: 10%;  opacity: 1; }
 +
99%{ left: 10%; opacity: 0; }
 +
100%{ left: 100%; opacity: 0; }
 +
}
 +
@-moz-keyframes toRightAnim4{
 +
0%{ left: 60%;  opacity: 1; }
 +
30%{ left: 55%;  opacity: 1; }
 +
100%{ left: 100%; opacity: 0; }
 +
}
 +
 
 +
@-o-keyframes toRightAnim1{
 +
0%{ left: 10%;  opacity: 1; }
 +
100%{ left: 100%; opacity: 0; }
 +
}
 +
@-o-keyframes toRightAnim2{
 +
0%{ left: 10%;  opacity: 1; }
 +
100%{ left: 100%; opacity: 0; }
 +
}
 +
@-o-keyframes toRightAnim3{
 +
0%{ left: 10%;  opacity: 1; }
 +
99%{ left: 10%; opacity: 0; }
 +
100%{ left: 100%; opacity: 0; }
 +
}
 +
@-o-keyframes toRightAnim4{
 +
0%{ left: 60%;  opacity: 1; }
 +
30%{ left: 55%;  opacity: 1; }
 +
100%{ left: 100%; opacity: 0; }
 +
}
 +
 
 +
@-ms-keyframes toRightAnim1{
 +
0%{ left: 10%;  opacity: 1; }
 +
100%{ left: 100%; opacity: 0; }
 +
}
 +
@-ms-keyframes toRightAnim2{
 +
0%{ left: 10%;  opacity: 1; }
 +
100%{ left: 100%; opacity: 0; }
 +
}
 +
@-ms-keyframes toRightAnim3{
 +
0%{ left: 10%;  opacity: 1; }
 +
99%{ left: 10%; opacity: 0; }
 +
100%{ left: 100%; opacity: 0; }
 +
}
 +
@-ms-keyframes toRightAnim4{
 +
0%{ left: 60%;  opacity: 1; }
 +
30%{ left: 55%;  opacity: 1; }
 +
100%{ left: 100%; opacity: 0; }
 +
}
 +
 
 +
@keyframes toRightAnim1{
 +
0%{ left: 10%;  opacity: 1; }
 +
100%{ left: 100%; opacity: 0; }
 +
}
 +
@keyframes toRightAnim2{
 +
0%{ left: 10%;  opacity: 1; }
 +
100%{ left: 100%; opacity: 0; }
 +
}
 +
@keyframes toRightAnim3{
 +
0%{ left: 10%;  opacity: 1; }
 +
99%{ left: 10%; opacity: 0; }
 +
100%{ left: 100%; opacity: 0; }
 +
}
 +
@keyframes toRightAnim4{
 +
0%{ left: 60%;  opacity: 1; }
 +
30%{ left: 55%;  opacity: 1; }
 +
100%{ left: 100%; opacity: 0; }
 +
}
 +
/* Slide out to the left*/
 +
.da-slide-toleft p.h2{
 +
-webkit-animation: toLeftAnim1 0.6s ease-in-out both;
 +
-moz-animation: toLeftAnim1 0.6s ease-in-out both;
 +
-o-animation: toLeftAnim1 0.6s ease-in-out both;
 +
-ms-animation: toLeftAnim1 0.6s ease-in-out both;
 +
animation: toLeftAnim1 0.6s ease-in-out both;
 +
}
 +
.da-slide-toleft p{
 +
-webkit-animation: toLeftAnim2 0.6s ease-in-out 0.3s both;
 +
-moz-animation: toLeftAnim2 0.6s ease-in-out 0.3s both;
 +
-o-animation: toLeftAnim2 0.6s ease-in-out 0.3s both;
 +
-ms-animation: toLeftAnim2 0.6s ease-in-out 0.3s both;
 +
animation: toLeftAnim2 0.6s ease-in-out 0.3s both;
 +
}
 +
.da-slide-toleft .da-link{
 +
-webkit-animation: toLeftAnim3 0.6s ease-in-out 0.6s both;
 +
-moz-animation: toLeftAnim3 0.6s ease-in-out 0.6s both;
 +
-o-animation: toLeftAnim3 0.6s ease-in-out 0.6s both;
 +
-ms-animation: toLeftAnim3 0.6s ease-in-out 0.6s both;
 +
animation: toLeftAnim3 0.6s ease-in-out 0.6s both;
 +
}
 +
.da-slide-toleft .da-img{
 +
-webkit-animation: toLeftAnim4 0.6s ease-in-out 0.5s both;
 +
-moz-animation: toLeftAnim4 0.6s ease-in-out 0.5s both;
 +
-o-animation: toLeftAnim4 0.6s ease-in-out 0.5s both;
 +
-ms-animation: toLeftAnim4 0.6s ease-in-out 0.5s both;
 +
animation: toLeftAnim4 0.6s ease-in-out 0.5s both;
 +
}
 +
@-webkit-keyframes toLeftAnim1{
 +
0%{ left: 10%;  opacity: 1; }
 +
30%{ left: 15%;  opacity: 1; }
 +
100%{ left: -50%; opacity: 0; }
 +
}
 +
@-webkit-keyframes toLeftAnim2{
 +
0%{ left: 10%;  opacity: 1; }
 +
30%{ left: 15%;  opacity: 1; }
 +
100%{ left: -50%; opacity: 0; }
 +
}
 +
@-webkit-keyframes toLeftAnim3{
 +
0%{ left: 10%;  opacity: 1; }
 +
100%{ left: -50%; opacity: 0; }
 +
}
 +
@-webkit-keyframes toLeftAnim4{
 +
0%{ left: 60%;  opacity: 1; }
 +
70%{ left: 30%;  opacity: 0; }
 +
100%{ left: -50%; opacity: 0; }
 +
}
 +
 
 +
@-moz-keyframes toLeftAnim1{
 +
0%{ left: 10%;  opacity: 1; }
 +
30%{ left: 15%;  opacity: 1; }
 +
100%{ left: -50%; opacity: 0; }
 +
}
 +
@-moz-keyframes toLeftAnim2{
 +
0%{ left: 10%;  opacity: 1; }
 +
30%{ left: 15%;  opacity: 1; }
 +
100%{ left: -50%; opacity: 0; }
 +
}
 +
@-moz-keyframes toLeftAnim3{
 +
0%{ left: 10%;  opacity: 1; }
 +
100%{ left: -50%; opacity: 0; }
 +
}
 +
@-moz-keyframes toLeftAnim4{
 +
0%{ left: 60%;  opacity: 1; }
 +
70%{ left: 30%;  opacity: 0; }
 +
100%{ left: -50%; opacity: 0; }
 +
}
 +
 
 +
@-o-keyframes toLeftAnim1{
 +
0%{ left: 10%;  opacity: 1; }
 +
30%{ left: 15%;  opacity: 1; }
 +
100%{ left: -50%; opacity: 0; }
 +
}
 +
@-o-keyframes toLeftAnim2{
 +
0%{ left: 10%;  opacity: 1; }
 +
30%{ left: 15%;  opacity: 1; }
 +
100%{ left: -50%; opacity: 0; }
 +
}
 +
@-o-keyframes toLeftAnim3{
 +
0%{ left: 10%;  opacity: 1; }
 +
100%{ left: -50%; opacity: 0; }
 +
}
 +
@-o-keyframes toLeftAnim4{
 +
0%{ left: 60%;  opacity: 1; }
 +
70%{ left: 30%;  opacity: 0; }
 +
100%{ left: -50%; opacity: 0; }
 +
}
 +
 
 +
@-ms-keyframes toLeftAnim1{
 +
0%{ left: 10%;  opacity: 1; }
 +
30%{ left: 15%;  opacity: 1; }
 +
100%{ left: -50%; opacity: 0; }
 +
}
 +
@-ms-keyframes toLeftAnim2{
 +
0%{ left: 10%;  opacity: 1; }
 +
30%{ left: 15%;  opacity: 1; }
 +
100%{ left: -50%; opacity: 0; }
 +
}
 +
@-ms-keyframes toLeftAnim3{
 +
0%{ left: 10%;  opacity: 1; }
 +
100%{ left: -50%; opacity: 0; }
 +
}
 +
@-ms-keyframes toLeftAnim4{
 +
0%{ left: 60%;  opacity: 1; }
 +
70%{ left: 30%;  opacity: 0; }
 +
100%{ left: -50%; opacity: 0; }
 +
}
 +
 
 +
@keyframes toLeftAnim1{
 +
0%{ left: 10%;  opacity: 1; }
 +
30%{ left: 15%;  opacity: 1; }
 +
100%{ left: -50%; opacity: 0; }
 +
}
 +
@keyframes toLeftAnim2{
 +
0%{ left: 10%;  opacity: 1; }
 +
30%{ left: 15%;  opacity: 1; }
 +
100%{ left: -50%; opacity: 0; }
 +
}
 +
@keyframes toLeftAnim3{
 +
0%{ left: 10%;  opacity: 1; }
 +
100%{ left: -50%; opacity: 0; }
 +
}
 +
@keyframes toLeftAnim4{
 +
0%{ left: 60%;  opacity: 1; }
 +
70%{ left: 30%;  opacity: 0; }
 +
100%{ left: -50%; opacity: 0; }
 +
}
 +
 
 +
 
 +
#s-logo{
 +
     height:300px;
 +
     width:192px;
 +
     background:url('https://static.igem.org/mediawiki/2012/8/81/USTC-Software-images-s-logo.png');
     position:absolute;
     position:absolute;
-
     right:-120px;
+
     top:-100px;
-
     bottom:-50px;
+
     left:-80px;
 +
    z-index:1000;
}
}
-
/* style for the detail section */
+
/* styles for the feature grid */
-
div.member_details{
+
#features_grid{
-
     width:100%;
+
     width:980px;
-
     height:550px;
+
     margin:50px auto;
-
     position:fixed;
+
     margin-top: 100px;
-
     bottom:0px;
+
     padding:30px 10px;
 +
    position:relative;
     background:url('https://static.igem.org/mediawiki/2012/d/de/USTC-Software-images-half-black.png');
     background:url('https://static.igem.org/mediawiki/2012/d/de/USTC-Software-images-half-black.png');
}
}
-
div.detail_close{
+
.feature{
-
     height:29px;
+
     height:250px;
-
     width:29px;
+
    margin:0 20px;
-
     background:url('https://static.igem.org/mediawiki/2012/e/e4/USTC-Software-images-close.png') no-repeat;
+
    padding:20px 10px;
-
     background-position: 0px -30px;
+
}
-
     z-index:9999;
+
 
-
     position:absolute;
+
.feature_left{
-
     top:10px;
+
    height:100%;
-
     left:10px;
+
     width:35%;
-
     cursor:pointer;
+
    float:left;
 +
     background:white;
 +
}
 +
 
 +
.feature_right{
 +
    height:100%;
 +
     width:60%;
 +
     float:right;
 +
}
 +
 
 +
.feature + .feature{
 +
    border-top: 1px solid white;
 +
}
 +
 
 +
.feature_name{
 +
     height:40px;
 +
     width:100%;
 +
     margin-bottom:20px;
 +
     padding-left:10px;
     }
     }
-
     div.detail_close:hover{
+
     .feature_name p.h2{
-
         background-position: 0px 0px;
+
         display:block;
 +
        font-size:30px;
 +
        line-height:35px;
 +
        color:white;
 +
        font-family: 'Coda', sans-serif;
     }
     }
-
   
+
 
-
div.details_member_name{
+
.details{
-
     position:absolute;
+
     width:100%;
-
     top:0px;
+
     padding:10px;
-
     left:100px;
+
     height:150px;
     }
     }
-
     div.details_member_name p.h1{
+
     .details p{
         color:white;
         color:white;
-
         font-size:50px;
+
         font-family: 'Economica', Arial, sans-serif;
-
        line-height:50px;
+
         font-style:italic;
-
         font-family:'Coda', sans-serif;
+
     }
     }
-
div.member_photo{
 
-
    height:450px;
 
-
    width:450px;
 
-
    position:absolute;
 
-
    bottom:0px;
 
-
    left:100px;
 
-
}
 
-
#photo_chao{
+
.more{
-
     background:url('../images/photo_chao.png') no-repeat;
+
     margin-left:10px;
-
}
+
     height:30px;
-
 
+
     width:100px;
-
div.resume{
+
-
    width:400px;
+
-
     position:absolute;
+
-
     top:150px;
+
-
    left:650px;
+
     }
     }
-
     div.resume p{
+
     .more p{
 +
        font-size:20px;
 +
        font-family: 'Yanone Kaffeesatz', sans-serif;
         color:white;
         color:white;
-
        font-size:18px;
 
-
        font-family: 'Petit Formal Script', cursive;
 
-
        }
 
-
        div.resume p+p{
 
-
            text-indent:2em;
 
         }
         }
 +
        .more p a{
 +
            text-decoration:none;
 +
            color:white;
 +
            }
 +
            .more p a:hover{
 +
                text-decoration:underline;
 +
            }
 +
 +
#slogon{
 +
    width:580px;
 +
    height:125px;
 +
    background:url('https://static.igem.org/mediawiki/2012/d/db/USTC-Software-images-slogon.png');
 +
    position:absolute;
 +
    right:-120px;
 +
    bottom:-50px;
 +
}

Revision as of 11:59, 24 September 2012

/* style for the photo zone, some elements' names are for the javascript */

  1. photo_zone_line_up{

position:relative; width:100%; height:40px; background:url("USTC-Software-images-photo_zone_line.png"); }


.da-slider{ width: 100%; min-width: 520px; height: 400px; position: relative; margin: 30px auto; overflow: hidden; -webkit-transition: background-position 1s ease-out 0.6s; -moz-transition: background-position 1s ease-out 0.6s; -o-transition: background-position 1s ease-out 0.6s; -ms-transition: background-position 1s ease-out 0.6s; transition: background-position 1s ease-out 0.6s; }

  1. photo_zone_line_down{

position:relative; width:100%; height:40px; background:url("USTC-Software-images-photo_zone_line.png"); }

.da-slide{ position: absolute; width: 100%; height: 100%; top: 0px; left: 0px; font-family: 'BebasNeueRegular', 'Arial Narrow', Arial, sans-serif; text-align: left; } .da-slide-current{ z-index: 1000; } .da-slider-fb .da-slide{ left: 100%; } .da-slider-fb .da-slide.da-slide-current{ left: 0px; } .da-slide p.h2, .da-slide p, .da-slide .da-link, .da-slide .da-img{ position: absolute; opacity: 0; left: 110%; } .da-slider-fb .da-slide p.h2, .da-slider-fb .da-slide p, .da-slider-fb .da-slide .da-link{ left: 10%; opacity: 1; } .da-slider-fb .da-slide .da-img{ left: 60%; opacity: 1; } .da-slide p.h2{ color: #fff; font-size: 66px;

       line-height:70px;

width: 50%; top: 60px; white-space: nowrap; z-index: 10; text-shadow: 1px 1px 1px rgba(0,0,0,0.1); font-family: 'Economica', Arial, sans-serif; font-weight: 700; } .da-slide p{ width: 45%; top: 155px; color: #ffffff; font-size: 18px; line-height: 26px; height: 80px; overflow: hidden; font-family: 'Economica', Arial, sans-serif; font-weight: 400; font-style: italic; } .da-slide .da-img{ text-align: center; width: 30%; top: 70px; height: 256px; line-height: 320px; left: 110%; /*60%*/ } .da-slide .da-link{ top: 270px; /*depends on p height*/ border-radius: 30px; text-decoration:none; font-family: 'Economica', Arial, sans-serif; box-shadow: 0px 1px 1px rgba(0,0,0,0.1); color: #fff; text-shadow: 1px 1px 1px rgba(0,0,0,0.2); border: 4px solid rgba(255,255,255,0.8); padding: 2px 20px 0px; font-size: 18px; line-height: 30px; width: 80px; text-align: center; background: rgba(0,0,0,0.1); } .da-slide .da-link:hover{ background: rgba(0,0,0,0.2); text-decoration:underline; } .da-dots{ width: 100%; position: absolute; text-align: center; left: 0px; bottom: 0px; z-index: 2000; -moz-user-select: none; -webkit-user-select: none; } .da-dots span{ display: inline-block; position: relative; width: 12px; height: 12px; border-radius: 50%; background: black; margin: 3px; cursor: pointer; box-shadow: 1px 1px 1px rgba(0,0,0,0.1) inset, 1px 1px 1px rgba(255,255,255,0.1); } .da-dots span.da-dots-current:after{ content: ; width: 8px; height: 8px; position: absolute; top: 2px; left: 2px; border-radius: 50%; background: rgb(255,255,255); background: -moz-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(246,246,246,1) 47%, rgba(237,237,237,1) 100%); background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,1)), color-stop(47%,rgba(246,246,246,1)), color-stop(100%,rgba(237,237,237,1))); background: -webkit-linear-gradient(top, rgba(255,255,255,1) 0%,rgba(246,246,246,1) 47%,rgba(237,237,237,1) 100%); background: -o-linear-gradient(top, rgba(255,255,255,1) 0%,rgba(246,246,246,1) 47%,rgba(237,237,237,1) 100%); background: -ms-linear-gradient(top, rgba(255,255,255,1) 0%,rgba(246,246,246,1) 47%,rgba(237,237,237,1) 100%); background: linear-gradient(top, rgba(255,255,255,1) 0%,rgba(246,246,246,1) 47%,rgba(237,237,237,1) 100%); filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ededed',GradientType=0 ); } .da-arrows{ -moz-user-select: none; -webkit-user-select: none; } .da-arrows span{ position: absolute; top: 200px; height: 79px; width: 38px; cursor: pointer; z-index: 2000; opacity: 0; -webkit-transition: opacity 0.4s ease-in-out-out 0.2s; -moz-transition: opacity 0.4s ease-in-out-out 0.2s; -o-transition: opacity 0.4s ease-in-out-out 0.2s; -ms-transition: opacity 0.4s ease-in-out-out 0.2s; transition: opacity 0.4s ease-in-out-out 0.2s; } .da-slider:hover .da-arrows span{ opacity: 1; } .da-arrows span:after{ content: ; position: absolute; width: 38px; height: 79px; }

.da-arrows span.da-arrows-next:after{ background-position: top right; } .da-arrows span.da-arrows-prev{ left: 15px; background: url('https://static.igem.org/mediawiki/2012/a/a2/USTC-Software-images-prev.png') no-repeat; } .da-arrows span.da-arrows-next{ right: 15px; background: url('https://static.igem.org/mediawiki/2012/d/d3/USTC-Software-images-next.png') no-repeat; }

.da-slide-current p.h2, .da-slide-current p, .da-slide-current .da-link{ left: 10%; opacity: 1; } .da-slide-current .da-img{ left: 60%; opacity: 1; } /* Animation classes and animations */

/* Slide in from the right*/ .da-slide-fromright p.h2{ -webkit-animation: fromRightAnim1 0.6s ease-in-out 0.8s both; -moz-animation: fromRightAnim1 0.6s ease-in-out 0.8s both; -o-animation: fromRightAnim1 0.6s ease-in-out 0.8s both; -ms-animation: fromRightAnim1 0.6s ease-in-out 0.8s both; animation: fromRightAnim1 0.6s ease-in-out 0.8s both; } .da-slide-fromright p{ -webkit-animation: fromRightAnim2 0.6s ease-in-out 0.8s both; -moz-animation: fromRightAnim2 0.6s ease-in-out 0.8s both; -o-animation: fromRightAnim2 0.6s ease-in-out 0.8s both; -ms-animation: fromRightAnim2 0.6s ease-in-out 0.8s both; animation: fromRightAnim2 0.6s ease-in-out 0.8s both; } .da-slide-fromright .da-link{ -webkit-animation: fromRightAnim3 0.4s ease-in-out 1.2s both; -moz-animation: fromRightAnim3 0.4s ease-in-out 1.2s both; -o-animation: fromRightAnim3 0.4s ease-in-out 1.2s both; -ms-animation: fromRightAnim3 0.4s ease-in-out 1.2s both; animation: fromRightAnim3 0.4s ease-in-out 1.2s both; } .da-slide-fromright .da-img{ -webkit-animation: fromRightAnim4 0.6s ease-in-out 0.8s both; -moz-animation: fromRightAnim4 0.6s ease-in-out 0.8s both; -o-animation: fromRightAnim4 0.6s ease-in-out 0.8s both; -ms-animation: fromRightAnim4 0.6s ease-in-out 0.8s both; animation: fromRightAnim4 0.6s ease-in-out 0.8s both; } @-webkit-keyframes fromRightAnim1{ 0%{ left: 110%; opacity: 0; } 100%{ left: 10%; opacity: 1; } } @-webkit-keyframes fromRightAnim2{ 0%{ left: 110%; opacity: 0; } 100%{ left: 10%; opacity: 1; } } @-webkit-keyframes fromRightAnim3{ 0%{ left: 110%; opacity: 0; } 1%{ left: 10%; opacity: 0; } 100%{ left: 10%; opacity: 1; } } @-webkit-keyframes fromRightAnim4{ 0%{ left: 110%; opacity: 0; } 100%{ left: 60%; opacity: 1; } }

@-moz-keyframes fromRightAnim1{ 0%{ left: 110%; opacity: 0; } 100%{ left: 10%; opacity: 1; } } @-moz-keyframes fromRightAnim2{ 0%{ left: 110%; opacity: 0; } 100%{ left: 10%; opacity: 1; } } @-moz-keyframes fromRightAnim3{ 0%{ left: 110%; opacity: 0; } 1%{ left: 10%; opacity: 0; } 100%{ left: 10%; opacity: 1; } } @-moz-keyframes fromRightAnim4{ 0%{ left: 110%; opacity: 0; } 100%{ left: 60%; opacity: 1; } }

@-o-keyframes fromRightAnim1{ 0%{ left: 110%; opacity: 0; } 100%{ left: 10%; opacity: 1; } } @-o-keyframes fromRightAnim2{ 0%{ left: 110%; opacity: 0; } 100%{ left: 10%; opacity: 1; } } @-o-keyframes fromRightAnim3{ 0%{ left: 110%; opacity: 0; } 1%{ left: 10%; opacity: 0; } 100%{ left: 10%; opacity: 1; } } @-o-keyframes fromRightAnim4{ 0%{ left: 110%; opacity: 0; } 100%{ left: 60%; opacity: 1; } }

@-ms-keyframes fromRightAnim1{ 0%{ left: 110%; opacity: 0; } 100%{ left: 10%; opacity: 1; } } @-ms-keyframes fromRightAnim2{ 0%{ left: 110%; opacity: 0; } 100%{ left: 10%; opacity: 1; } } @-ms-keyframes fromRightAnim3{ 0%{ left: 110%; opacity: 0; } 1%{ left: 10%; opacity: 0; } 100%{ left: 10%; opacity: 1; } } @-ms-keyframes fromRightAnim4{ 0%{ left: 110%; opacity: 0; } 100%{ left: 60%; opacity: 1; } }

@keyframes fromRightAnim1{ 0%{ left: 110%; opacity: 0; } 100%{ left: 10%; opacity: 1; } } @keyframes fromRightAnim2{ 0%{ left: 110%; opacity: 0; } 100%{ left: 10%; opacity: 1; } } @keyframes fromRightAnim3{ 0%{ left: 110%; opacity: 0; } 1%{ left: 10%; opacity: 0; } 100%{ left: 10%; opacity: 1; } } @keyframes fromRightAnim4{ 0%{ left: 110%; opacity: 0; } 100%{ left: 60%; opacity: 1; } } /* Slide in from the left*/ .da-slide-fromleft p.h2{ -webkit-animation: fromLeftAnim1 0.6s ease-in-out 0.6s both; -moz-animation: fromLeftAnim1 0.6s ease-in-out 0.6s both; -o-animation: fromLeftAnim1 0.6s ease-in-out 0.6s both; -ms-animation: fromLeftAnim1 0.6s ease-in-out 0.6s both; animation: fromLeftAnim1 0.6s ease-in-out 0.6s both; } .da-slide-fromleft p{ -webkit-animation: fromLeftAnim2 0.6s ease-in-out 0.6s both; -moz-animation: fromLeftAnim2 0.6s ease-in-out 0.6s both; -o-animation: fromLeftAnim2 0.6s ease-in-out 0.6s both; -ms-animation: fromLeftAnim2 0.6s ease-in-out 0.6s both; animation: fromLeftAnim2 0.6s ease-in-out 0.6s both; } .da-slide-fromleft .da-link{ -webkit-animation: fromLeftAnim3 0.4s ease-in-out 1.2s both; -moz-animation: fromLeftAnim3 0.4s ease-in-out 1.2s both; -o-animation: fromLeftAnim3 0.4s ease-in-out 1.2s both; -ms-animation: fromLeftAnim3 0.4s ease-in-out 1.2s both; animation: fromLeftAnim3 0.4s ease-in-out 1.2s both; } .da-slide-fromleft .da-img{ -webkit-animation: fromLeftAnim4 0.6s ease-in-out 0.6s both; -moz-animation: fromLeftAnim4 0.6s ease-in-out 0.6s both; -o-animation: fromLeftAnim4 0.6s ease-in-out 0.6s both; -ms-animation: fromLeftAnim4 0.6s ease-in-out 0.6s both; animation: fromLeftAnim4 0.6s ease-in-out 0.6s both; } @-webkit-keyframes fromLeftAnim1{ 0%{ left: -110%; opacity: 0; } 100%{ left: 10%; opacity: 1; } } @-webkit-keyframes fromLeftAnim2{ 0%{ left: -110%; opacity: 0; } 100%{ left: 10%; opacity: 1; } } @-webkit-keyframes fromLeftAnim3{ 0%{ left: -110%; opacity: 0; } 1%{ left: 10%; opacity: 0; } 100%{ left: 10%; opacity: 1; } } @-webkit-keyframes fromLeftAnim4{ 0%{ left: -110%; opacity: 0; } 100%{ left: 60%; opacity: 1; } }

@-moz-keyframes fromLeftAnim1{ 0%{ left: -110%; opacity: 0; } 100%{ left: 10%; opacity: 1; } } @-moz-keyframes fromLeftAnim2{ 0%{ left: -110%; opacity: 0; } 100%{ left: 10%; opacity: 1; } } @-moz-keyframes fromLeftAnim3{ 0%{ left: -110%; opacity: 0; } 1%{ left: 10%; opacity: 0; } 100%{ left: 10%; opacity: 1; } } @-moz-keyframes fromLeftAnim4{ 0%{ left: -110%; opacity: 0; } 100%{ left: 60%; opacity: 1; } }

@-o-keyframes fromLeftAnim1{ 0%{ left: -110%; opacity: 0; } 100%{ left: 10%; opacity: 1; } } @-o-keyframes fromLeftAnim2{ 0%{ left: -110%; opacity: 0; } 100%{ left: 10%; opacity: 1; } } @-o-keyframes fromLeftAnim3{ 0%{ left: -110%; opacity: 0; } 1%{ left: 10%; opacity: 0; } 100%{ left: 10%; opacity: 1; } } @-o-keyframes fromLeftAnim4{ 0%{ left: -110%; opacity: 0; } 100%{ left: 60%; opacity: 1; } }

@-ms-keyframes fromLeftAnim1{ 0%{ left: -110%; opacity: 0; } 100%{ left: 10%; opacity: 1; } } @-ms-keyframes fromLeftAnim2{ 0%{ left: -110%; opacity: 0; } 100%{ left: 10%; opacity: 1; } } @-ms-keyframes fromLeftAnim3{ 0%{ left: -110%; opacity: 0; } 1%{ left: 10%; opacity: 0; } 100%{ left: 10%; opacity: 1; } } @-ms-keyframes fromLeftAnim4{ 0%{ left: -110%; opacity: 0; } 100%{ left: 60%; opacity: 1; } }

@keyframes fromLeftAnim1{ 0%{ left: -110%; opacity: 0; } 100%{ left: 10%; opacity: 1; } } @keyframes fromLeftAnim2{ 0%{ left: -110%; opacity: 0; } 100%{ left: 10%; opacity: 1; } } @keyframes fromLeftAnim3{ 0%{ left: -110%; opacity: 0; } 1%{ left: 10%; opacity: 0; } 100%{ left: 10%; opacity: 1; } } @keyframes fromLeftAnim4{ 0%{ left: -110%; opacity: 0; } 100%{ left: 60%; opacity: 1; } } /* Slide out to the right */ .da-slide-toright p.h2{ -webkit-animation: toRightAnim1 0.6s ease-in-out 0.6s both; -moz-animation: toRightAnim1 0.6s ease-in-out 0.6s both; -o-animation: toRightAnim1 0.6s ease-in-out 0.6s both; -ms-animation: toRightAnim1 0.6s ease-in-out 0.6s both; animation: toRightAnim1 0.6s ease-in-out 0.6s both; } .da-slide-toright p{ -webkit-animation: toRightAnim2 0.6s ease-in-out 0.3s both; -moz-animation: toRightAnim2 0.6s ease-in-out 0.3s both; -o-animation: toRightAnim2 0.6s ease-in-out 0.3s both; -ms-animation: toRightAnim2 0.6s ease-in-out 0.3s both; animation: toRightAnim2 0.6s ease-in-out 0.3s both; } .da-slide-toright .da-link{ -webkit-animation: toRightAnim3 0.4s ease-in-out both; -moz-animation: toRightAnim3 0.4s ease-in-out both; -o-animation: toRightAnim3 0.4s ease-in-out both; -ms-animation: toRightAnim3 0.4s ease-in-out both; animation: toRightAnim3 0.4s ease-in-out both; } .da-slide-toright .da-img{ -webkit-animation: toRightAnim4 0.6s ease-in-out both; -moz-animation: toRightAnim4 0.6s ease-in-out both; -o-animation: toRightAnim4 0.6s ease-in-out both; -ms-animation: toRightAnim4 0.6s ease-in-out both; animation: toRightAnim4 0.6s ease-in-out both; } @-webkit-keyframes toRightAnim1{ 0%{ left: 10%; opacity: 1; } 100%{ left: 100%; opacity: 0; } } @-webkit-keyframes toRightAnim2{ 0%{ left: 10%; opacity: 1; } 100%{ left: 100%; opacity: 0; } } @-webkit-keyframes toRightAnim3{ 0%{ left: 10%; opacity: 1; } 99%{ left: 10%; opacity: 0; } 100%{ left: 100%; opacity: 0; } } @-webkit-keyframes toRightAnim4{ 0%{ left: 60%; opacity: 1; } 30%{ left: 55%; opacity: 1; } 100%{ left: 100%; opacity: 0; } }

@-moz-keyframes toRightAnim1{ 0%{ left: 10%; opacity: 1; } 100%{ left: 100%; opacity: 0; } } @-moz-keyframes toRightAnim2{ 0%{ left: 10%; opacity: 1; } 100%{ left: 100%; opacity: 0; } } @-moz-keyframes toRightAnim3{ 0%{ left: 10%; opacity: 1; } 99%{ left: 10%; opacity: 0; } 100%{ left: 100%; opacity: 0; } } @-moz-keyframes toRightAnim4{ 0%{ left: 60%; opacity: 1; } 30%{ left: 55%; opacity: 1; } 100%{ left: 100%; opacity: 0; } }

@-o-keyframes toRightAnim1{ 0%{ left: 10%; opacity: 1; } 100%{ left: 100%; opacity: 0; } } @-o-keyframes toRightAnim2{ 0%{ left: 10%; opacity: 1; } 100%{ left: 100%; opacity: 0; } } @-o-keyframes toRightAnim3{ 0%{ left: 10%; opacity: 1; } 99%{ left: 10%; opacity: 0; } 100%{ left: 100%; opacity: 0; } } @-o-keyframes toRightAnim4{ 0%{ left: 60%; opacity: 1; } 30%{ left: 55%; opacity: 1; } 100%{ left: 100%; opacity: 0; } }

@-ms-keyframes toRightAnim1{ 0%{ left: 10%; opacity: 1; } 100%{ left: 100%; opacity: 0; } } @-ms-keyframes toRightAnim2{ 0%{ left: 10%; opacity: 1; } 100%{ left: 100%; opacity: 0; } } @-ms-keyframes toRightAnim3{ 0%{ left: 10%; opacity: 1; } 99%{ left: 10%; opacity: 0; } 100%{ left: 100%; opacity: 0; } } @-ms-keyframes toRightAnim4{ 0%{ left: 60%; opacity: 1; } 30%{ left: 55%; opacity: 1; } 100%{ left: 100%; opacity: 0; } }

@keyframes toRightAnim1{ 0%{ left: 10%; opacity: 1; } 100%{ left: 100%; opacity: 0; } } @keyframes toRightAnim2{ 0%{ left: 10%; opacity: 1; } 100%{ left: 100%; opacity: 0; } } @keyframes toRightAnim3{ 0%{ left: 10%; opacity: 1; } 99%{ left: 10%; opacity: 0; } 100%{ left: 100%; opacity: 0; } } @keyframes toRightAnim4{ 0%{ left: 60%; opacity: 1; } 30%{ left: 55%; opacity: 1; } 100%{ left: 100%; opacity: 0; } } /* Slide out to the left*/ .da-slide-toleft p.h2{ -webkit-animation: toLeftAnim1 0.6s ease-in-out both; -moz-animation: toLeftAnim1 0.6s ease-in-out both; -o-animation: toLeftAnim1 0.6s ease-in-out both; -ms-animation: toLeftAnim1 0.6s ease-in-out both; animation: toLeftAnim1 0.6s ease-in-out both; } .da-slide-toleft p{ -webkit-animation: toLeftAnim2 0.6s ease-in-out 0.3s both; -moz-animation: toLeftAnim2 0.6s ease-in-out 0.3s both; -o-animation: toLeftAnim2 0.6s ease-in-out 0.3s both; -ms-animation: toLeftAnim2 0.6s ease-in-out 0.3s both; animation: toLeftAnim2 0.6s ease-in-out 0.3s both; } .da-slide-toleft .da-link{ -webkit-animation: toLeftAnim3 0.6s ease-in-out 0.6s both; -moz-animation: toLeftAnim3 0.6s ease-in-out 0.6s both; -o-animation: toLeftAnim3 0.6s ease-in-out 0.6s both; -ms-animation: toLeftAnim3 0.6s ease-in-out 0.6s both; animation: toLeftAnim3 0.6s ease-in-out 0.6s both; } .da-slide-toleft .da-img{ -webkit-animation: toLeftAnim4 0.6s ease-in-out 0.5s both; -moz-animation: toLeftAnim4 0.6s ease-in-out 0.5s both; -o-animation: toLeftAnim4 0.6s ease-in-out 0.5s both; -ms-animation: toLeftAnim4 0.6s ease-in-out 0.5s both; animation: toLeftAnim4 0.6s ease-in-out 0.5s both; } @-webkit-keyframes toLeftAnim1{ 0%{ left: 10%; opacity: 1; } 30%{ left: 15%; opacity: 1; } 100%{ left: -50%; opacity: 0; } } @-webkit-keyframes toLeftAnim2{ 0%{ left: 10%; opacity: 1; } 30%{ left: 15%; opacity: 1; } 100%{ left: -50%; opacity: 0; } } @-webkit-keyframes toLeftAnim3{ 0%{ left: 10%; opacity: 1; } 100%{ left: -50%; opacity: 0; } } @-webkit-keyframes toLeftAnim4{ 0%{ left: 60%; opacity: 1; } 70%{ left: 30%; opacity: 0; } 100%{ left: -50%; opacity: 0; } }

@-moz-keyframes toLeftAnim1{ 0%{ left: 10%; opacity: 1; } 30%{ left: 15%; opacity: 1; } 100%{ left: -50%; opacity: 0; } } @-moz-keyframes toLeftAnim2{ 0%{ left: 10%; opacity: 1; } 30%{ left: 15%; opacity: 1; } 100%{ left: -50%; opacity: 0; } } @-moz-keyframes toLeftAnim3{ 0%{ left: 10%; opacity: 1; } 100%{ left: -50%; opacity: 0; } } @-moz-keyframes toLeftAnim4{ 0%{ left: 60%; opacity: 1; } 70%{ left: 30%; opacity: 0; } 100%{ left: -50%; opacity: 0; } }

@-o-keyframes toLeftAnim1{ 0%{ left: 10%; opacity: 1; } 30%{ left: 15%; opacity: 1; } 100%{ left: -50%; opacity: 0; } } @-o-keyframes toLeftAnim2{ 0%{ left: 10%; opacity: 1; } 30%{ left: 15%; opacity: 1; } 100%{ left: -50%; opacity: 0; } } @-o-keyframes toLeftAnim3{ 0%{ left: 10%; opacity: 1; } 100%{ left: -50%; opacity: 0; } } @-o-keyframes toLeftAnim4{ 0%{ left: 60%; opacity: 1; } 70%{ left: 30%; opacity: 0; } 100%{ left: -50%; opacity: 0; } }

@-ms-keyframes toLeftAnim1{ 0%{ left: 10%; opacity: 1; } 30%{ left: 15%; opacity: 1; } 100%{ left: -50%; opacity: 0; } } @-ms-keyframes toLeftAnim2{ 0%{ left: 10%; opacity: 1; } 30%{ left: 15%; opacity: 1; } 100%{ left: -50%; opacity: 0; } } @-ms-keyframes toLeftAnim3{ 0%{ left: 10%; opacity: 1; } 100%{ left: -50%; opacity: 0; } } @-ms-keyframes toLeftAnim4{ 0%{ left: 60%; opacity: 1; } 70%{ left: 30%; opacity: 0; } 100%{ left: -50%; opacity: 0; } }

@keyframes toLeftAnim1{ 0%{ left: 10%; opacity: 1; } 30%{ left: 15%; opacity: 1; } 100%{ left: -50%; opacity: 0; } } @keyframes toLeftAnim2{ 0%{ left: 10%; opacity: 1; } 30%{ left: 15%; opacity: 1; } 100%{ left: -50%; opacity: 0; } } @keyframes toLeftAnim3{ 0%{ left: 10%; opacity: 1; } 100%{ left: -50%; opacity: 0; } } @keyframes toLeftAnim4{ 0%{ left: 60%; opacity: 1; } 70%{ left: 30%; opacity: 0; } 100%{ left: -50%; opacity: 0; } }


  1. s-logo{
   height:300px;
   width:192px;
   background:url('https://static.igem.org/mediawiki/2012/8/81/USTC-Software-images-s-logo.png');
   position:absolute;
   top:-100px;
   left:-80px;
   z-index:1000;

}


/* styles for the feature grid */

  1. features_grid{
   width:980px;
   margin:50px auto;
   margin-top: 100px;
   padding:30px 10px;
   position:relative;
   background:url('https://static.igem.org/mediawiki/2012/d/de/USTC-Software-images-half-black.png');

}

.feature{

   height:250px;
   margin:0 20px;
   padding:20px 10px;

}

.feature_left{

   height:100%;
   width:35%;
   float:left;
   background:white;

}

.feature_right{

   height:100%;
   width:60%;
   float:right;

}

.feature + .feature{

   border-top: 1px solid white;

}

.feature_name{

   height:40px;
   width:100%;
   margin-bottom:20px;
   padding-left:10px;
   }
   .feature_name p.h2{
       display:block;
       font-size:30px;
       line-height:35px;
       color:white;
       font-family: 'Coda', sans-serif;
   }

.details{

   width:100%;
   padding:10px;
   height:150px;
   }
   .details p{
       color:white;
       font-family: 'Economica', Arial, sans-serif;
       font-style:italic;
   }

.more{

   margin-left:10px;
   height:30px;
   width:100px;
   }
   .more p{
       font-size:20px;
       font-family: 'Yanone Kaffeesatz', sans-serif;
       color:white;
       }
       .more p a{
           text-decoration:none;
           color:white;
           }
           .more p a:hover{
               text-decoration:underline;
           }
  1. slogon{
   width:580px;
   height:125px;
   background:url('https://static.igem.org/mediawiki/2012/d/db/USTC-Software-images-slogon.png');
   position:absolute;
   right:-120px;
   bottom:-50px;

}