File tree Expand file tree Collapse file tree 2 files changed +50
-2
lines changed
starter/07-Omnifood-Desktop Expand file tree Collapse file tree 2 files changed +50
-2
lines changed Original file line number Diff line number Diff line change @@ -7,9 +7,14 @@ FONT SIZE SYSTEM (px)
7
7
8
8
FONT WEIGHTS
9
9
Default: 400
10
+ Medium: 500
11
+ Semi-bold: 600
12
+ Bold: 700
10
13
11
14
LINE HEIGHTS
12
15
Default: 1
16
+ Small: 1.05
17
+ Paragraph default: 1.6
13
18
14
19
--- COLORS
15
20
@@ -24,7 +29,7 @@ Greys: #555, #333
24
29
25
30
26
31
-- BORDER RADIUS
27
-
32
+ Default: 0.9rem
28
33
29
34
--- WHITE SPACE
30
35
@@ -110,6 +115,41 @@ body {
110
115
height : 2.2rem ;
111
116
}
112
117
118
+
119
+ /*** NAVIGATION ***/
120
+
121
+ .main-nav-link : link , .main-nav-link : visited {
122
+ color : # 333 ;
123
+ display : inline-block;
124
+ font-size : 1.8rem ;
125
+ font-weight : 500 ;
126
+ text-decoration : none;
127
+ transition : all 300ms ;
128
+ }
129
+
130
+ .main-nav-link : hover , .main-nav-link : active {
131
+ color : # cf711f ;
132
+ }
133
+
134
+ .main-nav-list {
135
+ align-items : center;
136
+ display : flex;
137
+ gap : 3.2rem ;
138
+ list-style : none;
139
+ }
140
+
141
+ .main-nav-link .nav-cta : link , .main-nav-link .nav-cta : visited {
142
+ background-color : # e67e22 ;
143
+ border-radius : 0.9rem ;
144
+ color : # fff ;
145
+ padding : 1.2rem 2.4rem ;
146
+ }
147
+
148
+ .main-nav-link .nav-cta : hover , .main-nav-link .nav-cta : active {
149
+ background-color : # cf711f ;
150
+ }
151
+
152
+
113
153
/*** HERO ***/
114
154
115
155
.delivered-imgs {
Original file line number Diff line number Diff line change 18
18
<!-- HEADER -->
19
19
< header class ="header ">
20
20
< img src ="img/omnifood-logo.png " alt ="Omnifood logo. " class ="logo ">
21
- < nav class ="min-nav "> Navigation</ nav >
21
+ < nav class ="min-nav ">
22
+ < ul class ="main-nav-list ">
23
+ < li > < a href ="# " class ="main-nav-link "> Section 1</ a > </ li >
24
+ < li > < a href ="# " class ="main-nav-link "> Section 2</ a > </ li >
25
+ < li > < a href ="# " class ="main-nav-link "> Section 3</ a > </ li >
26
+ < li > < a href ="# " class ="main-nav-link "> Section 4</ a > </ li >
27
+ < li > < a href ="# " class ="main-nav-link nav-cta "> Section 5</ a > </ li >
28
+ </ ul >
29
+ </ nav >
22
30
</ header >
23
31
24
32
< main >
You can’t perform that action at this time.
0 commit comments