Difference between revisions of "Team:Shanghaitech"

Line 5: Line 5:
  
 
<style type="text/css">
 
<style type="text/css">
     a#home-botton{height: 140px;width: 150px;position: absolute;left: 52%;top: 100%;transform: translate(-50%,-50%);}
+
     #home-botton{height: 140px;width: 150px;position: absolute;left: 52%;top: 100%;transform: translate(-50%,-50%);}
     #home-button #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;
 
         width: 224.5px;height: 133px;position: absolute;
 
         width: 224.5px;height: 133px;position: absolute;
 
     }
 
     }
     #home-button:hover #button-bg-active{
+
     #home-button:hover #home-button-bg{
 
         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;
 
         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;
 
     }
 
     }
Line 21: Line 21:
 
<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 id="home-botton" href="https://2017.igem.org/Team:Shanghaitech/project">
+
    <a href="" id="home-button"><div class="home-button-bg"></div></a>
    <div id="button-bg"></div>
+
    <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/>
</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/>
+
 
</div>
 
</div>
  

Revision as of 14:44, 1 November 2017