forked from danroth27/BestForYouRecipes
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
21 changed files
with
281 additions
and
332 deletions.
There are no files selected for viewing
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
.recipe-card { | ||
box-sizing: border-box; | ||
height: 100%; | ||
display: flex; | ||
flex-direction: column; | ||
padding-bottom: 12px; | ||
} | ||
|
||
.recipe-card img { | ||
width: 100%; | ||
} | ||
|
||
.recipe-card-body { | ||
flex: 1; | ||
display: flex; | ||
flex-direction: column; | ||
padding: 0px 8px 0px 8px; | ||
} | ||
|
||
.recipe-card-name { | ||
margin: 1rem 0 1rem 0; | ||
} | ||
|
||
.recipe-card-source { | ||
margin-top: 0; | ||
} | ||
|
||
.recipe-card ::deep .star-rating { | ||
margin-top: auto; | ||
justify-content: flex-end; | ||
} |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
.search { | ||
display: flex; | ||
align-items: center; | ||
max-width: 30em; | ||
margin: 0 auto; | ||
background: #F5F5F5; | ||
opacity: 0.78; | ||
color: #666666; | ||
border: 1px solid #999999; | ||
border-radius: 2px; | ||
padding: 6px 12px; | ||
} | ||
|
||
.search input { | ||
flex: 1; | ||
font-family: Open Sans; | ||
font-size: 14px; | ||
line-height: 20px; | ||
border: none; | ||
background: inherit; | ||
} | ||
|
||
.search input:focus { | ||
outline: none; | ||
} |
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
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
.recipe-list { | ||
list-style: none; | ||
padding: 0; | ||
display: grid; | ||
grid-template-columns: repeat(auto-fill, minmax(18em, 1fr)); | ||
grid-gap: 20px; | ||
} | ||
|
||
.recipe-list-item { | ||
border-radius: 8px; | ||
box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.15); | ||
} | ||
|
||
.recipe-list-item a { | ||
text-decoration: none; | ||
color: inherit; | ||
} | ||
|
||
.recipe-list-item:hover { | ||
box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.25); | ||
} |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
.back-link { | ||
font-family: 'Playfair Display', serif; | ||
text-transform: uppercase; | ||
color: #435869; | ||
text-decoration: none; | ||
} | ||
|
||
.source-and-servings { | ||
text-align: center; | ||
text-transform: uppercase; | ||
color: #212A31; | ||
text-align: center; | ||
margin: 5px 0; | ||
} | ||
|
||
input[type="checkbox"] { | ||
vertical-align: middle; | ||
} | ||
|
||
.recipe > .star-rating-avg { | ||
text-align: center; | ||
margin: 5px auto; | ||
} | ||
|
||
.recipe-banner { | ||
display: block; | ||
width: 125%; | ||
margin: 0 -12.5%; | ||
} | ||
|
||
.recipe-banner img { | ||
display: block; | ||
width: 100%; | ||
margin-left: auto; | ||
margin-right: auto; | ||
max-width: 1800px; | ||
} | ||
|
||
.recipe-details { | ||
padding: 0 5%; | ||
} | ||
|
||
.recipe-details ul { | ||
list-style: none; | ||
padding: 0; | ||
} | ||
|
||
.tag { | ||
color: inherit; | ||
font-size: 0.8em; | ||
text-decoration: none; | ||
background-color: #eaeaea; | ||
text-transform: uppercase; | ||
padding: 0 4px; | ||
} |
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
Oops, something went wrong.