Skip to content

Commit 94c8cd1

Browse files
张欧文张欧文
张欧文
authored and
张欧文
committed
implementing visual hierachy
1 parent d22322a commit 94c8cd1

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
@@ -34,7 +34,7 @@ body {
3434

3535
header,
3636
section {
37-
margin-bottom: 48px;
37+
margin-bottom: 128px;
3838
}
3939

4040
h2 {
@@ -88,15 +88,15 @@ header {
8888
display: grid;
8989
grid-template-columns: repeat(2, 1fr);
9090
column-gap: 80px;
91-
margin-top: 48px;
91+
margin-top: 64px;
9292
}
9393

9494
.header-text-box {
9595
align-self: center;
9696
}
9797

9898
h1 {
99-
margin-bottom: 24px;
99+
margin-bottom: 32px;
100100
font-size: 44px;
101101
line-height: 1.1;
102102
letter-spacing: -1px;
@@ -118,7 +118,7 @@ img {
118118
stroke: #087f5b;
119119
width: 32px;
120120
height: 32px;
121-
margin-bottom: 16px;
121+
margin-bottom: 24px;
122122
}
123123

124124
.features-title {
@@ -154,6 +154,11 @@ img {
154154
margin-bottom: 24px;
155155
font-size: 18px;
156156
line-height: 1.7;
157+
color: #e6fcf5;
158+
}
159+
160+
.testimonial-author {
161+
color: #c3fae8;
157162
}
158163

159164
/* CHAIRS */
@@ -167,7 +172,7 @@ img {
167172
border-bottom-right-radius: 0;
168173
}
169174
.chair-box {
170-
padding: 24px;
175+
padding: 32px;
171176
}
172177

173178
h3 {
@@ -177,14 +182,14 @@ h3 {
177182

178183
.chair-details {
179184
list-style: none;
180-
margin-bottom: 24px;
185+
margin-bottom: 48px;
181186
}
182187

183188
.chair-details li {
184189
display: flex;
185190
align-items: center;
186191
gap: 12px;
187-
margin-bottom: 24px;
192+
margin-bottom: 16px;
188193
}
189194

190195
.chair-details li:last-child {
@@ -201,6 +206,7 @@ h3 {
201206
display: flex;
202207
justify-content: space-between;
203208
font-size: 20px;
209+
align-items: center;
204210
}
205211

206212
footer {

0 commit comments

Comments
 (0)