Skip to content

Commit

Permalink
improve hero layout
Browse files Browse the repository at this point in the history
  • Loading branch information
₍˄ุ.͡˳̫.˄ุ₎ committed Oct 17, 2013
1 parent db7b76f commit 9ab3111
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 7 deletions.
19 changes: 12 additions & 7 deletions source/assets/css/components/_hero-image.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,23 @@

@include breakpoint($tablet-large) {
.hero-lockup {
@extend %clear-fix-tablet-large;
margin-top: -4em;
@extend %table-layout-tablet-large;
margin: {
top: -4em;
bottom: -4em;
}

.hero-image {
@include span(6);
@include padding-leader;
padding-right: 1em;
@extend %table-layout-cell-tablet-large;
padding: {
right: 2em;
bottom: 0;
}
}

.introduction {
@include span(6 omega);
@include padding-leader;
@extend %table-layout-cell-tablet-large;
padding: 0;
text-align: left;
}
}
Expand Down
2 changes: 2 additions & 0 deletions source/assets/css/foundation/_media.scss
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,5 @@ hr {
top: 1px solid $color-border;
}
}

svg:not(:root) { overflow: hidden; }

0 comments on commit 9ab3111

Please sign in to comment.