File tree Expand file tree Collapse file tree 2 files changed +23
-1
lines changed
starter/07-Omnifood-Desktop Expand file tree Collapse file tree 2 files changed +23
-1
lines changed Original file line number Diff line number Diff line change 14
14
< title > Omnifood</ title >
15
15
</ head >
16
16
< body >
17
+ < header class ="header ">
18
+ < img class ="logo " src ="./content/img/omnifood-logo.png " alt ="omnifood-logo ">
19
+ < nav class ="main-nav "> Navigation</ nav >
20
+ </ header >
21
+ < main >
17
22
< section class ="section-hero ">
18
23
< div class ="hero ">
19
24
< div class ="hero-text-box ">
@@ -50,5 +55,6 @@ <h1 class="heading-primary">
50
55
</ div >
51
56
</ div >
52
57
</ section >
58
+ </ main >
53
59
</ body >
54
60
</ html >
Original file line number Diff line number Diff line change @@ -17,12 +17,14 @@ body {
17
17
18
18
.section-hero {
19
19
background-color : # fdf2e9 ;
20
- padding : 9.6rem 0 ;
20
+ padding : 4.8 rem 0 9.6rem 0 ;
21
21
}
22
22
23
23
.hero {
24
24
max-width : 130rem ;
25
25
margin : 0 auto;
26
+
27
+ padding : 0 3.2rem ;
26
28
display : grid;
27
29
grid-template-columns : 1fr 1fr ;
28
30
gap : 9.6rem ;
@@ -119,4 +121,18 @@ body {
119
121
.delivered-text span {
120
122
color : # cf711f ;
121
123
font-weight : 700 ;
124
+ }
125
+
126
+ /* Header */
127
+
128
+ .header {
129
+ display : flex;
130
+ align-items : center;
131
+ justify-content : space-between;
132
+ background-color : # fdf2e9 ;
133
+ height : 9.6rem ;
134
+ padding : 0 4.8rem ;
135
+ }
136
+ .logo {
137
+ height : 2.2rem ;
122
138
}
You can’t perform that action at this time.
0 commit comments