Skip to content
Open
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
17 changes: 17 additions & 0 deletions app/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,16 @@ nav {

nav img {
display: block;
width:180px;
margin: 0px auto;
}

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

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

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

/* Content Header */
Expand All @@ -44,6 +49,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 +60,15 @@ nav a {
font-weight: 300;
line-height: 40px;
width: 68%;
padding: 20px;
margin: 0px auto;
}

/* Content Body */

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

.body p {
Expand All @@ -77,6 +86,10 @@ nav a {
color: #05A8AA;
display: block;
font-weight: 700;
width: 200px;
padding: 20px;
border: 1px solid blue;
margin: 40px auto;
}

.button:hover {
Expand All @@ -88,12 +101,16 @@ nav a {
/* Content Nutrition */

ul.nutrition {
padding: 40px;
}

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

.nutrition .category {
Expand Down