File tree Expand file tree Collapse file tree 3 files changed +47
-20
lines changed
apple-pie-starter-code/css
french-onion-soup-starter-code Expand file tree Collapse file tree 3 files changed +47
-20
lines changed Original file line number Diff line number Diff line change
1
+ * {
2
+ margin : 0 ;
3
+ padding : 0 }
4
+
1
5
.mainbackground {
2
6
background-image : url ("../images/apple-pie.jpg" );
3
7
background-size : cover;
4
8
background-repeat : no-repeat;
5
- height : 800 px ;
9
+ height : 100 vh ;
6
10
7
11
8
12
}
9
13
10
14
.maintitle {
11
15
color : white;
12
- padding : 20 % 50% 0% 40% ;
16
+ padding : 43 % 50% 0% 40% ;
13
17
width : 25% ;
14
18
text-align : center;
15
19
font-family : Helvetica, sans-serif;
18
22
}
19
23
20
24
.sectiontwo {
21
- height : 180 px ;
25
+ height : 220 px ;
22
26
width : 90% ;
23
- margin-left : 10 % ;
27
+
24
28
margin-right : 10% ;
25
29
border-bottom : 1px solid grey;
26
30
}
27
31
28
32
.mainparagraph {
29
- width : 70 % ;
33
+ width : 90 % ;
30
34
text-align : justify;
31
35
margin-left : 10% ;
32
36
font-family : Helvetica, sans-serif;
@@ -64,11 +68,11 @@ li:before{
64
68
.sectionfour {
65
69
height : 400px ;
66
70
width : 90% ;
67
- margin-left : 10 % ;
71
+ margin-left : 8 % ;
68
72
margin-right : 50% ;
69
73
font-family : Arial, Helvetica, sans-serif;
70
74
font-size : 25px ;
71
- text-align : left ;
75
+ text-align : justify ;
72
76
border-bottom : 1px solid grey;
73
77
font-weight : 100 ;
74
78
}
Original file line number Diff line number Diff line change 2
2
font-family : 'Open Sans' , sans-serif;
3
3
font-size : 18px
4
4
}
5
+ * {
6
+ margin : 0 ;
7
+ padding : 0
8
+ }
5
9
6
10
.mainbackground {
7
11
background-image : url ("../images/soup.jpg" );
8
12
background-size : cover;
9
13
background-repeat : no-repeat;
10
- height : 800px ;
14
+ width : 100% ;
15
+ height : 100vh ;
16
+
11
17
}
12
18
13
19
.maintitle {
@@ -16,33 +22,46 @@ html {
16
22
width : 25% ;
17
23
text-align : center;
18
24
font-family : Helvetica, sans-serif;
19
- font-weight : 300 ;
20
- font-size : 45px ;
25
+ font-weight : 200 ;
26
+ font-size : 60px ;
27
+ }
21
28
22
29
.sectiontwo {
23
30
height : 180px ;
24
31
width : 90% ;
25
- margin-left : 10 % ;
32
+ margin-left : 2 % ;
26
33
margin-right : 10% ;
27
34
border-bottom : 1px solid grey;
35
+ /* display: flex;
36
+ align-content: center;
37
+ justify-content: center; */
38
+ }
39
+ .image-instructions {
40
+ height : 30% ;
41
+ width : 90% ;
42
+ margin-left : 30% ;
43
+ margin-right : 85 ;
28
44
}
29
45
30
46
.mainparagraph {
31
- width : 70 % ;
47
+ width : 100 % ;
32
48
text-align : justify;
49
+ margin-top : 10% ;
33
50
margin-left : 10% ;
51
+ margin-right : 10% ;
34
52
font-family : Helvetica, sans-serif;
35
- font-size : 25 px ;
53
+ font-size : 20 px ;
36
54
font-weight : 100 ;
37
55
}
38
56
39
- .recipeimage {
57
+ /* .recipeimage{
40
58
margin-left: 70%;
41
- }
59
+ } */
42
60
43
61
.sectionthree {
44
- height : 430 px ;
62
+ height : 500 px ;
45
63
width : 90% ;
64
+ margin-top : 3% ;
46
65
margin-left : 10% ;
47
66
font-family : Arial, Helvetica, sans-serif;
48
67
font-size : 25px ;
@@ -61,11 +80,13 @@ li:before{
61
80
62
81
.recipeinfo {
63
82
margin-left : 42% ;
83
+ margin-top : 5% ;
64
84
}
65
85
66
86
.sectionfour {
67
- height : 600 px ;
87
+ height : 700 px ;
68
88
width : 90% ;
89
+ margin-top : 3% ;
69
90
margin-left : 10% ;
70
91
margin-right : 50% ;
71
92
font-family : Arial, Helvetica, sans-serif;
Original file line number Diff line number Diff line change @@ -19,11 +19,13 @@ <h1 class="maintitle">French Onion Soup</h1>
19
19
and friends agree none can compare to my recipe for taste and simplicity of
20
20
preparation.
21
21
</ p >
22
- < img class ="recipeimage " src ="./images/recipe-info.png " alt ="cooking info " height ="55px ">
22
+ < div class ="image-instructions ">
23
+ < img //class="recipeimage"// src="./images/recipe-info.png" alt="cooking info" height="55px">
24
+ </ div >
23
25
</ section >
24
26
25
27
< section class ="sectionthree ">
26
- < h4 > Ingredients</ h4 >
28
+ < h4 > Ingredients</ h4 > < br >
27
29
< ul class ="u1 ">
28
30
< li > 1/2 cup unsalted butter</ li >
29
31
< li > 2 tablespoons olive oil</ li >
@@ -41,7 +43,7 @@ <h4>Ingredients</h4>
41
43
</ section >
42
44
43
45
< section class ="sectionfour ">
44
- < h4 > Directions</ h4 >
46
+ < h4 > Directions</ h4 > < br >
45
47
< ol type ="1 ">
46
48
< li > Melt butter with olive oil in an 8 quart stock pot on medium heat. Add onions and
47
49
continually stir until tender and translucent. Do not brown the onions.</ li >
You can’t perform that action at this time.
0 commit comments