Difference between revisions of "Template:BABS UNSW Australia Footer"

 
(49 intermediate revisions by 2 users not shown)
Line 2: Line 2:
  
 
<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;
 +
}
  
/* Layout */
+
.footer img {
html, body, #container { height: 100%; margin: 0; padding: 0; }
+
 
body > #container { height: auto; min-height: 100%; }
+
  max-height:100%;
#content { padding-bottom: 3em; }
+
}
#footer { clear: both; position: relative; z-index: 10; height: 3em; margin-top: -3em; }
+
 
 +
.footer h1 {
 +
 
 +
text-align:center;
 +
}
 +
 
 +
#globalWrapper {
 +
 
 +
height:100%;
 +
 
 +
}
  
/* Theme */
 
body { font: .75em/normal "Lucida Sans", "Lucida Grande", sans-serif; }
 
a, a:link, a:visited { color: #c6762f; text-decoration: underoline; }
 
a:hover, a:focus {  }
 
p { margin-bottom: 1em; }
 
#about { padding: 50px; }
 
#footer { background-color: black; color: white; font-size: 200%; text-align: center; line-height: 3em; }
 
  
 
</style>
 
</style>
<div id="footer">UNSW</div>
+
 
 +
<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