Difference between revisions of "Template:BABS UNSW Australia Footer"
(47 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<html> | <html> | ||
+ | |||
<style> | <style> | ||
− | /* | + | /* Sticky footer styles |
+ | -------------------------------------------------- */ | ||
+ | html { | ||
+ | position: relative; | ||
+ | min-height: 100%; | ||
+ | } | ||
+ | body { | ||
+ | /* Margin bottom by footer height */ | ||
+ | margin-bottom: 140px; | ||
+ | } | ||
+ | .footer { | ||
+ | position: absolute; | ||
+ | bottom: 0; | ||
+ | width: 100%; | ||
+ | /* Set the fixed height of the footer here */ | ||
+ | height: 140px; | ||
+ | background-color: lightgray; | ||
+ | } | ||
− | + | .footer img { | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | max-height:100%; | |
− | + | } | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | .footer h1 { | |
− | + | ||
− | + | ||
− | + | text-align:center; | |
− | + | } | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | #globalWrapper { | |
− | + | ||
− | + | height:100%; | |
+ | |||
+ | } | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
</style> | </style> | ||
− | + | ||
− | + | <footer class="footer"> | |
− | + | <div class="container-fluid"> | |
− | + | <img src= "https://static.igem.org/mediawiki/2015/d/d5/BABS_UNSW_Australia_logo.png" style="max-height:130px;"> | |
− | + | <!--<img src="https://static.igem.org/mediawiki/2015/e/ee/BABS_UNSW_Australia_getfootred.png" style="max-height:130px;max- width:60%;margin-top:30px;" align="middle">--> | |
− | + | </div> | |
− | + | </footer> | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
</html> | </html> |
Latest revision as of 12:39, 17 September 2015