Skip to content

Commit 7f2fedd

Browse files
committed
css
1 parent 61a36fb commit 7f2fedd

File tree

1 file changed

+25
-9
lines changed

1 file changed

+25
-9
lines changed

starter/05-Design/style.css

Lines changed: 25 additions & 9 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: 96px;
3838
}
3939

4040
h2 {
@@ -58,6 +58,9 @@ h2 {
5858
text-transform: uppercase;
5959
font-weight: 500;
6060
display: inline-block;
61+
/* gt than height will make it be a completely circle */
62+
/* if its a suqare, we can use 50% */
63+
border-radius: 100px;
6164
}
6265

6366
.btn:hover,
@@ -67,14 +70,18 @@ h2 {
6770

6871
.btn--big {
6972
font-size: 18px;
70-
padding: 16px 32px;
73+
padding: 16px 32px;
7174
}
7275

7376
.btn--small {
7477
font-size: 14px;
7578
padding: 8px 12px;
7679
}
7780

81+
img {
82+
border-radius: 12px;
83+
}
84+
7885
/* ------------------------ */
7986
/* COMPONENT STYLES */
8087
/* ------------------------ */
@@ -84,15 +91,15 @@ header {
8491
display: grid;
8592
grid-template-columns: repeat(2, 1fr);
8693
column-gap: 80px;
87-
margin-top: 48px;
94+
margin-top: 80px;
8895
}
8996

9097
.header-text-box {
9198
align-self: center;
9299
}
93100

94101
h1 {
95-
margin-bottom: 24px;
102+
margin-bottom: 32px;
96103
/* 44 / 52 / 62 */
97104
font-size: 44px;
98105
line-height: 1.1;
@@ -112,9 +119,6 @@ img {
112119
}
113120

114121
/* FEATURES */
115-
.features-icon {
116-
}
117-
118122
.features-title {
119123
margin-bottom: 16px;
120124
font-size: 20px;
@@ -129,14 +133,15 @@ img {
129133
stroke: #087f5b;
130134
width: 32px;
131135
height: 32px;
132-
margin-bottom: 16px;
136+
margin-bottom: 24px;
133137
}
134138

135139
/* TESTIMONIAL */
136140
.testimonial-section {
137141
background-color: #087f5b;
138142
color: #fff;
139143
padding: 24px;
144+
border-radius: 12px;
140145
}
141146

142147
.testimonial-box {
@@ -155,13 +160,23 @@ img {
155160
margin-bottom: 24px;
156161
font-size: 18px;
157162
line-height: 1.7;
163+
color: #e6fcf5;
164+
}
165+
166+
.testimonial-author {
167+
color: #c3fae8;
158168
}
159169

160170
/* CHAIRS */
161171
.chair {
162172
box-shadow: 0px 20px 30px 0px rgba(0, 0, 0, 0.07);
163173
}
164174

175+
.chair img {
176+
border-bottom-left-radius: 0;
177+
border-bottom-right-radius: 0;
178+
}
179+
165180
.chair-box {
166181
padding: 24px;
167182
}
@@ -174,7 +189,7 @@ h3 {
174189

175190
.chair-details {
176191
list-style: none;
177-
margin-bottom: 24px;
192+
margin-bottom: 48px;
178193
}
179194

180195
.chair-details li {
@@ -198,6 +213,7 @@ h3 {
198213
display: flex;
199214
justify-content: space-between;
200215
font-size: 20px;
216+
align-items: center;
201217
}
202218

203219
footer {

0 commit comments

Comments
 (0)