Skip to content

Commit e644352

Browse files
committed
Add progress for section 5 and section 6
1 parent 24a8a2b commit e644352

File tree

10 files changed

+1032
-16
lines changed

10 files changed

+1032
-16
lines changed

attempt/05-Design/style.css

Lines changed: 38 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ FONT SIZE SYSTEM (px)
66
10 / 12 / 14 / 16 / 18 / 20 / 24 / 30 / 36 / 44 / 52 / 62 / 74 / 86 / 98
77
*/
88

9-
/*
10-
MAIN COLOUR: #087f5b
11-
GREY COLOUR: #343a40
9+
/*
10+
MAIN COLOR: #087f5b
11+
GREY COLOR: #343a40
1212
*/
1313

1414
* {
@@ -22,8 +22,6 @@ GREY COLOUR: #343a40
2222
/* ------------------------ */
2323
body {
2424
font-family: "Inter", sans-serif;
25-
font-size: 18px;
26-
line-height: 1.6;
2725
color: #343a40;
2826
border-bottom: 8px solid #087f5b;
2927
}
@@ -35,13 +33,14 @@ body {
3533

3634
header,
3735
section {
38-
margin-bottom: 48px;
36+
margin-bottom: 96px;
3937
}
4038

4139
h2 {
4240
margin-bottom: 48px;
4341
font-size: 36px;
4442
letter-spacing: -0.5px;
43+
/* 24 / 30 / 36 */
4544
}
4645

4746
.grid-3-cols {
@@ -51,14 +50,15 @@ h2 {
5150
}
5251

5352
.btn:link,
54-
btn:visited {
53+
.btn:visited {
5554
background-color: #087f5b;
5655
color: #fff;
5756
text-decoration: none;
5857
text-transform: uppercase;
58+
font-weight: 500;
5959

6060
display: inline-block;
61-
font-weight: 500;
61+
border-radius: 100px;
6262
}
6363

6464
.btn:hover,
@@ -70,11 +70,16 @@ btn:visited {
7070
font-size: 18px;
7171
padding: 16px 32px;
7272
}
73+
7374
.btn--small {
7475
font-size: 14px;
7576
padding: 8px 12px;
7677
}
7778

79+
img {
80+
border-radius: 12px;
81+
}
82+
7883
/* ------------------------ */
7984
/* COMPONENT STYLES */
8085
/* ------------------------ */
@@ -84,23 +89,27 @@ header {
8489
display: grid;
8590
grid-template-columns: repeat(2, 1fr);
8691
column-gap: 80px;
87-
margin-top: 48px;
92+
margin-top: 64px;
8893
}
8994

9095
.header-text-box {
9196
align-self: center;
9297
}
9398

9499
h1 {
95-
margin-bottom: 24px;
100+
margin-bottom: 32px;
96101
font-size: 44px;
97102
line-height: 1.1;
98103
letter-spacing: -1px;
104+
/* 44 / 52 / 62 */
105+
99106
/* text-shadow: 0 5px 5px rgba(0, 0, 0, 0.2); */
100107
}
101108

102109
.header-text {
103110
margin-bottom: 24px;
111+
font-size: 18px;
112+
line-height: 1.7;
104113
}
105114

106115
img {
@@ -112,12 +121,11 @@ img {
112121
stroke: #087f5b;
113122
width: 32px;
114123
height: 32px;
115-
margin-bottom: 16px;
124+
margin-bottom: 24px;
116125
}
117126

118127
.features-title {
119128
margin-bottom: 16px;
120-
line-height: 1.7;
121129
font-size: 20px;
122130
}
123131

@@ -131,6 +139,7 @@ img {
131139
background-color: #087f5b;
132140
color: #fff;
133141
padding: 24px;
142+
border-radius: 12px;
134143
}
135144

136145
.testimonial-box {
@@ -140,6 +149,7 @@ img {
140149

141150
.testimonial-box h2 {
142151
margin-bottom: 24px;
152+
/* 20 / 24 / 30 */
143153
font-size: 24px;
144154
}
145155

@@ -148,15 +158,26 @@ img {
148158
margin-bottom: 24px;
149159
font-size: 18px;
150160
line-height: 1.7;
161+
color: ##e6fcf5;
162+
}
163+
164+
.testimonial-author {
165+
color: #c3fae8;
151166
}
152167

153168
/* CHAIRS */
154169
.chair {
155-
box-shadow: 0px 20px 30px 0px rgb(0, 0, 0, 0.07);
170+
box-shadow: 0 20px 30px 0 rgba(0, 0, 0, 0.07);
171+
border-radius: 12px;
172+
}
173+
174+
.chair img {
175+
border-bottom-left-radius: 0;
176+
border-bottom-right-radius: 0;
156177
}
157178

158179
.chair-box {
159-
padding: 24px;
180+
padding: 32px;
160181
}
161182

162183
h3 {
@@ -166,14 +187,14 @@ h3 {
166187

167188
.chair-details {
168189
list-style: none;
169-
margin-bottom: 24px;
190+
margin-bottom: 48px;
170191
}
171192

172193
.chair-details li {
173194
display: flex;
174195
align-items: center;
175196
gap: 12px;
176-
margin-bottom: 24px;
197+
margin-bottom: 16px;
177198
}
178199

179200
.chair-details li:last-child {
@@ -189,6 +210,7 @@ h3 {
189210
.chair-price {
190211
display: flex;
191212
justify-content: space-between;
213+
align-items: center;
192214
font-size: 20px;
193215
}
194216

0 commit comments

Comments
 (0)