Commit b977901a by Reda Lemeden

Made the header and footer wrappers fixed width

parent 6d3e6827
// Original styles // Original styles
/*body { // body {
background: #FFF; // background: #FFF;
font-size: 14px; // font-size: 14px;
line-height: 150%; // line-height: 150%;
margin: 0; // margin: 0;
padding: 0; // padding: 0;
color: #000; // color: #000;
font-family: Arial; }*/ // font-family: Arial; }
// div { // div {
// margin: 0 auto; // margin: 0 auto;
...@@ -2146,16 +2146,16 @@ ins { ...@@ -2146,16 +2146,16 @@ ins {
text-decoration: underline; text-decoration: underline;
font-weight: bold; } } font-weight: bold; } }
#ground { // #ground {
width: 100%; // width: 100%;
clear: both; // clear: both;
border-top: 1px solid #000; // border-top: 1px solid #000;
padding: 6px 0 0 0; // padding: 6px 0 0 0;
background: #16160f; // background: #16160f;
font-size: 16px; // font-size: 16px;
font-family: 'Yanone Kaffeesatz',sans-serif; // font-family: 'Yanone Kaffeesatz',sans-serif;
p { // p {
margin-bottom: 0; } } // margin-bottom: 0; } }
.footer-links { .footer-links {
color: #EEE; color: #EEE;
......
.secondary-nav { body.askbot {
@extend .topbar; .secondary-nav {
margin: 0; margin: 0;
padding: 15px 0;
nav { nav {
@extend .clearfix; @extend .clearfix;
@extend .topbar;
@extend .wrapper; @extend .wrapper;
@include box-sizing(border-box); @include box-sizing(border-box);
padding: 0 $body-line-height; border: 1px solid darken(#F6EFD4, 10%);
border-top: 0;
margin: 0 auto;
padding: $body-line-height;
div { div {
float: left; float: left;
...@@ -54,9 +57,9 @@ ...@@ -54,9 +57,9 @@
} }
} }
} }
.content-wrapper { .content-wrapper {
@extend .clearfix; @extend .clearfix;
@extend .wrapper; @extend .wrapper;
@include box-shadow(0 1px 0 #fff); @include box-shadow(0 1px 0 #fff);
...@@ -96,13 +99,20 @@ ...@@ -96,13 +99,20 @@
margin-top: 10px; margin-top: 10px;
} }
} }
} }
footer {
margin: 0 auto;
padding: 0;
.footer-wrapper { .footer-wrapper {
@extend .clearfix; @extend .clearfix;
@extend .wrapper; @extend .wrapper;
@include box-shadow(0 1px 0 #fff); @include box-shadow(0 1px 0 #fff);
@include box-sizing(border-box); @include box-sizing(border-box);
background-color: #000;
border-top: 0; border-top: 0;
padding: 0 $gw-gutter/2; padding: $gw-gutter/2;
}
}
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment