Team:Imperial College/Templates/Banner
From 2013.igem.org
(Difference between revisions)
(18 intermediate revisions not shown) | |||
Line 1: | Line 1: | ||
- | < | + | <html> |
+ | <style type="text/css"> | ||
+ | #imperial-banner { | ||
+ | position: relative; /* this is to allow positioning of elements within */ | ||
+ | text-align: right; | ||
+ | height: 100px; | ||
+ | margin: 0 15px 1em 15px; | ||
+ | line-height: 100px; | ||
+ | } | ||
- | + | #imperial-igem-banner { | |
- | + | position: absolute; | |
- | + | left: 0; | |
- | + | top: 0; | |
- | + | } | |
- | + | ||
- | + | #igem-logo, | |
- | + | #imperial-logo { | |
- | + | display: inline-block; | |
- | + | margin-left: 5px; | |
- | + | } | |
- | + | #imperial-igem-banner img, | |
- | + | #igem-logo img { | |
- | + | height: 100px; | |
- | + | } | |
- | + | ||
- | + | ||
- | + | #igem-logo img { | |
- | + | -webkit-transition: all 1s ease-in-out; | |
- | + | -moz-transition: all 1s ease-in-out; | |
- | + | -ms-transition: all 1s ease-in-out; | |
- | + | -o-transition: all 1s ease-in-out; | |
+ | transition: all 1s ease-in-out; | ||
+ | } | ||
- | <div id=" | + | #igem-logo img:hover { |
- | + | -webkit-transform: rotate(360deg); | |
- | + | -moz-transform: rotate(360deg); | |
- | + | -o-transform: rotate(360deg); | |
- | </div> | + | -ms-transform: rotate(360deg); |
+ | transform: rotate(360deg); | ||
+ | } | ||
+ | |||
+ | #imperial-logo img { | ||
+ | height: 50px; | ||
+ | } | ||
+ | |||
+ | #BackToTop, | ||
+ | #BackToTop:link, | ||
+ | #BackToTop:visited { | ||
+ | position: fixed; | ||
+ | bottom: 5px; | ||
+ | right: 5px; | ||
+ | text-decoration: none; | ||
+ | color: #36a9e1; | ||
+ | } | ||
+ | |||
+ | #BackToTop:hover { | ||
+ | color: #a3c4e9; | ||
+ | } | ||
+ | #Sitemap { | ||
+ | position:fixed; | ||
+ | bottom:5px; | ||
+ | left:5px; | ||
+ | } | ||
+ | </style> | ||
+ | <a name="top"></a> | ||
+ | |||
+ | <div id="imperial-banner"> | ||
+ | <a id='imperial-igem-banner' href='https://2013.igem.org/Team:Imperial_College'> | ||
+ | <img src="https://static.igem.org/mediawiki/2013/d/d9/ImperialLogo2013.png" /> | ||
+ | </a> | ||
+ | |||
+ | <a id='igem-logo' href='https://2013.igem.org/Main_Page' target="_blank"> | ||
+ | <img src='https://static.igem.org/mediawiki/2011/b/be/ICL_iGEM_Logo.png' /> | ||
+ | </a> | ||
+ | |||
+ | <a id='imperial-logo' href='http://www3.imperial.ac.uk/' target="_blank"> | ||
+ | <img src='https://static.igem.org/mediawiki/2011/1/19/ImperialLogo.png' /> | ||
+ | </div> | ||
+ | |||
+ | <a class="" href="#top" id="BackToTop"><i class="icon-chevron-sign-up icon-3x"></i></a> | ||
+ | |||
+ | <div id="Sitemap"> | ||
+ | <a href="https://2013.igem.org/Team:Imperial_College/Sitemap"> | ||
+ | <img src="https://static.igem.org/mediawiki/2013/8/84/ICL_SitemapBtn13.png" width="80px" /> | ||
+ | </a> | ||
+ | </div> | ||
+ | </html> |