Css: add border on header and footer
Remove headers border on homepage
This commit is contained in:
parent
d447148fca
commit
5d915ada88
4 changed files with 7 additions and 1 deletions
|
@ -3,6 +3,7 @@ $light-blue: rgba(61, 149, 236, 0.8);
|
|||
$black: #333333;
|
||||
$grey: #999999;
|
||||
$light-grey: #F8F8F8;
|
||||
$border-grey: #CCCCCC;
|
||||
$dark-red: #A94442;
|
||||
$light-red: #EBCCD1;
|
||||
$lighter-red: #F2DEDE;
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
.footer {
|
||||
@include vertical-padding(72px);
|
||||
background-color: $light-grey;
|
||||
border-top: 1px solid $border-grey;
|
||||
}
|
||||
|
||||
.footer-inner-content {
|
||||
|
|
|
@ -8,6 +8,10 @@
|
|||
background-color: #FFFFFF;
|
||||
}
|
||||
|
||||
.new-header-with-border {
|
||||
border-bottom: 1px solid $border-grey;
|
||||
}
|
||||
|
||||
.header-inner-content {
|
||||
width: $page-width;
|
||||
margin: 0 auto;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
.new-header
|
||||
.new-header{ class: current_page?(root_path) ? nil : 'new-header-with-border' }
|
||||
.header-inner-content
|
||||
%img.header-logo.pull-left{ src: image_url("header/logo-tps.svg") }
|
||||
|
||||
|
|
Loading…
Reference in a new issue