Skip to content

Commit 94d78a7

Browse files
committed
Implementing Whitespace and Visual Hierarchy.
1 parent a2ac52a commit 94d78a7

File tree

1 file changed

+14
-8
lines changed

1 file changed

+14
-8
lines changed

starter/05-Design/style.css

Lines changed: 14 additions & 8 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 {
@@ -88,21 +88,21 @@ 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;
103103
/* 44 / 52 / 62 */
104104

105-
text-shadow: 0 20px 3px rgba(0, 0, 0, 0.07);
105+
/* text-shadow: 0 20px 3px rgba(0, 0, 0, 0.07); */
106106
}
107107

108108
.header-text {
@@ -120,7 +120,7 @@ img {
120120
stroke: #087f5b;
121121
width: 32px;
122122
height: 32px;
123-
margin-bottom: 16px;
123+
margin-bottom: 24px;
124124
}
125125

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

162167
/* CHAIRS */
@@ -171,7 +176,7 @@ img {
171176
}
172177

173178
.chair-box {
174-
padding: 24px;
179+
padding: 32px;
175180
}
176181

177182
h3 {
@@ -181,14 +186,14 @@ h3 {
181186

182187
.chair-details {
183188
list-style: none;
184-
margin-bottom: 24px;
189+
margin-bottom: 48px;
185190
}
186191

187192
.chair-details li {
188193
display: flex;
189194
align-items: center;
190195
gap: 12px;
191-
margin-bottom: 24px;
196+
margin-bottom: 16px;
192197
}
193198

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

0 commit comments

Comments
 (0)