Set top margin only on the body element

This commit is contained in:
Błażej Pankowiak 2014-08-07 00:15:17 +02:00
parent 3f21593111
commit 255b8c02a2
9 changed files with 4 additions and 22 deletions

View file

@ -1,6 +1,4 @@
.conversations_container {
padding-top: 40px;
.stream_element {
border-bottom: 1px solid $border-grey;
&:first-child {

View file

@ -13,7 +13,7 @@
}
.hero-unit {
margin: 58px 42px;
margin: 20px 42px;
padding: 40px 80px;
}

View file

@ -3,8 +3,6 @@
border-bottom: none;
}
body > #container { margin-top: 50px; } /* to avoid being hidden under the header in the SPV */
body > header {
@include box-shadow(0,1px,3px,rgba(0,0,0,0.9));
background: url('header-bg.png') rgb(40,35,35);

View file

@ -5,6 +5,7 @@ body {
}
body {
margin-top: 40px;
padding : none;
&.lock {
@ -146,12 +147,6 @@ $bring-dark-accent-forward-color: #DDD;
}
}
/* padder helper to push content below the header, to be removed when porting to bootstrap is complete */
.bootstrap_header_padding {
padding-top: 40px;
}
#back-to-top {
display: block;
color: white;

View file

@ -4,8 +4,6 @@
min-height: 100%;
background-color : #afc652;
color: #fff;
.container { margin-top: 50px; }
#create-something-text {
font-family : Roboto-Light;

View file

@ -1,6 +1,4 @@
#notifications_container {
padding-top: 50px;
.nav.nav-tabs{
li > a {
color: $text-dark-grey;

View file

@ -1,6 +1,3 @@
<div class="bootstrap_header_padding"></div>
<div class="container">
<div id="section_header">
@ -78,4 +75,4 @@
<div class="span9 last" id=faq>
</div>
</div>
</div>
</div>

View file

@ -9,8 +9,6 @@
= javascript_include_tag :people
= javascript_include_tag 'contact-list'
.bootstrap_header_padding
.container-fluid#people_search
.row-fluid
.page-header

View file

@ -6,4 +6,4 @@
= post_page_title @post
- content_for :content do
#container
#container.container-fluid