Skip to content

Commit 255b8c0

Browse files
author
Błażej Pankowiak
committed
Set top margin only on the body element
1 parent 3f21593 commit 255b8c0

9 files changed

Lines changed: 4 additions & 22 deletions

File tree

app/assets/stylesheets/conversations.css.scss

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
.conversations_container {
2-
padding-top: 40px;
3-
42
.stream_element {
53
border-bottom: 1px solid $border-grey;
64
&:first-child {

app/assets/stylesheets/getting-started.css.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
}
1414

1515
.hero-unit {
16-
margin: 58px 42px;
16+
margin: 20px 42px;
1717
padding: 40px 80px;
1818
}
1919

app/assets/stylesheets/header.css.scss

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
border-bottom: none;
44
}
55

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

app/assets/stylesheets/new_styles/_base.scss

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ body {
55
}
66

77
body {
8+
margin-top: 40px;
89
padding : none;
910

1011
&.lock {
@@ -146,12 +147,6 @@ $bring-dark-accent-forward-color: #DDD;
146147
}
147148
}
148149

149-
/* padder helper to push content below the header, to be removed when porting to bootstrap is complete */
150-
.bootstrap_header_padding {
151-
padding-top: 40px;
152-
}
153-
154-
155150
#back-to-top {
156151
display: block;
157152
color: white;

app/assets/stylesheets/new_styles/_registration.scss

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44
min-height: 100%;
55
background-color : #afc652;
66
color: #fff;
7-
8-
.container { margin-top: 50px; }
97

108
#create-something-text {
119
font-family : Roboto-Light;

app/assets/stylesheets/notifications.css.scss

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
#notifications_container {
2-
padding-top: 50px;
3-
42
.nav.nav-tabs{
53
li > a {
64
color: $text-dark-grey;

app/assets/templates/help_tpl.jst.hbs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
2-
<div class="bootstrap_header_padding"></div>
3-
41
<div class="container">
52

63
<div id="section_header">
@@ -78,4 +75,4 @@
7875
<div class="span9 last" id=faq>
7976
</div>
8077
</div>
81-
</div>
78+
</div>

app/views/people/index.html.haml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@
99
= javascript_include_tag :people
1010
= javascript_include_tag 'contact-list'
1111

12-
.bootstrap_header_padding
13-
1412
.container-fluid#people_search
1513
.row-fluid
1614
.page-header

app/views/posts/show.html.haml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
= post_page_title @post
77

88
- content_for :content do
9-
#container
9+
#container.container-fluid

0 commit comments

Comments
 (0)