intro styles update

This commit is contained in:
Alex Wolfe 2015-04-22 07:06:59 -07:00
parent 45587fa0a9
commit 459ea70464
4 changed files with 6 additions and 14 deletions

View File

@ -1,2 +1,4 @@
.banner.is-centered
p.text-body !{banner}
content = banner ? banner : intro
.banner
p.text-body !{content}

View File

@ -1,7 +0,0 @@
.intro(style='\
background: #E6E7EC;\
padding: 40px;\
font-size: 22px;\
line-height: 32px;\
')
| #{ intro }

View File

@ -7,10 +7,7 @@ html(lang="en" ng-app="angularIOApp")
!= partial("../../../../_includes/_main-nav")
!= partial("../../../../_includes/_docs-nav")
!= partial("../../../../_includes/_hero")
if intro
!= partial("../../../../_includes/_intro")
if banner
if intro || banner
!= partial("../../../../_includes/_banner")
article.l-content-small.grid-fluid.docs-content(ng-non-bindable)

View File

@ -6,7 +6,7 @@
.banner {
background: $mist;
padding: $unit * 4;
padding: ($unit * 4) ($unit * 4) ($unit * 4) ($unit * 12);
min-height: $unit * 12;
@media handheld and (max-width: $phone-breakpoint),