-
-
Save anonymous/4334e36e2713c07fe1fd6e7f1ad12272 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
html, body { | |
margin: 0; | |
} | |
h1, h2, a { | |
font-family: 'Oswald', sans-serif; | |
} | |
p { | |
font-family: Helvetica, Arial, sans-serif; | |
} | |
.container { | |
width: 940px; | |
margin: 0 auto; | |
} | |
/* Main */ | |
.main { | |
height: 600px; | |
background: url(https://s3.amazonaws.com/codecademy-content/projects/move/bg.jpg); | |
} | |
.main h1 { | |
font-size: 150px; | |
color: white; | |
text-align: center; | |
} | |
.main p { | |
font-size: 18px; | |
color: white; | |
text-transform: uppercase; | |
font-size: 15px; | |
text-align: center; | |
} | |
.main .btn { | |
background-color: black; | |
color: white; | |
padding: 10px; | |
margin: 0px 0px 0px 500px; | |
} | |
/* Supporting */ | |
.supporting { | |
text-align: center; | |
padding: 50px 0 80px; | |
background-color: #1c1c1c; | |
} | |
.supporting .col { | |
float: left; | |
width: 28%; | |
padding: 10px; | |
display: inline-block; | |
} | |
.supporting h1, | |
.supporting h2 { | |
color: #ffa800; | |
font-size: 20px; | |
margin-bottom: 10px; | |
} | |
.clearfix { | |
clear: both; | |
} | |
.supporting p { | |
color: #efefef; | |
margin-bottom: 20px; | |
line-height: 20px; | |
font-size: 12px; | |
} | |
.supporting .btn { | |
background-color: #eee; | |
color: #1c1c1c; | |
font-size: 18px; | |
padding: 8px 30px; | |
text-decoration: none; | |
display: inline-block; | |
} | |
/* Feature */ | |
.feature { | |
height: 600px; | |
} | |
.feature h1, | |
.feature h2 { | |
color: #fff; | |
font-size: 40px; | |
margin: 0; | |
padding:50px 0 0; | |
} | |
/* Footer */ | |
.footer { | |
height: 600px; | |
} | |
.footer h1, | |
.footer h2 { | |
color: #fff; | |
font-size: 40px; | |
margin: 0 0 20px 0; | |
padding:50px 0 0; | |
} | |
.footer p { | |
color: #fff; | |
margin: 0 0 20px 0; | |
font-size: 18px; | |
} | |
@media (min-width:600px) { | |
.main h1 { | |
font-size: 200px; | |
} | |
.supporting .col { | |
width: 30%; | |
} | |
.supporting h2 { | |
font-size: 40px; | |
} | |
.supporting p { | |
font-size: 14px; | |
} | |
.feature h2 { | |
font-size: 60px; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment