Updated footer

This commit is contained in:
Sahat Yalkabov
2014-03-07 14:02:38 -05:00
parent 3207dbc9a4
commit d6020beebb
5 changed files with 21 additions and 33 deletions

View File

@ -20,14 +20,17 @@ body {
height: auto !important; height: auto !important;
height: 100%; height: 100%;
/* Negative indent footer by its height */ /* Negative indent footer by its height */
margin: 0 auto -110px; margin: 0 auto -100px;
/* Pad bottom by footer height + (optional) extra spacing */ /* Pad bottom by footer height + (optional) extra spacing */
padding: 0 0 140px; padding: 0 0 140px;
} }
#footer { #footer {
height: 110px; font-size: 12px;
padding-top: 15px; padding-top: 40px;
padding-bottom: 40px;
height: 100px;
border-top: 1px solid #eee;
} }
// Navbar // Navbar

View File

@ -1,3 +1,5 @@
@import url(http://fonts.googleapis.com/css?family=Open+Sans:400italic,400,600,300,700,800);
// Brand Colors // Brand Colors
// ------------------------- // -------------------------
@ -79,11 +81,3 @@
.navbar-default .navbar-nav > li a { .navbar-default .navbar-nav > li a {
transition: color 0.3s; transition: color 0.3s;
} }
// Footer
// -------------------------
#footer {
background-color: @navbar-default-bg;
border-top: 1px solid @navbar-default-border;
}

View File

@ -2,12 +2,6 @@
// Variables // Variables
// -------------------------------------------------- // --------------------------------------------------
#footer {
color: #fff;
background-color: @navbar-default-bg;
border-top: 1px solid @navbar-default-border;
}
//== Colors //== Colors
// //
//## Gray and brand colors for use across Bootstrap. //## Gray and brand colors for use across Bootstrap.

View File

@ -15,4 +15,5 @@ html
.container .container
include partials/flash include partials/flash
block content block content
.container
include partials/footer include partials/footer

View File

@ -1,17 +1,13 @@
#footer #footer
.container.text-center ul.list-inline.pull-left
div li © 2014 Company, Inc.
| © 2014 Company, Inc. li
div a(href='#') Terms of Use
strong Hackathon Starter li
| Project a(href='#') Privacy Policy
| · li
| Created by
a(href='http://sahatyalkabov.com') Sahat Yalkabov
div
| Code licensed under
a(href='http://opensource.org/licenses/mit-license.html') MIT License
div
a(href='https://github.com/sahat/hackathon-starter') GitHub Project a(href='https://github.com/sahat/hackathon-starter') GitHub Project
| · li
a(href='https://github.com/sahat/hackathon-starter/issues') Issues a(href='https://github.com/sahat/hackathon-starter/issues') Issues
ul.list-inline.pull-right