File tree Expand file tree Collapse file tree 2 files changed +24
-3
lines changed Expand file tree Collapse file tree 2 files changed +24
-3
lines changed Original file line number Diff line number Diff line change 4
4
< meta charset ="UTF-8 "/>
5
5
< meta content ="IE=edge " http-equiv ="X-UA-Compatible "/>
6
6
< meta content ="width=device-width, initial-scale=1.0 " name ="viewport "/>
7
-
7
+ < link rel ="preconnect " href ="https://fonts.googleapis.com ">
8
+ < link rel ="preconnect " href ="https://fonts.gstatic.com " crossorigin >
9
+ < link href ="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&display=swap " rel ="stylesheet ">
8
10
< link href ="style.css " rel ="stylesheet "/>
9
11
< title > Lisbon Chair Shop</ title >
10
12
</ head >
Original file line number Diff line number Diff line change @@ -6,7 +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
- * {
9
+ * ,
10
+ * ::before ,
11
+ * ::after {
10
12
margin : 0 ;
11
13
padding : 0 ;
12
14
box-sizing : border-box;
@@ -16,7 +18,7 @@ FONT SIZE SYSTEM (px)
16
18
/* GENERAL STYLES */
17
19
/* ------------------------ */
18
20
body {
19
- font-family : sans-serif;
21
+ font-family : 'Inter' , sans-serif;
20
22
}
21
23
22
24
.container {
@@ -31,6 +33,9 @@ section {
31
33
32
34
h2 {
33
35
margin-bottom : 48px ;
36
+ /*24 / 30 / 36*/
37
+ font-size : 36px ;
38
+ letter-spacing : -0.5px ;
34
39
}
35
40
36
41
.grid-3-cols {
@@ -57,10 +62,15 @@ header {
57
62
58
63
h1 {
59
64
margin-bottom : 24px ;
65
+ font-size : 44px ; /* 44 / 52 / 62 */
66
+ line-height : 1.1 ;
67
+ letter-spacing : -1px ;
60
68
}
61
69
62
70
.header-text {
63
71
margin-bottom : 24px ;
72
+ font-size : 18px ;
73
+ line-height : 1.7 ;
64
74
}
65
75
66
76
img {
73
83
74
84
.features-title {
75
85
margin-bottom : 16px ;
86
+ font-size : 20px ;
76
87
}
77
88
78
89
.features-text {
90
+ font-size : 18px ;
91
+ line-height : 1.7 ;
79
92
}
80
93
81
94
/* TESTIMONIAL */
@@ -89,11 +102,14 @@ img {
89
102
90
103
.testimonial-box h2 {
91
104
margin-bottom : 24px ;
105
+ font-size : 24px ;
92
106
}
93
107
94
108
.testimonial-text {
95
109
font-style : italic;
96
110
margin-bottom : 24px ;
111
+ font-size : 18px ;
112
+ line-height : 1.7 ;
97
113
}
98
114
99
115
/* CHAIRS */
@@ -103,6 +119,7 @@ img {
103
119
104
120
h3 {
105
121
margin-bottom : 24px ;
122
+ font-size : 20px ;
106
123
}
107
124
108
125
.chair-details {
@@ -127,8 +144,10 @@ h3 {
127
144
.chair-price {
128
145
display : flex;
129
146
justify-content : space-between;
147
+ font-size : 20px ;
130
148
}
131
149
132
150
footer {
133
151
margin-bottom : 48px ;
152
+ font-size : 14px ;
134
153
}
You can’t perform that action at this time.
0 commit comments