Skip to content

Commit 2fa1bfd

Browse files
committed
section-5: Refine spacing.
1 parent f706e07 commit 2fa1bfd

File tree

1 file changed

+13
-7
lines changed

1 file changed

+13
-7
lines changed

starter/05-Design/style.css

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ body {
3333

3434
header,
3535
section {
36-
margin-bottom: 48px;
36+
margin-bottom: 96px;
3737
}
3838

3939
h2 {
@@ -81,7 +81,7 @@ header {
8181
display: grid;
8282
grid-template-columns: repeat(2, 1fr);
8383
column-gap: 80px;
84-
margin-top: 48px;
84+
margin-top: 64px;
8585
}
8686

8787
.header-text-box {
@@ -92,7 +92,7 @@ h1 {
9292
font-size: 44px;
9393
letter-spacing: -1px;
9494
line-height: 1.1;
95-
margin-bottom: 24px;
95+
margin-bottom: 32px;
9696
}
9797

9898
.header-text {
@@ -109,7 +109,7 @@ img {
109109
/* FEATURES */
110110
.features-icon {
111111
height: 32;
112-
margin-bottom: 16px;
112+
margin-bottom: 24px;
113113
stroke: #087f5b;
114114
width: 32px;
115115
}
@@ -143,12 +143,17 @@ img {
143143
}
144144

145145
.testimonial-text {
146+
color: #e6fcf5;
146147
font-size: 18px;
147148
font-style: italic;
148149
line-height: 1.7;
149150
margin-bottom: 24px;
150151
}
151152

153+
.testimonial-author {
154+
color: #c3fae8;
155+
}
156+
152157
/* CHAIRS */
153158
.chair {
154159
border-radius: 12px;
@@ -161,7 +166,7 @@ img {
161166
}
162167

163168
.chair-box {
164-
padding: 24px;
169+
padding: 32px;
165170
}
166171

167172
h3 {
@@ -171,14 +176,14 @@ h3 {
171176

172177
.chair-details {
173178
list-style: none;
174-
margin-bottom: 24px;
179+
margin-bottom: 48px;
175180
}
176181

177182
.chair-details li {
178183
display: flex;
179184
align-items: center;
180185
gap: 12px;
181-
margin-bottom: 24px;
186+
margin-bottom: 16px;
182187
}
183188

184189
.chair-details li:last-child {
@@ -192,6 +197,7 @@ h3 {
192197
}
193198

194199
.chair-price {
200+
align-items: center;
195201
display: flex;
196202
font-size: 20px;
197203
justify-content: space-between;

0 commit comments

Comments
 (0)