intro styles update
This commit is contained in:
parent
45587fa0a9
commit
459ea70464
|
@ -1,2 +1,4 @@
|
|||
.banner.is-centered
|
||||
p.text-body !{banner}
|
||||
content = banner ? banner : intro
|
||||
|
||||
.banner
|
||||
p.text-body !{content}
|
|
@ -1,7 +0,0 @@
|
|||
.intro(style='\
|
||||
background: #E6E7EC;\
|
||||
padding: 40px;\
|
||||
font-size: 22px;\
|
||||
line-height: 32px;\
|
||||
')
|
||||
| #{ intro }
|
|
@ -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)
|
||||
|
|
|
@ -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),
|
||||
|
|
Loading…
Reference in New Issue