Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions app/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<div class="content">

<!-- Content Header -->

<div class="header">
<h1>BBQ BACON BURGER</h1>
</div>
Expand All @@ -41,7 +41,7 @@ <h1>BBQ BACON BURGER</h1>
<a href="#" class="button">ORDER NOW</a>

<!-- Nutrition Information -->

<ul class="nutrition">
<li>
<span class="category">CALORIES</span>
Expand All @@ -66,6 +66,6 @@ <h1>BBQ BACON BURGER</h1>
</ul>
</div>
</div>

</body>
</html>
17 changes: 17 additions & 0 deletions app/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,21 @@ a {

nav {
text-align: center;
width: 180px;
margin: 0 auto;
}

nav img {
display: block;
margin: 0 auto;
}

nav span {
display: block;
font-size: 16px;
font-weight: 100;
letter-spacing: 2px;
margin: 10px 0px;
}

nav a {
Expand All @@ -36,6 +40,8 @@ nav a {

.content {
width: 100%;
height: 500px;
margin: 10px auto;
}

/* Content Header */
Expand All @@ -44,6 +50,7 @@ nav a {
background-image: url("https://s3.amazonaws.com/codecademy-content/courses/web-101/unit-6/htmlcss1-img_burgerphoto.jpeg");
background-position: center;
background-size: cover;
height: 320px;
}

.header h1 {
Expand All @@ -54,12 +61,15 @@ nav a {
font-weight: 300;
line-height: 40px;
width: 68%;
padding: 20px;
margin: 0 auto;
}

/* Content Body */

.content .body {
width: 90%;
margin: 0 auto;
}

.body p {
Expand All @@ -77,23 +87,30 @@ nav a {
color: #05A8AA;
display: block;
font-weight: 700;
padding: 20px;
margin: 40px auto;
}

.button:hover {
background-color: #05A8AA;
border: 1px solid #05A8AA;
color: #FFF;
width: 200px;
}

/* Content Nutrition */

ul.nutrition {
padding: 40px;
}

ul.nutrition li {
display: inline-block;
background-color: #05A8AA;
list-style: none;
width: 200px;
padding: 10px 20px;
margin-bottom: 3px;
}

.nutrition .category {
Expand Down