Skip to content

Instantly share code, notes, and snippets.

@codecademydev
Created January 23, 2016 04:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save codecademydev/fb0eb76c7b5d4db1610b to your computer and use it in GitHub Desktop.
Save codecademydev/fb0eb76c7b5d4db1610b to your computer and use it in GitHub Desktop.
Codecademy export
<!DOCTYPE html>
<html>
<head>
<link href='https://fonts.googleapis.com/css?family=Roboto:400,300,500,100' rel='stylesheet' type='text/css'>
<link rel='stylesheet' href='style.css'/>
</head>
<body>
<div class="header">
<div class="container">
<h1>Innovation Cloud</h1>
<p>Connect your ideas globally</p>
<a href="#" class="btn">Learn More</a>
</div>
</div>
<div class="nav">
<div class="container">
<ul>
<a href="#" class="nav-btn"><li>Register</li></a>
<a href="#" class="nav-btn"><li>Schedule</li></a>
<a href="#" class="nav-btn"><li>Sponsers</li></a>
<a href="#" class="nav-btn"><li>About</li></a>
<a href="#" class="nav-btn"><li>Contact</li></a>
</ul>
</div>
</div>
<div class="main">
<div class="container">
<img src="https://s3.amazonaws.com/codecademy-content/projects/innovation-cloud/cloud.svg" width= "200px" height= "200px"/>
</div>
</div>
<div>
<div class="right">
<h2>The Innovation Cloud Conference</h2>
<p>Connect with the best minds across a wide range of industries to share ideas and brainstorm new solutions to challenging problems.</p>
<p>Hear industry leaders talk about what worked (and what didn't) so that you can save time on your most challenging projects.</p>
<p>Learn about the latest research and technologies that you can use immediately to invent the future.</p>
</div>
</div>
<div class="jumbotron">
<h1> Stay Connected </h1>
<p> Recieve weekly insights from indutry leaders </p>
<a href="#" class="btn-jumbotron"> Join </a>
</div>
<div class="footer">
<p>Innovation Cloud Conference</p>
</div>
</body>
</html>
html, body {
margin: 0;
padding: 0;
}
body {
font-family: 'Roboto', sans-serif;
font-weight: 100;
}
.container {
margin: 0 auto;
max-width: 940px;
padding: 0 10px;
}
/* Header */
.header {
height: 800px;
text-align: center;
background: url(https://s3.amazonaws.com/codecademy-content/projects/innovation-cloud/bg.jpg);
color: white;
}
.header .container {
position: relative;
top: 200px;
}
.header h1 {
font-size: 80px;
line-height: 100px;
margin-top: 0;
margin-bottom: 80px;
}
@media (min-width:850px) {
.header h1 {
font-size: 120px;
}
}
.header p {
font-weight: 500;
letter-spacing: 8px;
margin-bottom: 40px;
margin-top: 0;
}
.btn {
background-color: black;
text-decoration: none;
color: white;
padding: 10px 40px 10px 40px;
}
.btn:hover {
background: #117bff;
cursor: pointer;
transition: background .5s;
}
/* Nav */
.nav {
background: black;
}
.nav ul {
list-style: none;
margin: 0 auto;
padding: 30px 0;
text-align: center;
color: white;
background-color:
}
.nav ul li {
display: inline-block;
}
.nav-btn {
color: white;
padding: 15px 10px 15px 10px;
}
.nav-btn:hover {
background-color: #117bff;
}
/* Main */
.main .container {
margin: 80px auto;
}
/* Jumbotron */
.jumbotron {
height: 600px;
text-align: right;
color: white;
}
.jumbotron .container {
position: relative;
top: 220px;
}
.jumbotron {
padding: 0 30px;
height: 800px;
text-align: right;
background: url(https://s3.amazonaws.com/codecademy-content/projects/innovation-cloud/jumbotron_bg.jpg) no-repeat center center;
background-size: cover;
background-size: cover;
background-size: cover;
background-size: cover;
}
color: white;
}
}
.jumbotron h1 {
font-size: 80px;
line-height: 100px;
margin-top: 100px;
margin-bottom: 0px;
float: right;
}
.btn-jumbotron {
background-color: black;
text-decoration: none;
color: white;
padding: 10px 40px 10px 40px;
}
.btn-jumbotron:hover {
background: #117bff;
cursor: pointer;
transition: background .5s;
}
.jumbotron p {
font-weight: 500;
letter-spacing: 8px;
margin-bottom: 40px;
margin-top: 0;
}
}
/* Footer */
.footer {
font-size: 14px;
background-color: black;
}
.footer p {
font-size: 14px;
}
/* Media Queries */
@media (max-width: 500px) {
.header h1 {
font-size: 50px;
line-height: 64px;
}
.main img {
width: 100%;
float: center;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment