Difference between revisions of "Team:Hong Kong HKUST"

 
(231 intermediate revisions by 5 users not shown)
Line 1: Line 1:
 
 
<html>
 
<html>
<head>
 
  
 +
<head>
 +
<style>
 +
a#ustFruit {
 +
  position:absolute;
 +
  top: 352px;
 +
  left: 330px;
 +
}
 +
</style>
 
</head>
 
</head>
  
<style>
+
<script src="https://code.jquery.com/jquery-1.10.2.js"></script>
 +
<script>
  
 +
  if (screen.width <= 800) {
 +
    window.location = "https://2016.igem.org/Team:Hong_Kong_HKUST/moblie";
 +
  }
 +
document.getElementById("content").style.height = $(window).height() + "px";
 +
</script>
  
 +
 +
<body>
 +
 +
<div id="test" class="fixed-center">
 +
<h1 align="center" style="font-size:350%;height:60px;">Hong Kong HKUST</h1>
 +
<h2 align="center">Troika presents</h2>
 +
</div>
 +
 +
<div id="test1" style="display: none" class="fixed-centerforsecondtext" >
 +
  <h1 align="center" style="color:white;font-size:350%;height:125px;weight:600px;">The Genetic Tristable Switch</h1>
 +
</div>
 +
 +
<div id="test2blue" style="display: none" class="fixed-centertree" >
 +
  <img src="https://static.igem.org/mediawiki/2016/a/a7/T--Hong_Kong_HKUST--tree_blue.png"  style="width:450px;height:600px;">
 +
</div>
 +
<div id="test2green" style="display: none" class="fixed-centertree" >
 +
  <img src="https://static.igem.org/mediawiki/2016/c/cd/T--Hong_Kong_HKUST--tree_green.png"  style="width:450px;height:600px;">
 +
</div>
 +
<div id="test2red" style="display: none" class="fixed-centertree" >
 +
  <img src="https://static.igem.org/mediawiki/2016/6/67/T--Hong_Kong_HKUST--tree_red.png"  style="width:450px;height:600px;">
 +
</div>
 +
<div id="test2blueind" style="display: none" class="fixed-centertree" >
 +
  <img src="https://static.igem.org/mediawiki/2016/e/e1/T--Hong_Kong_HKUST--tree_blue_induce.png"  style="width:450px;height:600px;">
 +
</div>
 +
<div id="test2greenind" style="display: none" class="fixed-centertree" >
 +
  <img src="https://static.igem.org/mediawiki/2016/5/51/T--Hong_Kong_HKUST--tree_green_induce.png"  style="width:450px;height:600px;">
 +
</div>
 +
<div id="test2redind" style="display: none" class="fixed-centertree" >
 +
  <img src="https://static.igem.org/mediawiki/2016/a/a9/T--Hong_Kong_HKUST--tree_red_induce.png"  style="width:450px;height:600px;">
 +
</div>
 +
 +
<div id="Skip_purple"  class="fixed-leftskip" >
 +
  <a href="https://2016.igem.org/Team:Hong_Kong_HKUST/Home"><img src="https://static.igem.org/mediawiki/2016/5/5f/T--Hong_Kong_HKUST--skip_button.png"  style="width:90px;height:30px;"></a>
 +
</div>
 +
 +
 +
<div id="test3" style="display: none" class="fixed-left1" >
 +
  <h3>Derivation from synthetic networks like toggle switch and oscillators</h3>
 +
</div>
 +
 +
 +
<div id="test4" style="display: none" class="fixed-right1" >
 +
  <h3>A biological device that produces three distinct signals under specific transient induction</h3>
 +
</div>
 +
 +
<div id="test5" style="display: none" class="fixed-left2" >
 +
  <h3>With an application that may help treat free fungi and wounds</h3>
 +
</div>
 +
 +
<div id="test6" style="display: none" class="fixed-right2" >
 +
  <h3>Please click on our fruit and enjoy a tour through our wiki </h3>
 +
</div>
 +
 +
<div id="test7" style="display: none" class="fixed-leftddtree" >
 +
  <img src="https://static.igem.org/mediawiki/2016/6/67/T--Hong_Kong_HKUST--tree_red.png"  style="width:500px;height:650px;">
 +
  <a id="ustFruit" href="https://2016.igem.org/Team:Hong_Kong_HKUST/Home"><img src="https://static.igem.org/mediawiki/2016/e/e3/T--Hong_Kong_HKUST--fruit.png"  style="width:40px;height:50px;"></a>
 +
</div>
 +
 +
</div>
 +
 +
<style>
 +
#firstHeading, #top_title, #sideMenu {display:none;}
 
body{
 
body{
background-color: #99CC99;
+
background: #f0f0f0;
 
}
 
}
  
 
#content{
 
#content{
background-color: #99CC99;
+
position: fixed;
 +
background: url("https://static.igem.org/mediawiki/2016/d/de/T--Hong_Kong_HKUST--coverpage_background_forest.jpg");
 +
background-size: cover;
 +
margin: 0;
 +
width:100%;
 +
height:100%;
 +
opacity: 1;
 +
-webkit-transition: opacity 0.6s;
 +
-moz-transition: opacity 0.6s;
 +
-ms-transition: opacity 0.6s;
 +
-o-transition: opacity 0.6s;
 +
transition: opacity 0.6s;  
 
}
 
}
  
 
.fixed-center{
 
.fixed-center{
 
   
 
   
   width:400px;
+
   width:600px;
   height:200px;
+
   height:600px;
 
   position:fixed;
 
   position:fixed;
 
   top:40%;
 
   top:40%;
   left:35%;
+
   left: 50%;
 +
  margin-left: -300px;
 
   color: #FFFFFF;
 
   color: #FFFFFF;
 
}
 
}
Line 28: Line 114:
 
.fixed-centerforsecondtext{
 
.fixed-centerforsecondtext{
 
   
 
   
   width:400px;
+
   width:1000px;
   height:200px;
+
   height:600px;
 
   position:fixed;
 
   position:fixed;
 
   top:45%;
 
   top:45%;
   left:35%;
+
   left:50%;
 +
  margin-left: -500px;
 
   color: #FFFFFF;
 
   color: #FFFFFF;
 
}
 
}
Line 42: Line 129:
 
   position:fixed;
 
   position:fixed;
 
   top:10%;
 
   top:10%;
   left:33%;
+
   left: 50%;
 +
  margin-left: -230px;
 +
  color: #FFFFFF;
 +
}
 +
 
 +
.fixed-leftddtree{
 +
 +
  width:400px;
 +
  height:200px;
 +
  position:fixed;
 +
  top:5%;
 +
  left:5%;
 +
  color: #FFFFFF;
 +
}
 +
 
 +
.fixed-leftskip{
 +
 +
  width:600px;
 +
  height:600px;
 +
  position:fixed;
 +
  top: 7% ;
 +
  left: 116%;
 +
  margin-left: -365px;
 +
}
 +
 
 +
.fixed-centerlowfruit{
 +
 +
  width:300px;
 +
  height:200px;
 +
  position:fixed;
 +
  top:85%;
 +
  left:45%;
 +
}
 +
 
 +
.fixed-left1{
 +
 +
  width:300px;
 +
  height:200px;
 +
  position:fixed;
 +
  top:60%;
 +
  left:15%;
 +
  color: #FFFFFF;
 +
}
 +
 
 +
.fixed-left2{
 +
 +
  width:300px;
 +
  height:200px;
 +
  position:fixed;
 +
  top:65%;
 +
  left:7%;
 +
  color: #FFFFFF;
 +
}
 +
 
 +
.fixed-right1{
 +
 +
  width:300px;
 +
  height:200px;
 +
  position:fixed;
 +
  top:65%;
 +
  left:65%;
 +
  color: #FFFFFF;
 +
}
 +
 
 +
.fixed-right2{
 +
 +
  width:300px;
 +
  height:200px;
 +
  position:fixed;
 +
  top:55%;
 +
  left:68%;
 
   color: #FFFFFF;
 
   color: #FFFFFF;
 
}
 
}
  
 
#test h1 {
 
#test h1 {
     font-size: 250%;
+
     font-size: 350%;
 
     margin-top: 25px;
 
     margin-top: 25px;
 
     font-size: 21px;
 
     font-size: 21px;
Line 60: Line 217:
 
             animation: fadein 2s;
 
             animation: fadein 2s;
 
}
 
}
 
+
h3 {
 +
    font-size:25px;
 +
    word-spacing:4px;
 +
    line-height: 150% ;
 +
}
 
@keyframes fadein {
 
@keyframes fadein {
 
     from { opacity: 0; }
 
     from { opacity: 0; }
Line 92: Line 253:
  
 
#test h2 {
 
#test h2 {
     font-size: 200%;
+
     font-size: 300%;
 
     margin-top: 25px;
 
     margin-top: 25px;
 
     font-size: 21px;
 
     font-size: 21px;
Line 134: Line 295:
 
}
 
}
  
 +
#test h3 {
 +
    font-size: 250%;
 +
    margin-top: 25px;
 +
    font-size: 21px;
 +
    text-align: center;
 +
    color: white;
  
</style>
 
<script src="https://code.jquery.com/jquery-1.10.2.js"></script>
 
<body>
 
  
 +
    -webkit-animation: fadein 2s; /* Safari, Chrome and Opera > 12.1 */
 +
      -moz-animation: fadein 2s; /* Firefox < 16 */
 +
        -ms-animation: fadein 2s; /* Internet Explorer */
 +
        -o-animation: fadein 2s; /* Opera < 12.1 */
 +
            animation: fadein 2s;
 +
}
  
<div id="test" class="fixed-center" >
+
@keyframes fadein {
  <a href="https://2016.igem.org/Team:Hong_Kong_HKUST/The_Team"><h1 align="center">Hong Kong HKUST</h1></a>
+
    from { opacity: 0; }
   <a href="https://2016.igem.org/Team:Hong_Kong_HKUST/The_Team"><h2 align="center">Troika presents</h2></a>
+
    to   { opacity: 1; }
</div>
+
}
  
<div id="test1" class="fixed-centerforsecondtext" >
+
/* Firefox < 16 */
<a href="https://2016.igem.org/Team:Hong_Kong_HKUST/The_Team"><h1 align="center" style="color:white;">The Genetic Tristable Switch</h1></a>
+
@-moz-keyframes fadein {
</div>
+
    from { opacity: 0; }
 +
    to  { opacity: 1; }
 +
}
  
</div>
+
/* Safari, Chrome and Opera > 12.1 */
 +
@-webkit-keyframes fadein {
 +
    from { opacity: 0; }
 +
    to  { opacity: 1; }
 +
}
  
 +
/* Internet Explorer */
 +
@-ms-keyframes fadein {
 +
    from { opacity: 0; }
 +
    to  { opacity: 1; }
 +
}
  
<div id="test2" class="fixed-centertree" >
+
/* Opera < 12.1 */
  <img src="https://static.igem.org/mediawiki/2016/8/88/Sourcetree.png"  style="width:450px;height:600px;">
+
@-o-keyframes fadein {
</div>
+
    from { opacity: 0; }
 +
    to  { opacity: 1; }
 +
}
  
  
 +
</style>
  
<script>
+
<script type="text/javascript" src="https://2016.igem.org/Template:Hong_Kong_HKUST/TweenMax?action=raw&ctype=text/javascript"></script>
// setTimeout(function(){window.location.href='https://2016.igem.org/Team:Hong_Kong_HKUST/The_Team'},10000);
+
<script type="text/javascript" src="https://2016.igem.org/Template:Hong_Kong_HKUST/newcoverpageJS?action=raw&ctype=text/javascript"></script>
document.getElementById("firstHeading").style.display = "none";
+
document.getElementById("top_title").style.display = "none";
+
//document.getElementById("sideMenu").style.display = "none";
+
setTimeout(function(){document.getElementById("sideMenu").style.display = "none";}, 25);
+
document.getElementById("test1").style.color = "white";
+
  $( "#test1" ).hide();
+
  $( "#test2" ).hide();
+
  setTimeout(function(){$( "#test" ).fadeOut( 600 );},7000);
+
  setTimeout(function(){$( "#test1" ).fadeIn( 600 );},8000);
+
  setTimeout(function(){$( "#test1" ).fadeIn( 600 );},13000);
+
  setTimeout(function(){$( "#test2" ).fadeIn( 600 );},14000);
+
 
+
 
+
 
+
 
+
</script>
+
 
+
 
</body>
 
</body>
  
 
</html>
 
</html>

Latest revision as of 12:33, 19 October 2016

Hong Kong HKUST

Troika presents