dont show footer on non centered pages

This commit is contained in:
Lisa Passing 2015-04-07 16:45:18 +02:00
parent 99d609cc23
commit ff601fb748
5 changed files with 13 additions and 6 deletions

View File

@ -25,7 +25,7 @@ footer
height: auto height: auto
@media (min-width: 640px) @media (min-width: 640px)
.wrapper .wrapper
padding-bottom: 204px padding-bottom: 244px //footer height plus some extra padding
footer footer
margin-top: -204px margin-top: -204px
@ -86,3 +86,6 @@ footer a:active
.status-circle.major .status-circle.major
background: #e74c3c background: #e74c3c
.wrapper:not(.centered) ~ footer
display: none

View File

@ -75,7 +75,7 @@ $sb-font-size: 14px
.icon--plus:after .icon--plus:after
color: $teal1 color: $teal1
&:after &:after
bottom: 0 bottom: -3px
@media (min-width: #{lower-bound($large-range)}) @media (min-width: #{lower-bound($large-range)})
ul ul

View File

@ -25,7 +25,7 @@
content: "" content: ""
position: absolute position: absolute
left: 0 left: 0
bottom: -0.25em bottom: -4px
width: 100% width: 100%
height: 2px height: 2px
background-color: $teal2 background-color: $teal2

View File

@ -17,6 +17,6 @@
</aside> </aside>
</div> </div>
{{!-- <footer> <footer>
{{render "footer"}} {{render "footer"}}
</footer> --}} </footer>

View File

@ -4,7 +4,7 @@
</div> </div>
</header> </header>
<div class="centered"> <div class="wrapper centered">
{{render "flash"}} {{render "flash"}}
<div id="main" class="main" role="main"> <div id="main" class="main" role="main">
{{yield}} {{yield}}
@ -12,3 +12,7 @@
{{outlet "left"}} {{outlet "left"}}
</div> </div>
</div> </div>
<footer>
{{render "footer"}}
</footer>