Skip to content

Commit 8d10f24

Browse files
committed
spacing and hirarchy
1 parent 663a192 commit 8d10f24

File tree

1 file changed

+13
-7
lines changed

1 file changed

+13
-7
lines changed

practice/05 - Design/style.css

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

3636
header,
3737
section {
38-
margin-bottom: 48px;
38+
margin-bottom: 96px;
3939
}
4040

4141
h2 {
@@ -90,15 +90,15 @@ header {
9090
display: grid;
9191
grid-template-columns: repeat(2, 1fr);
9292
column-gap: 80px;
93-
margin-top: 48px;
93+
margin-top: 64px;
9494
}
9595

9696
.header-text-box {
9797
align-self: center;
9898
}
9999

100100
h1 {
101-
margin-bottom: 24px;
101+
margin-bottom: 32px;
102102
font-size: 44px; /* 44 / 52 / 62 */
103103
line-height: 1.1;
104104
letter-spacing: -1px;
@@ -120,7 +120,7 @@ img {
120120
stroke: #087f5b;
121121
height: 32px;
122122
width: 32px;
123-
margin-bottom: 16px;
123+
margin-bottom: 24px;
124124
}
125125

126126
.features-title {
@@ -156,6 +156,11 @@ img {
156156
margin-bottom: 24px;
157157
font-size: 18px;
158158
line-height: 1.7;
159+
color: #e6fcf5;
160+
}
161+
162+
.testimonial-author {
163+
color: #c3fae8;
159164
}
160165

161166
/* CHAIRS */
@@ -170,7 +175,7 @@ img {
170175
}
171176

172177
.chair-box {
173-
padding: 24px;
178+
padding: 32px;
174179
}
175180

176181
h3 {
@@ -180,14 +185,14 @@ h3 {
180185

181186
.chair-details {
182187
list-style: none;
183-
margin-bottom: 24px;
188+
margin-bottom: 48px;
184189
}
185190

186191
.chair-details li {
187192
display: flex;
188193
align-items: center;
189194
gap: 12px;
190-
margin-bottom: 24px;
195+
margin-bottom: 16px;
191196
}
192197

193198
.chair-details li:last-child {
@@ -204,6 +209,7 @@ h3 {
204209
display: flex;
205210
justify-content: space-between;
206211
font-size: 20px;
212+
align-items: center;
207213
}
208214

209215
footer {

0 commit comments

Comments
 (0)