Wweeiiyyiinn (Talk | contribs) |
Wweeiiyyiinn (Talk | contribs) |
||
Line 6: | Line 6: | ||
<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%);} | a#home-botton{height: 140px;width: 150px;position: absolute;left: 52%;top: 100%;transform: translate(-50%,-50%);} | ||
− | #button-bg | + | #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; | ||
} | } | ||
− | #button-bg | + | #home-button:hover #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 | + | 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;left: -63px;top: -46px; |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
} | } | ||
Line 27: | Line 22: | ||
<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 id="home-botton" href="https://2017.igem.org/Team:Shanghaitech/project"> | ||
− | <div id="button-bg | + | <div id="button-bg"></div> |
− | + | ||
</a> | </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/> |
Revision as of 14:33, 1 November 2017