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
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"liveServer.settings.port": 5501
}
65 changes: 65 additions & 0 deletions recipe.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Recipe</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<section class="container">
<div class="box box1" id="cover">
<logo class="logo"></logo>
<h1 class="title">Apple Pie</h1>
</div>
<div class="inline">
<p class="text"> This was my grandmother's apple pie recipe. I have never seen another one quite like it. <br>It will always
be my favorite and won me several first place prizes in local competitions. <br> I hope it becomes one of your
favorites as well!
</p>
</div>
<logo class="general-info"></logo>
</div>

<div class="box box2" id="ingredients">

<div><h2 class="h2">Ingredients</h2></div>

<div class="ingredient-list">
<ul>
<li>1 recipe pastry for a 9 inch double crust pie</li>
<li>1/2 cup unsalted butter</li>
<li>3 tablespoons all-purpose flour</li>
<li>1/4 cup water</li>
<li>3 tablespoons all-purpose flour</li>
<li>1/4 cup water</li>
<li>1/2 cup white sugar</li>
<li>1/2 cup packed brown sugar</li>
<li>8 Granny Smith apples - peeled, cored and sliced</li>
</ul>
</div>

<logo class="cook-time"></logo>

</div>
</div>

<div class="box box3" id="directions">

<div class="directions"><h2 class="h2">Directions</h2></div>

<div class="directions-list">
<ol>
<li>Preheat oven to 425 degrees F (200 degrees C). Melt the butter in a saucepan. Stir in flour to form a paste. Add water, white sugar and brown sugar, and bring to a boil. Reduce temperature and let simmer.</li>
<br>
<li>Place the bottom crust in your pan. Fill with apples, mounded slightly. Cover with a lattice work crust. Gently pour the sugar and butter liquid over the crust. Pour slowly so that it does not run off.</li>
<br>
<li>Bake 15 minutes in the preheated oven. Reduce the temperature. Reduce the temperature to 350 degrees F (175 degrees C). Continue baking for 35 to 45 minutes, until apples are soft.</li>
</ol>
</div>

</div>

</section class="container">
</body>
</html>
143 changes: 143 additions & 0 deletions styles.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,143 @@
* {box-sizing: border-box;}

body {
margin: 0;
display: flex;
justify-content: center;
}

.box {
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;

width: 600px;
height: 600px;

border: none 10px white;

text-align: center;

padding: 20px;
padding-top: 20px;
padding-bottom: 20px;
padding-left: 20px;
padding-right: 20px;

margin: 40px;
margin-top:40px;
margin-bottom:40px;
margin-left:40px;
margin-right:40px;

h1 {
color: aliceblue;
font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
font-size: 3rem;
}

}

.box1 {

background-image: url(https://github.com/ironhack-labs/lab-css-recipes-clone-es/blob/master/apple-pie/images/apple-pie.jpg?raw=true);
background-size: cover;
width: 600px;
height: 600px;
}

.box3 {
background-color: white;
width: 600px;
height: 300px;
justify-content: left;
align-items: left;
text-align: left;
margin-top: 0;
padding-top: 0;

.h2{
color: black;
font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
font-size: 1rem;
justify-content: left;

.directions-list{
color: black;
font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
font-size: 1rem;
justify-content: left;
}
}
}

.container {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}

.box2 {
background-color: white;
width: 600px;
height: 400px;
justify-content: left;
align-items: left;
text-align: left;
margin-bottom:0;
padding-bottom: 0;

.h2{
color: black;
font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
font-size: 1rem;
justify-content: left;
}

.ingredient-list{
color: black;
font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
font-size: 0.9rem;
justify-content: left;
}
}

.inline {
height: 150px;
width: 550px;
background-color: none;
padding: 20px;
margin top: 0;

.text {
color: black;
font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
font-size: 1rem;
justify-content: left;
}
}

.general-info {
width: 500px;
height: 70px;
background-image: url(https://github.com/ironhack-labs/lab-css-recipes-clone-es/blob/master/apple-pie/images/recipe-info.png?raw=true);
background-size: cover;
align-items: center;
}

.cook-time {
width: 400px;
height: 70px;
background-image: url(https://github.com/ironhack-labs/lab-css-recipes-clone-es/blob/master/apple-pie/images/cooking-info.png?raw=true);
background-size: cover;
align-items: center;
}

.directions-list{
color: black;
font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
font-size: 0.9rem;
justify-content: left;
}