Skip to content

Instantly share code, notes, and snippets.

@codecademydev
Created January 23, 2016 08:07
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/59c56461658d2011f8fc to your computer and use it in GitHub Desktop.
Save codecademydev/59c56461658d2011f8fc to your computer and use it in GitHub Desktop.
Codecademy export
<!doctype html>
<html>
<head>
<link rel="stylesheet" href="https://s3.amazonaws.com/codecademy-content/projects/bootstrap.min.css">
<link href='https://fonts.googleapis.com/css?family=Merriweather' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="header">
<div class="container">
<div class="logo">
<img src="https://s3.amazonaws.com/codecademy-content/projects/junction/logo.svg"/>
</div>
<div class="nav">
<ul>
<li>About</li>
<li>Blog</li>
<li>Help</li>
<li>Contact</li>
</ul>
</div>
</div>
</div>
<div class="jumbotron">
<div class="container">
<h1>Meet Junction</h1>
</div>
</div>
<div class="supporting">
<div class="container">
</div>
</div>
</body>
</html>
html, body {
margin: 0;
padding: 0;
font-family: 'Merriweather', serif;
}
html, body {
background: url(https://s3.amazonaws.com/codecademy-content/projects/junction/bg.jpg) no-repeat center center fixed;
background-size: cover;
background-size: cover;
background-size: cover;
background-size: cover;
}
.container {
max-width:940px;
}
/* Header */
.header {
padding: 10px 0;
background-color: rgba(0,0,0,.5);
}
.nav ul li {
display: inline-block;
list-style-type: none;
float: right;
color: white;
margin-left: 50px;
}
.logo {
height: 20px;
width: 50px;
float: left;
}
/* Jumbotron */
.jumbotron {
position: relative;
top: 50px;
text-shadow: 0 2px 3px rgba(0,0,0,.4);
}
/* Supporting */
.supporting {
margin-top: 40px;
text-shadow: 0 2px 3px rgba(0,0,0,.4);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment