Team:TU-Eindhoven/Style

From 2014.igem.org

(Difference between revisions)
 
(7 intermediate revisions not shown)
Line 65: Line 65:
/* TU-Eindhoven Style */
/* TU-Eindhoven Style */
-
.da-slider{
+
article, aside, details, figcaption, figure,  
-
width: 100%;
+
footer, header, hgroup, menu, nav, section {
-
height:500px;
+
  display: none;
-
position: relative;
+
-
overflow: hidden;
+
-
background:url(../images/slider-bg.png);
+
-
-webkit-transition: background-position 1s ease-out 0.3s;
+
-
-moz-transition: background-position 1s ease-out 0.3s;
+
-
-o-transition: background-position 1s ease-out 0.3s;
+
-
-ms-transition: background-position 1s ease-out 0.3s;
+
-
transition: background-position 1s ease-out 0.3s;
+
-
text-align:center;
+
-
}
+
-
.da-slide{
+
-
position: absolute;
+
-
width: 100%;
+
-
height: 100%;
+
-
top: 0px;
+
-
left: 0px;
+
-
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 h2,
+
-
.da-slide p,
+
-
.da-slide .da-link,
+
-
.da-slide .da-img{
+
-
position: absolute;
+
-
opacity: 0;
+
-
left: 110%;
+
-
}
+
-
.da-slider-fb .da-slide 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 h2 {
+
-
font-family: 'Open Sans', sans-serif;
+
-
text-transform: uppercase;
+
-
color: #FFFFFF;
+
-
width: 77%;
+
-
top: 120px;
+
-
font-size: 3em;
+
-
font-weight: 600;
+
-
white-space: nowrap;
+
-
z-index: 10;
+
-
text-align: center;
+
-
}
+
-
.da-slide p{
+
-
top: 190px;
+
-
color: #FFFFFF;
+
-
font-size: 1em;
+
-
height: 80px;
+
-
overflow: hidden;
+
-
font-weight: normal;
+
-
line-height: 29px;
+
-
text-align: center;
+
-
margin: 0 auto;
+
-
width: 77%;
+
-
}
+
-
.da-img{
+
-
display:none;
+
-
}
+
-
.da-slide .da-img{
+
-
text-align: center;
+
-
width: 30%;
+
-
top: 51px;
+
-
height: 256px;
+
-
line-height: 320px;
+
-
left: 110%; /*60%*/
+
-
}
+
-
.da-slide .da-link{
+
-
}
+
-
.da-link:hover{
+
-
background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #71b5d5), color-stop(1, #79bbff) );
+
-
background:-moz-linear-gradient( center top, #71b5d5 5%, #79bbff 100% );
+
-
background-color:#71b5d5;
+
-
}
+
-
.da-dots{
+
-
width: 99%;
+
-
position: absolute;
+
-
text-align: center;
+
-
left: 0px;
+
-
bottom: 20px;
+
-
z-index: 2000;
+
-
-moz-user-select: none;
+
-
-webkit-user-select: none;
+
-
}
+
-
.da-dots span{
+
-
display: inline-block;
+
-
position: relative;
+
-
width: 30px;
+
-
height:30px;
+
-
background: url(../images/slide-pagenat.png) no-repeat 10px 1px;
+
-
margin: 3px;
+
-
cursor: pointer;
+
-
}
+
-
.da-dots span.da-dots-current:after{
+
-
content: '';
+
-
width: 30px;
+
-
height:30px;
+
-
position: absolute;
+
-
top: 1px;
+
-
left: 1px;
+
-
background: url(../images/slide-pagenat.png) no-repeat -27px 0px;
+
-
display: inline-block;
+
-
}
+
-
.da-arrows{
+
-
-moz-user-select: none;
+
-
-webkit-user-select: none;
+
-
}
+
-
.da-arrows span{
+
-
position: absolute;
+
-
top: 40%;
+
-
cursor: pointer;
+
-
z-index: 2000;
+
-
opacity: 0;
+
-
height: 60px;
+
-
width: 32px;
+
-
-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-arrows-prev{
+
-
background: url(../images/slider-icons.png) no-repeat -40px 0px;
+
-
}
+
-
.da-arrows-next{
+
-
background: url(../images/slider-icons.png) no-repeat -0px 0px;
+
-
}
+
-
.da-slider:hover .da-arrows span{
+
-
opacity: 1;
+
-
}
+
-
.da-arrows span:after{
+
-
content: '';
+
-
position: absolute;
+
-
width: 20px;
+
-
height: 20px;
+
-
top: 5px;
+
-
left: 5px;
+
-
background: transparent url(../images/arrows.png) no-repeat top left;
+
-
border-radius: 50%;
+
-
box-shadow: 1px 1px 2px rgba(0,0,0,0.1);
+
-
}
+
-
.da-arrows span:hover:after{
+
-
box-shadow: 1px 1px 4px rgba(0,0,0,0.3);
+
-
}
+
-
.da-arrows span:active:after{
+
-
box-shadow: 1px 1px 1px rgba(255,255,255,0.1);
+
-
}
+
-
.da-arrows span.da-arrows-next:after{
+
-
background-position: top right;
+
-
}
+
-
.da-arrows span.da-arrows-prev{
+
-
left: 15px;
+
-
}
+
-
.da-arrows span.da-arrows-next{
+
-
right: 15px;
+
}
}
-
.da-slide-current h2,
+
body {
-
.da-slide-current p,
+
  font-family: 'Noto Sans', sans-serif;
-
.da-slide-current .da-link{
+
  background: #dfff9f;
-
left: 10%;
+
-
opacity: 1;
+
}
}
-
.da-slide-current .da-img{
 
-
left: 60%;
 
-
opacity: 1;
 
-
}
 
-
/* Animation classes and animations */
 
-
/* Slide in from the right*/
+
ol, ul {
-
.da-slide-fromright h2{
+
  list-style: none;
-
-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{
+
#navpanel {
-
0%{ left: 110%; opacity: 0; }
+
  height:75px;
-
100%{ left: 10%; opacity: 1; }
+
  width:975px;
-
}
+
  background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0, #000000),color-stop(0.25, #003200));
-
@-moz-keyframes fromRightAnim2{
+
  background-image: -o-linear-gradient(bottom, #000000 0%, #003200 25%);
-
0%{ left: 110%; opacity: 0; }
+
  background-image: -moz-linear-gradient(bottom, #000000 0%, #003200 25%);
-
100%{ left: 10%; opacity: 1; }
+
  background-image: -webkit-linear-gradient(bottom, #000000 0%, #003200 25%);
-
}
+
  background-image: -ms-linear-gradient(bottom, #000000 0%, #003200 25%);
-
@-moz-keyframes fromRightAnim3{
+
  background-image: linear-gradient(to bottom, #000000 0%, #003200 25%);  
-
0%{ left: 110%; opacity: 0; }
+
  border-bottom-right-radius: 8px;
-
1%{ left: 10%; opacity: 0; }
+
  border-bottom-left-radius: 8px;
-
100%{ left: 10%; opacity: 1; }
+
  margin-left:auto;
-
}
+
  margin-right:auto;
-
@-moz-keyframes fromRightAnim4{
+
  margin-top: 0pt;
-
0%{ left: 110%; opacity: 0; }
+
-
100%{ left: 60%; opacity: 1; }
+
}
}
-
@-o-keyframes fromRightAnim1{
+
#header {
-
0%{ left: 110%; opacity: 0; }
+
  height: 200px;
-
100%{ left: 10%; opacity: 1; }
+
  width: 100%;
 +
  border-bottom: 2px solid black;
 +
  background-image: url("http://sgugenetics.pbworks.com/f/E.COLI.jpg");
}
}
-
@-o-keyframes fromRightAnim2{
+
-
0%{ left: 110%; opacity: 0; }
+
.menu1 {
-
100%{ left: 10%; opacity: 1; }
+
  height:75px;
 +
  width:200px;
 +
  background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0, #000000),color-stop(0.25, #00C800));
 +
  background-image: -o-linear-gradient(bottom, #000000 0%, #00C800 25%);
 +
  background-image: -moz-linear-gradient(bottom, #000000 0%, #00C800 25%);
 +
  background-image: -webkit-linear-gradient(bottom, #000000 0%, #00C800 25%);
 +
  background-image: -ms-linear-gradient(bottom, #000000 0%, #00C800 25%);
 +
  background-image: linear-gradient(to bottom, #000000 0%, #00C800 25%);
 +
  float:left;
 +
  transition:all .2s ease-in-out 0s;
 +
  border-bottom-right-radius: 8px;
 +
  border-bottom-left-radius: 8px;
}
}
-
@-o-keyframes fromRightAnim3{
+
-
0%{ left: 110%; opacity: 0; }
+
.menu2 {
-
1%{ left: 10%; opacity: 0; }
+
  height:75px;
-
100%{ left: 10%; opacity: 1; }
+
  width:200px;
 +
  background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0, #000000),color-stop(0.25, #009600));
 +
  background-image: -o-linear-gradient(bottom, #000000 0%, #009600 25%);
 +
  background-image: -moz-linear-gradient(bottom, #000000 0%, #009600 25%);
 +
  background-image: -webkit-linear-gradient(bottom, #000000 0%, #009600 25%);
 +
  background-image: -ms-linear-gradient(bottom, #000000 0%, #009600 25%);
 +
  background-image: linear-gradient(to bottom, #000000 0%, #009600 25%);
 +
  float:left;
 +
  position:relative;
 +
  left:-15px;
 +
  transition:all .2s ease-in-out 0s;
 +
  border-bottom-right-radius: 8px;
 +
  border-bottom-left-radius: 8px;
}
}
-
@-o-keyframes fromRightAnim4{
+
-
0%{ left: 110%; opacity: 0; }
+
.menu3 {
-
100%{ left: 60%; opacity: 1; }
+
  height:75px;
 +
  width:200px;
 +
  background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0, #000000),color-stop(0.25, #006400));
 +
  background-image: -o-linear-gradient(bottom, #000000 0%, #006400 25%);
 +
  background-image: -moz-linear-gradient(bottom, #000000 0%, #006400 25%);
 +
  background-image: -webkit-linear-gradient(bottom, #000000 0%, #006400 25%);
 +
  background-image: -ms-linear-gradient(bottom, #000000 0%, #006400 25%);
 +
  background-image: linear-gradient(to bottom, #000000 0%, #006400 25%);
 +
  float:left;
 +
  position:relative;
 +
  left:-30px;
 +
  transition:all .2s ease-in-out 0s;
 +
  border-bottom-right-radius: 8px;
 +
  border-bottom-left-radius: 8px;
}
}
-
 
+
-
@-ms-keyframes fromRightAnim1{
+
.menu4 {
-
0%{ left: 110%; opacity: 0; }
+
  height:75px;
-
100%{ left: 10%; opacity: 1; }
+
  width:200px;
-
}
+
  background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0, #000000),color-stop(0.25, #003200));
-
@-ms-keyframes fromRightAnim2{
+
  background-image: -o-linear-gradient(bottom, #000000 0%, #003200 25%);
-
0%{ left: 110%; opacity: 0; }
+
  background-image: -moz-linear-gradient(bottom, #000000 0%, #003200 25%);
-
100%{ left: 10%; opacity: 1; }
+
  background-image: -webkit-linear-gradient(bottom, #000000 0%, #003200 25%);
-
}
+
  background-image: -ms-linear-gradient(bottom, #000000 0%, #003200 25%);
-
@-ms-keyframes fromRightAnim3{
+
  background-image: linear-gradient(to bottom, #000000 0%, #003200 25%);
-
0%{ left: 110%; opacity: 0; }
+
  float:left;
-
1%{ left: 10%; opacity: 0; }
+
  position:relative;
-
100%{ left: 10%; opacity: 1; }
+
  left:-45px;
-
}
+
  transition:all .2s ease-in-out 0s;
-
@-ms-keyframes fromRightAnim4{
+
  border-bottom-right-radius: 8px;
-
0%{ left: 110%; opacity: 0; }
+
  border-bottom-left-radius: 8px;
-
100%{ left: 60%; opacity: 1; }
+
}
}
-
@keyframes fromRightAnim1{
+
a.p1 {
-
0%{ left: 110%; opacity: 0; }
+
  font-size: 24px;
-
100%{ left: 10%; opacity: 1; }
+
  font-weight:bold;
-
}
+
  color: rgba(255,255,255,.75);
-
@keyframes fromRightAnim2{
+
  text-decoration:none;
-
0%{ left: 110%; opacity: 0; }
+
  position:relative;
-
100%{ left: 10%; opacity: 1; }
+
  top:30px;
-
}
+
  left:30px;
-
@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 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{
+
a.p2 {
-
0%{ left: -110%; opacity: 0; }
+
  font-size:16px;
-
100%{ left: 10%; opacity: 1; }
+
  color: rgba(255,255,255,.75);
-
}
+
  text-decoration:none;
-
@-moz-keyframes fromLeftAnim2{
+
  position:relative;
-
0%{ left: -110%; opacity: 0; }
+
  top:60px;
-
100%{ left: 10%; opacity: 1; }
+
  left:45px;
-
}
+
-
@-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{
+
#icons {
-
0%{ left: -110%; opacity: 0; }
+
  position:absolute;
-
100%{ left: 10%; opacity: 1; }
+
  bottom:10px;
 +
  left:10px;
}
}
-
@-o-keyframes fromLeftAnim2{
+
-
0%{ left: -110%; opacity: 0; }
+
.menu1:hover {
-
100%{ left: 10%; opacity: 1; }
+
  width:300px;
}
}
-
@-o-keyframes fromLeftAnim3{
+
-
0%{ left: -110%; opacity: 0; }
+
.menu2:hover {
-
1%{ left: 10%; opacity: 0; }
+
  width:300px;
-
100%{ left: 10%; opacity: 1; }
+
}
}
-
@-o-keyframes fromLeftAnim4{
+
-
0%{ left: -110%; opacity: 0; }
+
.menu3:hover {
-
100%{ left: 60%; opacity: 1; }
+
  width:300px;
 +
  height:150px;
 +
  background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0, #000000),color-stop(0.13, #006400));
 +
  background-image: -o-linear-gradient(bottom, #000000 0%, #006400 13%);
 +
  background-image: -moz-linear-gradient(bottom, #000000 0%, #006400 13%);
 +
  background-image: -webkit-linear-gradient(bottom, #000000 0%, #006400 13%);
 +
  background-image: -ms-linear-gradient(bottom, #000000 0%, #006400 13%);
 +
  background-image: linear-gradient(to bottom, #000000 0%, #006400 13%);
}
}
-
 
+
-
@-ms-keyframes fromLeftAnim1{
+
.menu4:hover {
-
0%{ left: -110%; opacity: 0; }
+
  width:300px;
-
100%{ left: 10%; opacity: 1; }
+
  border-bottom-right-radius: 8px;
}
}
-
@-ms-keyframes fromLeftAnim2{
+
-
0%{ left: -110%; opacity: 0; }
+
.menu1:hover .p1 {
-
100%{ left: 10%; opacity: 1; }
+
  color: white;
-
}
+
-
@-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{
+
.menu2:hover .p1 {
-
0%{ left: -110%; opacity: 0; }
+
  color: white;
-
100%{ left: 10%; opacity: 1; }
+
}
}
-
@keyframes fromLeftAnim2{
+
-
0%{ left: -110%; opacity: 0; }
+
.menu3:hover a.p1 {
-
100%{ left: 10%; opacity: 1; }
+
  color: white;
}
}
-
@keyframes fromLeftAnim3{
+
-
0%{ left: -110%; opacity: 0; }
+
.menu4:hover a.p1 {
-
1%{ left: 10%; opacity: 0; }
+
  color: white;
-
100%{ left: 10%; opacity: 1; }
+
}
}
-
@keyframes fromLeftAnim4{
+
-
0%{ left: -110%; opacity: 0; }
+
.menu3 ul {
-
100%{ left: 60%; opacity: 1; }
+
  display:none;
-
}
+
-
/* Slide out to the right */
+
-
.da-slide-toright 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{
+
.menu3:hover ul {
-
0%{ left: 10%; opacity: 1; }
+
  display:inline;
-
100%{ left: 100%; opacity: 0; }
+
  list-style:none;
}
}
-
@-moz-keyframes toRightAnim2{
+
-
0%{ left: 10%;  opacity: 1; }
+
.menu3 ul li a.p2:hover{
-
100%{ left: 100%; opacity: 0; }
+
  color: white;
-
}
+
-
@-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{
+
#textcontent {
-
0%{ left: 10%; opacity: 1; }
+
  height:relative;
-
100%{ left: 100%; opacity: 0; }
+
  width:975px;
-
}
+
  border-radius:10px;
-
@-o-keyframes toRightAnim2{
+
  margin-left:auto;
-
0%{ left: 10%; opacity: 1; }
+
  margin-right:auto;
-
100%{ left: 100%; opacity: 0; }
+
  margin-top:50px;
-
}
+
  margin-bottom:75px;
-
@-o-keyframes toRightAnim3{
+
  box-shadow:10px 10px 10px #888888;
-
0%{ left: 10%; opacity: 1; }
+
  background:rgba(255,255,255,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{
+
p.text {
-
0%{ left: 10%; opacity: 1; }
+
  padding:0px 25px 25px 25px;
-
100%{ left: 100%; opacity: 0; }
+
  text-align:justify;
-
}
+
-
@-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{
+
p.title{
-
0%{ left: 10%;  opacity: 1; }
+
  padding:25px 25px 10px 25px;
-
100%{ left: 100%; opacity: 0; }
+
  font-size:50px;
-
}
+
  font-weight:900;
-
@keyframes toRightAnim2{
+
  color:#003200;
-
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 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{
+
p.subtitle{
-
0%{ left: 10%; opacity: 1; }
+
  padding:5px 25px 5px 25px;
-
30%{ left: 15%;  opacity: 1; }
+
  font-size:30px;
-
100%{ left: -50%; opacity: 0; }
+
  font-weight:900;
-
}
+
  color:#006400;
-
@-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{
+
#footerbar {
-
0%{ left: 10%; opacity: 1; }
+
  height:15px;
-
30%{ left: 15%; opacity: 1; }
+
  width:115px;
-
100%{ left: -50%; opacity: 0; }
+
  background:transparant;
-
}
+
  margin-left:auto;
-
@-o-keyframes toLeftAnim2{
+
  margin-right:auto;
-
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{
+
.foot {
-
0%{ left: 10%; opacity: 1; }
+
  color:rgba(0,0,0,0.35);
-
30%{ left: 15%;  opacity: 1; }
+
  font-size: 8pt;
-
100%{ left: -50%; opacity: 0; }
+
  margin-top:-1px;
-
}
+
  margin-left:auto;
-
@-ms-keyframes toLeftAnim2{
+
  margin-right:auto;
-
0%{ left: 10%;  opacity: 1; }
+
  position:fixed;
-
30%{ left: 15%;  opacity: 1; }
+
  bottom:0px;
-
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{
+
.projectimage {
-
0%{ left: 10%;  opacity: 1; }
+
  position:relative;
-
30%{ left: 15%;  opacity: 1; }
+
  left:137px;
-
100%{ left: -50%; opacity: 0; }
+
  right:137px;
-
}
+
-
@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; }
+
-
}
+
-
@media only screen and (max-width: 1440px) and (min-width:1366px) {
+
-
.da-dots {
+
-
bottom: 55px;
+
-
}
+
-
.da-arrows span {
+
-
top: 43%;
+
-
}
+
-
}
+
-
@media only screen and (max-width: 1366px) and (min-width:1280px) {
+
-
.da-dots {
+
-
bottom: 55px;
+
-
}
+
-
.da-arrows span {
+
-
top: 43%;
+
-
}
+
-
}
+
-
@media only screen and (max-width: 1024px) and (min-width:768px) {
+
-
.da-dots {
+
-
width:100%
+
-
}
+
-
.da-slider {
+
-
height: 430px;
+
-
}
+
-
.da-slide .da-link {
+
-
margin-left: 30%;
+
-
}
+
-
}
+
-
@media only screen and (max-width: 768px) and (min-width:640px) {
+
-
.da-dots {
+
-
width:100%
+
-
}
+
-
.da-slider {
+
-
height:380px;
+
-
}
+
-
.da-slide .da-link {
+
-
margin-left: 28%;
+
-
}
+
-
.da-slide h2{
+
-
top:70px;
+
-
}
+
-
.da-slide p{
+
-
top: 139px;
+
-
}
+
-
.da-slide .da-link {
+
-
top: 220px;
+
-
}
+
-
}
+
-
@media only screen and (max-width: 640px) and (min-width:480px) {
+
-
.da-dots {
+
-
width:100%
+
-
}
+
-
.da-slider {
+
-
height:380px;
+
-
}
+
-
.da-slide .da-link {
+
-
margin-left: 28%;
+
-
}
+
-
.da-slide h2{
+
-
font-size: 2em;
+
-
top:70px;
+
-
}
+
-
.da-slide p{
+
-
top: 139px;
+
-
font-size:0.8725em;
+
-
}
+
-
.da-slide .da-link {
+
-
top: 220px;
+
-
}
+
-
}
+
-
@media only screen and (max-width: 480px) and (min-width:320px) {
+
-
.da-dots {
+
-
width:100%
+
-
}
+
-
.da-slider {
+
-
height: 300px;
+
-
}
+
-
.da-slide .da-link {
+
-
margin-left: 22%;
+
-
}
+
-
.da-slide h2{
+
-
font-size: 1.5em;
+
-
top: 35px;
+
-
}
+
-
.da-slide p{
+
-
top: 100px;
+
-
font-size:0.8125em;
+
-
}
+
-
.da-slide .da-link {
+
-
top:170px;
+
-
height:35px;
+
-
width:126px;
+
-
line-height:38px;
+
-
font-size:0.875em;
+
-
}
+
-
.da-arrows span {
+
-
top: 44%;
+
-
}
+
-
}
+
-
@media only screen and (max-width: 320px) and (min-width:240px) {
+
-
.da-dots {
+
-
width:100%
+
-
}
+
-
.da-slider {
+
-
height:280px;
+
-
}
+
-
.da-slide .da-link {
+
-
margin-left: 20%;
+
-
}
+
-
.da-slide h2{
+
-
top: 50px;
+
-
font-size: 1.1em;
+
-
}
+
-
.da-slide p{
+
-
top: 80px;
+
-
font-size:12px;
+
-
}
+
-
.da-slide .da-link {
+
-
top:170px;
+
-
height:30px;
+
-
width:120px;
+
-
line-height:33px;
+
-
font-size:0.875em;
+
-
}
+
-
.da-arrows span {
+
-
top: 44%;
+
-
}
+
}
}

Latest revision as of 00:13, 5 July 2014

/* Removing iGEM style */

  1. searchInput, #contentSub, #search-controls, .firstHeading, #footer-box, #catlinks, #p-logo {
  display: none;

}

  1. content {
  height: 200px;
  width: 100%;
  border: none;
  padding: 0px;

}


/* Customizing standard iGEM navigation panel */

  1. top-section{
  height: 18px;
  width: 100%;
  border: none;
  border-top: none;

}

  1. menubar {
  display: table-cell;
  height: 30px;
  font-size: 12pt;
  position: fixed;
  background:black;   

}

  1. menubar.left-menu {
  width: 100%;
  margin-left:-12px;

}

  1. menubar.right-menu {
  text-align: right;

}

  1. menubar.left-menu a {
  border: none;
  color: #454545;

}

  1. menubar.right-menu a {
  border: none;
  color: #454545;

}

  1. menubar * {
  background: transparent;

}

  1. menubar * a:hover{
  color: green;
  text-decoration: none;

}

  1. menubar > ul > li:last-child {
  display: none;

}


/* TU-Eindhoven Style */

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {

  display: none;

}

body {

  font-family: 'Noto Sans', sans-serif;
  background: #dfff9f;

}

ol, ul {

  list-style: none;

}

  1. navpanel {
  height:75px;
  width:975px;
  background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0, #000000),color-stop(0.25, #003200));
  background-image: -o-linear-gradient(bottom, #000000 0%, #003200 25%);
  background-image: -moz-linear-gradient(bottom, #000000 0%, #003200 25%);
  background-image: -webkit-linear-gradient(bottom, #000000 0%, #003200 25%);
  background-image: -ms-linear-gradient(bottom, #000000 0%, #003200 25%);
  background-image: linear-gradient(to bottom, #000000 0%, #003200 25%);   
  border-bottom-right-radius: 8px;
  border-bottom-left-radius: 8px;
  margin-left:auto;
  margin-right:auto;
  margin-top: 0pt;

}

  1. header {
  height: 200px;
  width: 100%;
  border-bottom: 2px solid black;
  background-image: url("http://sgugenetics.pbworks.com/f/E.COLI.jpg");

}

.menu1 {

  height:75px;
  width:200px;
  background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0, #000000),color-stop(0.25, #00C800));
  background-image: -o-linear-gradient(bottom, #000000 0%, #00C800 25%);
  background-image: -moz-linear-gradient(bottom, #000000 0%, #00C800 25%);
  background-image: -webkit-linear-gradient(bottom, #000000 0%, #00C800 25%);
  background-image: -ms-linear-gradient(bottom, #000000 0%, #00C800 25%);
  background-image: linear-gradient(to bottom, #000000 0%, #00C800 25%);
  float:left;
  transition:all .2s ease-in-out 0s;
  border-bottom-right-radius: 8px;
  border-bottom-left-radius: 8px;

}

.menu2 {

  height:75px;
  width:200px;
  background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0, #000000),color-stop(0.25, #009600));
  background-image: -o-linear-gradient(bottom, #000000 0%, #009600 25%);
  background-image: -moz-linear-gradient(bottom, #000000 0%, #009600 25%);
  background-image: -webkit-linear-gradient(bottom, #000000 0%, #009600 25%);
  background-image: -ms-linear-gradient(bottom, #000000 0%, #009600 25%);
  background-image: linear-gradient(to bottom, #000000 0%, #009600 25%);
  float:left;
  position:relative;
  left:-15px;
  transition:all .2s ease-in-out 0s;
  border-bottom-right-radius: 8px;
  border-bottom-left-radius: 8px;

}

.menu3 {

  height:75px;
  width:200px;
  background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0, #000000),color-stop(0.25, #006400));
  background-image: -o-linear-gradient(bottom, #000000 0%, #006400 25%);
  background-image: -moz-linear-gradient(bottom, #000000 0%, #006400 25%);
  background-image: -webkit-linear-gradient(bottom, #000000 0%, #006400 25%);
  background-image: -ms-linear-gradient(bottom, #000000 0%, #006400 25%);
  background-image: linear-gradient(to bottom, #000000 0%, #006400 25%);
  float:left;
  position:relative;
  left:-30px;
  transition:all .2s ease-in-out 0s;
  border-bottom-right-radius: 8px;
  border-bottom-left-radius: 8px;

}

.menu4 {

  height:75px;
  width:200px;
  background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0, #000000),color-stop(0.25, #003200));
  background-image: -o-linear-gradient(bottom, #000000 0%, #003200 25%);
  background-image: -moz-linear-gradient(bottom, #000000 0%, #003200 25%);
  background-image: -webkit-linear-gradient(bottom, #000000 0%, #003200 25%);
  background-image: -ms-linear-gradient(bottom, #000000 0%, #003200 25%);
  background-image: linear-gradient(to bottom, #000000 0%, #003200 25%);
  float:left;
  position:relative;
  left:-45px;
  transition:all .2s ease-in-out 0s;
  border-bottom-right-radius: 8px;
  border-bottom-left-radius: 8px;

}

a.p1 {

  font-size: 24px;
  font-weight:bold;
  color: rgba(255,255,255,.75);
  text-decoration:none;
  position:relative;
  top:30px;
  left:30px;

}

a.p2 {

  font-size:16px;
  color: rgba(255,255,255,.75);
  text-decoration:none;
  position:relative;
  top:60px;
  left:45px;

}

  1. icons {
  position:absolute;
  bottom:10px;
  left:10px;

}

.menu1:hover {

  width:300px;

}

.menu2:hover {

  width:300px;

}

.menu3:hover {

  width:300px;
  height:150px;
  background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0, #000000),color-stop(0.13, #006400));
  background-image: -o-linear-gradient(bottom, #000000 0%, #006400 13%);
  background-image: -moz-linear-gradient(bottom, #000000 0%, #006400 13%);
  background-image: -webkit-linear-gradient(bottom, #000000 0%, #006400 13%);
  background-image: -ms-linear-gradient(bottom, #000000 0%, #006400 13%);
  background-image: linear-gradient(to bottom, #000000 0%, #006400 13%);

}

.menu4:hover {

  width:300px;
  border-bottom-right-radius: 8px;

}

.menu1:hover .p1 {

  color: white;

}

.menu2:hover .p1 {

  color: white;

}

.menu3:hover a.p1 {

  color: white;

}

.menu4:hover a.p1 {

  color: white;

}

.menu3 ul {

  display:none;

}

.menu3:hover ul {

  display:inline;
  list-style:none;

}

.menu3 ul li a.p2:hover{

  color: white;

}

  1. textcontent {
  height:relative;
  width:975px;
  border-radius:10px;
  margin-left:auto;
  margin-right:auto;
  margin-top:50px;
  margin-bottom:75px;
  box-shadow:10px 10px 10px #888888;								
  background:rgba(255,255,255,1);

}

p.text {

  padding:0px 25px 25px 25px;
  text-align:justify;

}

p.title{

  padding:25px 25px 10px 25px;
  font-size:50px;
  font-weight:900;
  color:#003200;

}

p.subtitle{

  padding:5px 25px 5px 25px;
  font-size:30px;
  font-weight:900;
  color:#006400;

}

  1. footerbar {
  height:15px;
  width:115px;
  background:transparant;
  margin-left:auto;
  margin-right:auto;

}

.foot {

  color:rgba(0,0,0,0.35);
  font-size: 8pt;
  margin-top:-1px;
  margin-left:auto;
  margin-right:auto;
  position:fixed;
  bottom:0px;

}

.projectimage {

  position:relative;
  left:137px;
  right:137px;

}