took sip section out of educators masthead, put between masthead and main content

This commit is contained in:
Ben Wheeler 2019-03-26 12:33:20 -04:00
parent 4f1f712083
commit 2c1fd34d20
2 changed files with 46 additions and 47 deletions

View file

@ -65,9 +65,10 @@ const Landing = props => (
</a>
</SubNavigation>
</div>
<div className="sub-band-feature-outer">
<div className="sub-band-feature-inner">
<SubNavigation className="inner">
</TitleBanner>
<div className="feature">
<div className="inner">
<section id="sip">
<FlexRow className="educators-using">
<div className="using-scratch-image">
@ -97,10 +98,9 @@ const Landing = props => (
</div>
</FlexRow>
</section>
</SubNavigation>
</div>
</div>
</TitleBanner>
<div className="inner">
<section id="resources">
<span className="nav-spacer" />

View file

@ -25,6 +25,7 @@ $story-width: $cols3;
&.masthead {
background-color: $teacher-spot;
padding-bottom: 0;
margin-bottom: 0;
h1 {
margin: 0;
@ -76,14 +77,12 @@ $story-width: $cols3;
}
}
.sub-band-feature-outer {
background-color: $ui-white;
.sub-band-feature-inner {
.feature {
background-color: $ui-blue-10percent;
}
margin-bottom: 2.75rem;
section#sip {
padding-top: .5rem;
margin-bottom: .5rem;
}
@ -161,8 +160,8 @@ $story-width: $cols3;
.nav-spacer { // For making the anchors work.
display: block;
visibility: hidden;
margin-top: -50px;
height: 50px;
margin-top: -2.5rem;
height: 2.5rem;
}
margin-bottom: 3rem;
@ -266,7 +265,7 @@ $story-width: $cols3;
}
.educators {
.sub-band-feature-outer {
.feature {
.educators-using {
max-width: 484px;
}
@ -325,7 +324,7 @@ $story-width: $cols3;
}
.educators {
.sub-band-feature-outer {
.feature {
.educators-using {
max-width: 484px;
}
@ -469,7 +468,7 @@ $story-width: $cols3;
}
}
.sub-band-feature-outer {
.feature {
.educators-using {
.using-scratch-image {
@ -546,7 +545,7 @@ $story-width: $cols3;
justify-content: space-between;
}
.sub-band-feature-outer {
.feature {
.sip-info {
padding-top: 2rem;