Difference between revisions of "Team:Shanghaitech"

Line 3: Line 3:
 
{{Shanghaitech/js}}
 
{{Shanghaitech/js}}
 
<html lang="en">
 
<html lang="en">
 +
 +
<style type="text/css">
 +
    a#home-botton{height: 120px;width: 150px;position: absolute;left: 52%;top: 100%;transform: translateX(-50%);}
 +
    #button-bg-inactive{
 +
        background: url(https://static.igem.org/mediawiki/2017/5/5f/T--Shanghaitech--Home-Homepage-botton-thick.png) no-repeat 50% 50%/contain;
 +
        width: 224.5px;height: 133px;position: absolute;
 +
    }
 +
    #button-bg-active{
 +
        background: url(https://static.igem.org/mediawiki/2017/7/7e/T--Shanghaitech--Home-Homepage-button-flat.png) no-repeat 50% 50%/contain;height: 197px;width: 283px;position: absolute;left: -63px;top: -46px;display: none;
 +
    }
 +
    a#home-button:hover #button-bg-active{display: block;}
 +
    a#home-button:hover #button-bg-inactive{display: none;}
 +
 +
</style>
  
 
<body>
 
<body>
Line 8: Line 22:
 
<div id="main-content-wrapper" style="max-width:none;padding-top:100px">
 
<div id="main-content-wrapper" style="max-width:none;padding-top:100px">
 
<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">
+
<div id="home-story-wrapper" style="position:relative;margin-bottom: 200px;">
<div style="height: 120px;width: 150px;position: absolute;background:rgba(0,0,0,0.5);left: 47.3%;top: 81.7%;transform: translate(-50%,-50%);"></div>
+
<a id="home-botton" href="https://2017.igem.org/Team:Shanghaitech/project">
 +
    <div id="#button-bg-inactive"></div>
 +
    <div id="#button-bg-active"></div>
 +
</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 22: Line 39:
  
 
</body>
 
</body>
 
+
 
 
</html>
 
</html>

Revision as of 14:07, 1 November 2017