/* * This is a manifest file that'll be compiled into application.css, which will include all the files * listed below. * * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets, * or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative path. * * You're free to add application-wide styles to this file and they'll appear at the bottom of the * compiled file so the styles you add here take precedence over styles defined in any styles * defined in the other CSS/SCSS files in this directory. It is generally better to create a new * file per style scope. * *= require flash_messages */ @import "bootstrap-sprockets"; @import "spacelab/_variables"; @import "bootstrap"; @import "spacelab/_bootswatch"; @import "recipes"; $footer_height: 40px; html { position: relative; min-height: 100%; } body { /* Margin bottom by footer height */ margin-bottom: $footer_height; } .footer { position: absolute; bottom: 0; width: 100%; height: $footer_height; background-color: #f5f5f5; }