view app/assets/stylesheets/sticky-footer.css @ 345:0b3a5edd923d

coffee: application.
author edogawaconan <me@myconan.net>
date Thu, 03 Jul 2014 14:50:58 +0900
parents bd29f6af1f1c
children
line wrap: on
line source

/* Sticky footer styles
-------------------------------------------------- */

html,
body {
  height: 100%;
  /* The html and body elements cannot have any padding or margin. */
}

/* Wrapper for page content to push down footer */
#wrap {
  min-height: 100%;
  height: auto !important;
  height: 100%;
  /* Negative indent footer by its height */
  margin: 0 auto -60px;
  /* Pad bottom by footer height + 10 */
  padding: 0 0 70px;
}

/* Set the fixed height of the footer here */
#footer {
  height: 60px;
  background-color: #f5f5f5;
}


/* Custom page CSS
-------------------------------------------------- */
/* Not required for template or sticky footer method. */

.container .credit {
  margin: 20px 0;
}