Skip to content

Commit

Permalink
added header and header styles
Browse files Browse the repository at this point in the history
  • Loading branch information
Maxnelson997 committed Mar 3, 2018
1 parent 885da78 commit 63a6f1a
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/components/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,14 @@ export default class App extends Component {
render() {
return (
<div>
<h1>Bottega Mad Libs</h1>
<div className="backgroundSkew">
<div className="madlib-heading">
<h1>Bottega Mad Libs</h1>
<div className="madlib-subheading">
Fill out the fields below and click the generate button<br/>to see the Mad Lib story.
</div>
</div>
</div>
</div>
);
}
Expand Down
34 changes: 34 additions & 0 deletions src/style/main.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
$bottegaGreen:#00CB79;
$clearBlue: #45B0E5;
$mainGray: #CFCFCF;
$darkGray: #444444;
$font-primary: 'Montserrat', sans-serif;

.backgroundSkew {
width: 100vw;
height: 700px;
background-color: $darkGray;
transform: skewY(-10deg);
margin-top: -17rem;
padding-top: 17rem;
border-bottom: 1rem solid $bottegaGreen;
}

.backgroundSkew > * {
transform: skewY(10deg);
}

.madlib-heading {
text-align: center;
margin: 20px;
padding-top: 46px;
color: white;
font-weight: 700;
font-family: $font-primary;
}

.madlib-subheading {
margin-bottom: 46px;
color: rgba(255,255,255,0.75);
font-size: 15px;
}

0 comments on commit 63a6f1a

Please sign in to comment.