Skip to content

Commit 9ce5c07

Browse files
committed
Implementing Colors.
1 parent 9448808 commit 9ce5c07

File tree

2 files changed

+27
-1
lines changed

2 files changed

+27
-1
lines changed

starter/05-Design/index.html

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,13 @@
55
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
66
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
77

8+
<link rel="preconnect" href="https://fonts.googleapis.com" />
9+
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
10+
<link
11+
href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&family=Lato&display=swap"
12+
rel="stylesheet"
13+
/>
14+
815
<link rel="stylesheet" href="style.css" />
916
<title>Lisbon Chair Shop</title>
1017
</head>

starter/05-Design/style.css

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ FONT SIZE SYSTEM (px)
1616
/* GENERAL STYLES */
1717
/* ------------------------ */
1818
body {
19-
font-family: sans-serif;
19+
font-family: "Inter", sans-serif;
2020
}
2121

2222
.container {
@@ -31,6 +31,9 @@ section {
3131

3232
h2 {
3333
margin-bottom: 48px;
34+
font-size: 36px;
35+
letter-spacing: -0.5px;
36+
/* 24 / 30 / 36 */
3437
}
3538

3639
.grid-3-cols {
@@ -57,10 +60,16 @@ header {
5760

5861
h1 {
5962
margin-bottom: 24px;
63+
font-size: 44px;
64+
line-height: 1.1;
65+
letter-spacing: -1px;
66+
/* 44 / 52 / 62 */
6067
}
6168

6269
.header-text {
6370
margin-bottom: 24px;
71+
font-size: 18px;
72+
line-height: 1.7;
6473
}
6574

6675
img {
@@ -73,9 +82,12 @@ img {
7382

7483
.features-title {
7584
margin-bottom: 16px;
85+
font-size: 20px;
7686
}
7787

7888
.features-text {
89+
font-size: 18px;
90+
line-height: 1.7;
7991
}
8092

8193
/* TESTIMONIAL */
@@ -89,11 +101,15 @@ img {
89101

90102
.testimonial-box h2 {
91103
margin-bottom: 24px;
104+
font-size: 24px;
105+
/* 20 / 24 / 30 */
92106
}
93107

94108
.testimonial-text {
95109
font-style: italic;
96110
margin-bottom: 24px;
111+
font-size: 18px;
112+
line-height: 1.7;
97113
}
98114

99115
/* CHAIRS */
@@ -103,6 +119,7 @@ img {
103119

104120
h3 {
105121
margin-bottom: 24px;
122+
font-size: 20px;
106123
}
107124

108125
.chair-details {
@@ -127,8 +144,10 @@ h3 {
127144
.chair-price {
128145
display: flex;
129146
justify-content: space-between;
147+
font-size: 20px;
130148
}
131149

132150
footer {
133151
margin-bottom: 48px;
152+
font-size: 14px;
134153
}

0 commit comments

Comments
 (0)