Mercurial > zeropaste
comparison app/assets/stylesheets/sticky-footer.css @ 259:5d084a9716ca
Update basic layout and css.
author | edogawaconan <me@myconan.net> |
---|---|
date | Tue, 15 Oct 2013 21:51:57 +0900 |
parents | |
children | bd29f6af1f1c |
comparison
equal
deleted
inserted
replaced
258:ceb44fca8b4a | 259:5d084a9716ca |
---|---|
1 /* Sticky footer styles | |
2 -------------------------------------------------- */ | |
3 | |
4 html, | |
5 body { | |
6 height: 100%; | |
7 /* The html and body elements cannot have any padding or margin. */ | |
8 } | |
9 | |
10 /* Wrapper for page content to push down footer */ | |
11 #wrap { | |
12 min-height: 100%; | |
13 height: auto !important; | |
14 height: 100%; | |
15 /* Negative indent footer by its height */ | |
16 margin: 0 auto -60px; | |
17 /* Pad bottom by footer height */ | |
18 padding: 0 0 60px; | |
19 } | |
20 | |
21 /* Set the fixed height of the footer here */ | |
22 #footer { | |
23 height: 60px; | |
24 background-color: #f5f5f5; | |
25 } | |
26 | |
27 | |
28 /* Custom page CSS | |
29 -------------------------------------------------- */ | |
30 /* Not required for template or sticky footer method. */ | |
31 | |
32 .container .credit { | |
33 margin: 20px 0; | |
34 } |