Skip to content

Commit

Permalink
Merge pull request #14 from Ghalia98/styleUpdate
Browse files Browse the repository at this point in the history
Style update
  • Loading branch information
Areeba-Imran authored Feb 17, 2022
2 parents ae1d216 + 06ffdb0 commit c3d2049
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 23 deletions.
42 changes: 21 additions & 21 deletions public/stylesheets/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -49,18 +49,18 @@ h1 {
}

.recipe-picture {
width: 600px;
margin-bottom: 20px;
width: 600px;
margin-bottom: 20px;
}

.recipe-card {
margin: 20px 200px 0px;
display: flex;
flex-direction: column;
align-items: center;
border: 1px dashed black;
padding-bottom: 20px;
}
.recipe-card{
margin: 20px 200px 0px;
display: flex;
flex-direction: column;
align-items: center;
border: 1px dashed black;
padding-bottom: 20px;
}

.recipe-card h1,
.recipe-card h3 {
Expand Down Expand Up @@ -135,12 +135,12 @@ input.search-input-field {
text-align: center;
}

.recipes-collection-div {
display: flex;
flex-wrap: wrap;
padding: 25px 0px;
border-radius: 5px;
justify-content: center;
.recipes-collection-div{
display: flex;
flex-wrap: wrap;
padding: 25px 0px;
border-radius: 5px;
justify-content: center;
}

.recipe-info-box p {
Expand Down Expand Up @@ -300,11 +300,11 @@ input.search-input-field {
color: white;
}

.profile-img {
width: 150px;
height: 150px;
object-fit: cover;
border-radius: 50%;
.profile-img{
width: 150px;
height: 150px;
object-fit: cover;
border-radius: 50%;
}

.profile-body {
Expand Down
5 changes: 3 additions & 2 deletions views/recipe/detail.hbs
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
{{#with recipe}}

<div class="recipe-card">
<h1 class="recipe-name">{{name}}</h1>
{{#if tags}}

//working point from here
<h3>Tags: <span class="badge badge-pill badge-danger">{{tags}}</span></h3>
{{/if}}
<span class="badge badge-primary">{{tags}}</span>

<img src="{{url}}" alt="Image of {{name}}" class="recipe-picture img-fluid">
{{#if source}}
<h3>Source: </h3><a href="{{source}}" target="_blank">{{source}}</a>
Expand Down

0 comments on commit c3d2049

Please sign in to comment.