Skip to content

Commit f1f95be

Browse files
committed
Added CTA container
1 parent 9185657 commit f1f95be

File tree

3 files changed

+783
-4
lines changed

3 files changed

+783
-4
lines changed

starter/07-Omnifood-Desktop/css/general.css

Lines changed: 73 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,18 @@ Paragraph default: 1.6
2525
2626
Primary: #e67e22
2727
28-
Tints: #fdf2e9, #fae5d3
28+
Tints: #fdf2e9, #fae5d3, #eb984e
2929
Shades: #cf711f,
30-
Accents:
31-
Greys: #555, #333,
30+
Accents: #51cf66
31+
Greys: #555, #333, #6f6f6f (lightest grey allowed on #fdf2e9)
3232
3333
--- 03 SHADOWS ---
3434
35+
0 2.4rem 4.8rem rgba(0, 0, 0, 0.075);
36+
3537
--- 04 BORDER-RADIUS ---
3638
Default: 9px
39+
Medium: 11px
3740
3841
--- 05 WHITE SPACE ---
3942
@@ -75,6 +78,17 @@ body {
7578
display: grid;
7679
column-gap: 6.4rem;
7780
row-gap: 9.6rem;
81+
82+
/* margin-bottom: 9.6rem; */
83+
}
84+
85+
/* .grid:last-child {
86+
margin-bottom: 0;
87+
} */
88+
89+
/* If the .grid is NOT the :last-child, add the margin-bottom */
90+
.grid:not(:last-child) {
91+
margin-bottom: 9.6rem;
7892
}
7993

8094
.grid--2-cols {
@@ -85,6 +99,10 @@ body {
8599
grid-template-columns: repeat(3, 1fr);
86100
}
87101

102+
.grid--4-cols {
103+
grid-template-columns: repeat(4, 1fr);
104+
}
105+
88106
.grid--center-v {
89107
align-items: center;
90108
}
@@ -134,7 +152,8 @@ body {
134152
text-decoration: none;
135153

136154
/* Always put transition on original "state" */
137-
transition: background-color 0.3s;
155+
/* transition: background-color 0.3s; */
156+
transition: all 0.3s;
138157
}
139158

140159
.btn--full:link,
@@ -162,6 +181,56 @@ body {
162181
box-shadow: inset 0 0 0 3px #fff;
163182
}
164183

184+
.link:link,
185+
.link:visited {
186+
display: inline-block;
187+
color: #e67e22;
188+
text-decoration: none;
189+
border-bottom: 1px solid currentColor;
190+
padding-bottom: 2px;
191+
transition: all 0.3s;
192+
}
193+
194+
.link:hover,
195+
.link:active {
196+
color: #cf711f;
197+
border-bottom: 1px solid transparent;
198+
}
199+
200+
.list {
201+
list-style: none;
202+
display: flex;
203+
flex-direction: column;
204+
gap: 1.6rem;
205+
}
206+
207+
.list-icon {
208+
width: 3rem;
209+
height: 3rem;
210+
color: #e67e22;
211+
}
212+
213+
.list-item {
214+
font-size: 1.8rem;
215+
display: flex;
216+
align-items: center;
217+
gap: 1.6rem;
218+
}
219+
220+
/* HELPER/SETTINGS CLASSES */
221+
165222
.margin-right-sm {
166223
margin-right: 1.6rem !important;
167224
}
225+
226+
.margin-bottom-md {
227+
margin-bottom: 4.8rem !important;
228+
}
229+
230+
.center-text {
231+
text-align: center;
232+
}
233+
234+
strong {
235+
font-weight: 500;
236+
}

0 commit comments

Comments
 (0)