Skip to content

Commit

Permalink
remove Gender Balance code and assets
Browse files Browse the repository at this point in the history
  • Loading branch information
wrightmartin committed Apr 3, 2018
1 parent cadee0f commit 691ac99
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 53 deletions.
Binary file removed public/images/screencast.gif
Binary file not shown.
53 changes: 0 additions & 53 deletions views/sass/_custom.scss
Original file line number Diff line number Diff line change
Expand Up @@ -190,59 +190,6 @@
}
}

// My kingdom for a parent selector in CSS!
// Add some extra margin above the promo section because the screencast
// sticks out and it feels a bit tight against the previous section.
.page-section--gender-balance-promo {
@media (min-width: $medium_screen) {
margin-top: 2em;
padding: 3em 0;
}

}

.gender-balance-promo {
@media (min-width: $medium_screen) {
position: relative; // positioning context for the demo gif
padding-left: 340px; // make space for the demo gif
max-width: 44em; // avoid silly long lines
margin: 0 auto; // centred when the window is wide
}

p {
margin-bottom: 0; // avoid extra space after last paragraph
}

p + p {
margin-top: 1em;
}
}

.gender-balance-promo__demo {
display: block; // because it's actually an <a> element
position: relative;
bottom: -2em; // counteract padding-bottom on .page-section

@media (min-width: $medium_screen) {
position: absolute;
left: 0;
bottom: -3em;
}
}

.screenshot-wrapper {
background: transparent url(/images/iphone.png) 0 0 no-repeat;
padding: 70px 24px 0 24px;
margin: 0 auto;
width: 280px;

img {
width: 232px;
height: 330px;
vertical-align: bottom;
}
}

.url-demo-box {
border:1px solid #ccc;
padding:1em;
Expand Down

0 comments on commit 691ac99

Please sign in to comment.