@@ -6,9 +6,9 @@ FONT SIZE SYSTEM (px)
6
6
10 / 12 / 14 / 16 / 18 / 20 / 24 / 30 / 36 / 44 / 52 / 62 / 74 / 86 / 98
7
7
*/
8
8
9
- /*
10
- MAIN COLOUR : #087f5b
11
- GREY COLOUR : #343a40
9
+ /*
10
+ MAIN COLOR : #087f5b
11
+ GREY COLOR : #343a40
12
12
*/
13
13
14
14
* {
@@ -22,8 +22,6 @@ GREY COLOUR: #343a40
22
22
/* ------------------------ */
23
23
body {
24
24
font-family : "Inter" , sans-serif;
25
- font-size : 18px ;
26
- line-height : 1.6 ;
27
25
color : # 343a40 ;
28
26
border-bottom : 8px solid # 087f5b ;
29
27
}
@@ -35,13 +33,14 @@ body {
35
33
36
34
header ,
37
35
section {
38
- margin-bottom : 48 px ;
36
+ margin-bottom : 96 px ;
39
37
}
40
38
41
39
h2 {
42
40
margin-bottom : 48px ;
43
41
font-size : 36px ;
44
42
letter-spacing : -0.5px ;
43
+ /* 24 / 30 / 36 */
45
44
}
46
45
47
46
.grid-3-cols {
51
50
}
52
51
53
52
.btn : link ,
54
- btn : visited {
53
+ . btn : visited {
55
54
background-color : # 087f5b ;
56
55
color : # fff ;
57
56
text-decoration : none;
58
57
text-transform : uppercase;
58
+ font-weight : 500 ;
59
59
60
60
display : inline-block;
61
- font-weight : 500 ;
61
+ border-radius : 100 px ;
62
62
}
63
63
64
64
.btn : hover ,
@@ -70,11 +70,16 @@ btn:visited {
70
70
font-size : 18px ;
71
71
padding : 16px 32px ;
72
72
}
73
+
73
74
.btn--small {
74
75
font-size : 14px ;
75
76
padding : 8px 12px ;
76
77
}
77
78
79
+ img {
80
+ border-radius : 12px ;
81
+ }
82
+
78
83
/* ------------------------ */
79
84
/* COMPONENT STYLES */
80
85
/* ------------------------ */
@@ -84,23 +89,27 @@ header {
84
89
display : grid;
85
90
grid-template-columns : repeat (2 , 1fr );
86
91
column-gap : 80px ;
87
- margin-top : 48 px ;
92
+ margin-top : 64 px ;
88
93
}
89
94
90
95
.header-text-box {
91
96
align-self : center;
92
97
}
93
98
94
99
h1 {
95
- margin-bottom : 24 px ;
100
+ margin-bottom : 32 px ;
96
101
font-size : 44px ;
97
102
line-height : 1.1 ;
98
103
letter-spacing : -1px ;
104
+ /* 44 / 52 / 62 */
105
+
99
106
/* text-shadow: 0 5px 5px rgba(0, 0, 0, 0.2); */
100
107
}
101
108
102
109
.header-text {
103
110
margin-bottom : 24px ;
111
+ font-size : 18px ;
112
+ line-height : 1.7 ;
104
113
}
105
114
106
115
img {
@@ -112,12 +121,11 @@ img {
112
121
stroke : # 087f5b ;
113
122
width : 32px ;
114
123
height : 32px ;
115
- margin-bottom : 16 px ;
124
+ margin-bottom : 24 px ;
116
125
}
117
126
118
127
.features-title {
119
128
margin-bottom : 16px ;
120
- line-height : 1.7 ;
121
129
font-size : 20px ;
122
130
}
123
131
@@ -131,6 +139,7 @@ img {
131
139
background-color : # 087f5b ;
132
140
color : # fff ;
133
141
padding : 24px ;
142
+ border-radius : 12px ;
134
143
}
135
144
136
145
.testimonial-box {
@@ -140,6 +149,7 @@ img {
140
149
141
150
.testimonial-box h2 {
142
151
margin-bottom : 24px ;
152
+ /* 20 / 24 / 30 */
143
153
font-size : 24px ;
144
154
}
145
155
@@ -148,15 +158,26 @@ img {
148
158
margin-bottom : 24px ;
149
159
font-size : 18px ;
150
160
line-height : 1.7 ;
161
+ color : # # e6fcf5 ;
162
+ }
163
+
164
+ .testimonial-author {
165
+ color : # c3fae8 ;
151
166
}
152
167
153
168
/* CHAIRS */
154
169
.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 ;
156
177
}
157
178
158
179
.chair-box {
159
- padding : 24 px ;
180
+ padding : 32 px ;
160
181
}
161
182
162
183
h3 {
@@ -166,14 +187,14 @@ h3 {
166
187
167
188
.chair-details {
168
189
list-style : none;
169
- margin-bottom : 24 px ;
190
+ margin-bottom : 48 px ;
170
191
}
171
192
172
193
.chair-details li {
173
194
display : flex;
174
195
align-items : center;
175
196
gap : 12px ;
176
- margin-bottom : 24 px ;
197
+ margin-bottom : 16 px ;
177
198
}
178
199
179
200
.chair-details li : last-child {
189
210
.chair-price {
190
211
display : flex;
191
212
justify-content : space-between;
213
+ align-items : center;
192
214
font-size : 20px ;
193
215
}
194
216
0 commit comments