Difference between revisions of "Team:Shanghaitech"

Line 5: Line 5:
 
<head>
 
<head>
 
<style type="text/css">
 
<style type="text/css">
     #home-button{display:block; height: 210px;width: 225px;position: absolute;left: 50%;top: 100%;transform: translate(-50%,-30%);}
+
     #home-button{height: 210px;width: 225px;left: 50%;   margin-top: 60px;
 +
                display: inline-block;    position: relative;    left: 50%;   transform: translateX(-50%);}
 
     #home-button #home-button-bg{
 
     #home-button #home-button-bg{
 
         background: url("https://static.igem.org/mediawiki/2017/5/5f/T--Shanghaitech--Home-Homepage-botton-thick.png") no-repeat 50% 50%/contain;
 
         background: url("https://static.igem.org/mediawiki/2017/5/5f/T--Shanghaitech--Home-Homepage-botton-thick.png") no-repeat 50% 50%/contain;
Line 24: Line 25:
 
<div id="content-block" style="max-width:none;padding:0px">
 
<div id="content-block" style="max-width:none;padding:0px">
 
<div id="home-story-wrapper" style="position:relative;margin-bottom: 200px;">
 
<div id="home-story-wrapper" style="position:relative;margin-bottom: 200px;">
    <a href="https://2017.igem.org/Team:Shanghaitech/project" id="home-button"></a>
+
 
 
     <img src="https://static.igem.org/mediawiki/2017/0/0b/T--Shanghaitech--Home-Homepage-story.png" alt="homepage-story" style="width:100%;height:auto;max-height:none" height=3000 width=2388/>
 
     <img src="https://static.igem.org/mediawiki/2017/0/0b/T--Shanghaitech--Home-Homepage-story.png" alt="homepage-story" style="width:100%;height:auto;max-height:none" height=3000 width=2388/>
 
</div>
 
</div>
Line 31: Line 32:
 
<p style="text-align: center"><video height="600" src="https://static.igem.org/mediawiki/2017/1/10/T--Shanghaitech--Hardware--Project.mp4" controls style="max-width:100%" poster="https://static.igem.org/mediawiki/2017/thumb/e/e6/T--Shanghaitech--works363636hop1.jpg/800px-T--Shanghaitech--works363636hop1.jpg"></video>
 
<p style="text-align: center"><video height="600" src="https://static.igem.org/mediawiki/2017/1/10/T--Shanghaitech--Hardware--Project.mp4" controls style="max-width:100%" poster="https://static.igem.org/mediawiki/2017/thumb/e/e6/T--Shanghaitech--works363636hop1.jpg/800px-T--Shanghaitech--works363636hop1.jpg"></video>
 
</p>
 
</p>
 
+
<a href="https://2017.igem.org/Team:Shanghaitech/project" id="home-button"></a>
  
 
</div></div>
 
</div></div>

Revision as of 19:18, 1 November 2017

homepage-story