Difference between revisions of "Team:Hong Kong HKUST/mobile"

 
(33 intermediate revisions by 2 users not shown)
Line 12: Line 12:
 
<body>
 
<body>
  
<h1>Responsive Web Design Demo</h1>
 
  
<div class="city">
+
<div id="test" class="fixed-center">
   <h2>London</h2>
+
   <h1 align="center" style="font-size:500%;height:60px;;word-spacing:5px;line-height:50%">Hong Kong HKUST</h1>
   <p>London is the capital city of England.</p>
+
   <h2 align="center" style="font-size:450%;height:60px;">Troika presents</h2>
  <p>It is the most populous city in the United Kingdom, with a metropolitan area of over 13 million inhabitants.</p>
+
 
</div>
 
</div>
  
<div class="city">
+
<div id="test1" style="display: none" class="fixed-centerforsecondtext" >
  <h2>Paris</h2>
+
<h1 align="center" style="color:white;font-size:500%;height:125px;weight:600px;">The Genetic Tristable Switch</h1>
  <p>Paris is the capital of France.</p>
+
  <p>The Paris area is one of the largest population centers in Europe, with more than 12 million inhabitants.</p>
+
 
</div>
 
</div>
  
<div class="city">
+
<div id="test2" style="display: none" class="fixed-centertree" >
   <h2>Tokyo</h2>
+
   <a href="https://2016.igem.org/Team:Hong_Kong_HKUST/The_Team"><img src="https://static.igem.org/mediawiki/2016/8/88/Sourcetree.png"  style="width:700px;height:900px;"></a>
  <p>Tokyo is the capital of Japan.</p>
+
  <p>It is the center of the Greater Tokyo Area,  and the most populous metropolitan area in the world.</p>
+
 
</div>
 
</div>
  
<div class="city">
+
<div id="test3" style="display: none" class="fixed-forthirdtext" >
  <h2>New York</h2>
+
<h1 align="center" style="color:white;font-size:250%;height:125px;weight:600px;word-spacing:5px;line-height:100%">Please click on our tree and enjoy a tour through our wiki </h1>
  <p>The City of New York is the most populous city in the United States.</p>
+
  <p>New York is an important center for international diplomacy and has been described as the cultural and financial capital of the world.</p>
+
 
</div>
 
</div>
 +
 +
 +
 +
  
 
<style>
 
<style>
Line 46: Line 42:
 
background-color: #99CC99;
 
background-color: #99CC99;
 
}
 
}
 +
 +
.fixed-center{
 +
 +
  width:600px;
 +
  height:600px;
 +
  position:fixed;
 +
  top:40%;
 +
  left: 50%;
 +
  margin-left: -300px;
 +
  color: #FFFFFF;
 +
}
 +
 +
.fixed-centerforsecondtext{
 +
 +
  width:1000px;
 +
  height:600px;
 +
  position:fixed;
 +
  top:45%;
 +
  left:50%;
 +
  margin-left: -500px;
 +
  color: #FFFFFF;
 +
}
 +
 +
.fixed-centertree{
 +
 +
  width:400px;
 +
  height:200px;
 +
  position:fixed;
 +
  top:10%;
 +
  left: 50%;
 +
  margin-left: -350px;
 +
  color: #FFFFFF;
 +
}
 +
 +
.fixed-forthirdtext{
 +
 
 +
  width:400px;
 +
  height:200px;
 +
  position:fixed;
 +
  top:70%;
 +
  left:64%;
 +
  margin-left:-350px;
 +
 
 +
 +
}
 +
 
#test h1 {
 
#test h1 {
 
     font-size: 350%;
 
     font-size: 350%;
Line 135: Line 177:
  
 
</style>
 
</style>
 +
 +
<script>
 +
  setTimeout(function(){window.location.href='https://2016.igem.org/Team:Hong_Kong_HKUST/The_Team'},1000000);
 +
 +
  setTimeout(function(){$( "#test" ).fadeOut( 600 );},3000);;
 +
  setTimeout(function(){$( "#test1" ).fadeIn( 600 );},3500);
 +
  setTimeout(function(){$( "#test1" ).fadeOut( 600 );},6500);
 +
  setTimeout(function(){$( "#test2" ).fadeIn( 600 );},7000);
 +
  setTimeout(function(){$( "#test3" ).fadeIn( 600 );},7000);
 +
 
 +
</script>
 
</body>
 
</body>
 
</html>
 
</html>

Latest revision as of 12:03, 2 December 2016

Hong Kong HKUST

Troika presents