Team:NCTU Formosa/source/head-index

From 2014.igem.org

(Difference between revisions)
 
(14 intermediate revisions not shown)
Line 9: Line 9:
}
}
.attach{
.attach{
-
position:fixed;
+
margin-left: 30%;
 +
position: relative;
 +
z-index: 2;
top:50%;
top:50%;
-
left:50%;
+
cursor:pointer;
}
}
Line 265: Line 267:
}
}
#description .wordbox {
#description .wordbox {
-
margin-top:100px;
+
top: -17%;
padding:30pt;
padding:30pt;
font-weight:300;
font-weight:300;
Line 273: Line 275:
text-align:justify;
text-align:justify;
text-justify:inter-word;
text-justify:inter-word;
-
   background-color: rgba(99, 99, 99, 0.2);
+
   background-color: rgba(156, 156, 156, 0.76);
     border-radius: 30px;
     border-radius: 30px;
-
     opacity: 0.94;
+
     opacity: 0;
float:left;
float:left;
-
color: rgba(246, 246, 246, 0.04);
+
color: white;
-
 
+
z-index: 1;
-
transition:All 0.6145s ease;
+
position: relative;
-
-webkit-transition:All 0.6145s ease;
+
box-shadow: 0px 0px 12px 7px #B7600B;
-
-moz-transition:All 0.6145s ease;
+
letter-spacing: 1px;
-
-o-transition:All 0.6145s ease;
+
-
transform: rotate(0deg) scale(0.500) skew(0deg) translate(-1px);
+
-
-webkit-transform: rotate(0deg) scale(0.500) skew(0deg) translate(-1px);
+
-
-moz-transform: rotate(0deg) scale(0.500) skew(0deg) translate(-1px);
+
-
-o-transform: rotate(0deg) scale(0.500) skew(0deg) translate(-1px);
+
-
-ms-transform: rotate(0deg) scale(0.500) skew(0deg) translate(-1px);
+
}
}
-
#description .wordbox:hover {
 
-
background-color: rgba(99, 99, 99, 1);
 
-
color:white;
 
-
box-shadow: 0px 0px 12px 7px rgba(221, 187, 70, 1);
 
-
transform: rotate(0deg) scale(0.821) skew(0deg) translate(-1px);
 
-
-webkit-transform: rotate(0deg) scale(0.821) skew(0deg) translate(-1px);
 
-
-moz-transform: rotate(0deg) scale(0.821) skew(0deg) translate(-1px);
 
-
-o-transform: rotate(0deg) scale(0.821) skew(0deg) translate(-1px);
 
-
-ms-transform: rotate(0deg) scale(0.821) skew(0deg) translate(-1px);
 
-
}
 
-
 
-
 
}
}
Line 662: Line 646:
   });
   });
});
});
 +
</script>
 +
 +
<script>
 +
$(document).ready(function(){
 +
  $(".attach").click(function(){
 +
    $(".wordbox").animate({
 +
      opacity:'1'
 +
 +
    });
 +
$(".attach").animate({
 +
      opacity:'0 '
 +
    });
 +
 +
  });
 +
});
 +
 +
</script>
</script>

Latest revision as of 03:55, 18 October 2014