Skip to content

Commit 0be389a

Browse files
authored
Merge branch 'master' into nuc-designs
2 parents ec2bde6 + edcd989 commit 0be389a

File tree

2 files changed

+18
-4
lines changed

2 files changed

+18
-4
lines changed

projectfolder/Design/index.html

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
content="width=device-width, initial-scale=1.0"
99
/>
1010

11+
1112
<link rel="stylesheet" href="style.css" />
1213
<link rel="preconnect" href="https://fonts.googleapis.com" />
1314
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
@@ -110,6 +111,11 @@ <h3>The Laid Back</h3>
110111
</ul>
111112
<div class="chair-price">
112113
<strong>250€</strong>
114+
<span>Weighs 22 kg</span>
115+
</li>
116+
</ul>
117+
<div class="chair-price">
118+
<strong>525€</strong>
113119
<a href="#" class="btn btn--small">Add to cart</a>
114120
</div>
115121
</div>
@@ -135,6 +141,7 @@ <h3>The Worker Bee</h3>
135141
</ul>
136142
<div class="chair-price">
137143
<strong>525€</strong>
144+
138145
<a href="#" class="btn btn--small">Add to cart</a>
139146
</div>
140147
</div>
@@ -166,7 +173,6 @@ <h3>The Chair 4/2</h3>
166173
</figure>
167174
</div>
168175
</section>
169-
170176
<footer>
171177
Copyright &copy; 2027 by Jonas Schmedtmann. Part of "Build
172178
Responsive Real-World Websites with HTML and CSS" online course.

projectfolder/Design/style.css

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

9+
910
/* Main Color: #087f5b
1011
Grey Color: #343a40
1112
1213
*/
14+
:root {
15+
--MainColor: #087f5b;
16+
--SecondaryColor: #343a40;
17+
}
1318

1419
* {
1520
margin: 0;
@@ -21,10 +26,12 @@ FONT SIZE SYSTEM (px)
2126
/* GENERAL STYLES */
2227
/* ------------------------ */
2328
body {
29+
2430
/* font-family: sans-serif; */
25-
font-family: 'Poppins', sans-serif;
26-
color: #343a40;
27-
border-bottom: 5px solid #087f5b;
31+
32+
font-family: 'Poppins' sans-serif;
33+
color: var(--SecondaryColor);
34+
border-bottom: 8px solid var(--MainColor);
2835
}
2936

3037
.container {
@@ -47,6 +54,7 @@ h2 {
4754
display: grid;
4855
grid-template-columns: repeat(3, 1fr);
4956
column-gap: 80px;
57+
5058
}
5159

5260
.btn:link,

0 commit comments

Comments
 (0)