Skip to content

Commit

Permalink
Added some footer styles and positioning.
Browse files Browse the repository at this point in the history
  • Loading branch information
mdb committed Apr 17, 2012
1 parent d1e93c1 commit b717185
Showing 1 changed file with 35 additions and 1 deletion.
36 changes: 35 additions & 1 deletion views/stylesheets/base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
}

body {
padding: 10px;
height: 100%;
padding: 10px 0;
background: $background_color;
font-family: $primary_font_family;
font-size: 16px;
Expand Down Expand Up @@ -60,6 +61,7 @@ header {
width: 960px;
margin: 0 auto;
overflow: visible;
padding-bottom: 40px;

form {
padding: 30px;
Expand Down Expand Up @@ -296,3 +298,35 @@ header {
}
}
}

footer {
overflow: hidden;
display: block;
position: absolute;
height: 40px;
font-size: 12px;
bottom: 0;
width: 100%;

&.has-search {
ul {
display: none; //temporary fix
}
}

ul {
border-top: 1px solid $border_color;
padding-top: 10px;
width: 960px;
margin: 0 auto;

li {
float: left;
margin-right: 5px;

a {
color: $text_color;
}
}
}
}

0 comments on commit b717185

Please sign in to comment.