Skip to content

Commit 389d92c

Browse files
committed
colors
1 parent 1005190 commit 389d92c

File tree

2 files changed

+18
-4
lines changed

2 files changed

+18
-4
lines changed

starter/03-CSS-Fundamentals/index.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ <h5>The Basic Language of the Web: HTML</h5>
1616
<h6>The Basic Language of the Web: HTML</h6>
1717
-->
1818

19-
<header>
19+
<header class="main-header">
2020
<h1>📘 The Code Magazine</h1>
2121

2222
<nav>
@@ -25,7 +25,6 @@ <h1>📘 The Code Magazine</h1>
2525
<a href="#">Flexbox</a>
2626
<a href="#">CSS Grid</a>
2727
</nav>
28-
<p>Test paragraph</p>
2928
</header>
3029

3130
<article>

starter/03-CSS-Fundamentals/style.css

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,14 @@ h4,
55
p,
66
li {
77
font-family: sans-serif;
8+
color: #444;
9+
}
10+
h1,
11+
h2,
12+
h3 {
13+
color: #1098ad;
814
}
9-
1015
h1 {
11-
color: blue;
1216
font-size: 26px;
1317
text-transform: uppercase;
1418
font-style: italic;
@@ -52,3 +56,14 @@ li {
5256
.related {
5357
list-style: none;
5458
}
59+
.main-header {
60+
background-color: #f7f7f7;
61+
}
62+
aside {
63+
background-color: #f7f7f7;
64+
border-top: 5px solid #1098ad;
65+
border-bottom: 5px solid #1098ad;
66+
}
67+
body {
68+
background-color: orchid;
69+
}

0 commit comments

Comments
 (0)