Skip to content

Commit 66a494f

Browse files
committed
Added more css styles, specifically for coloring the regular text, the headings, main header and also related posts. Added also top and bottom borders to the related posts section.
1 parent 0d4db2d commit 66a494f

File tree

2 files changed

+28
-1
lines changed

2 files changed

+28
-1
lines changed

starter/03-CSS-Fundamentals/index.html

Lines changed: 1 addition & 1 deletion
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>

starter/03-CSS-Fundamentals/style.css

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,13 @@ h4,
55
p,
66
li {
77
font-family: sans-serif;
8+
color: #444;
9+
}
10+
11+
h1,
12+
h2,
13+
h3 {
14+
color: #1098ad;
815
}
916

1017
h1 {
@@ -68,3 +75,23 @@ li {
6875
.related {
6976
list-style: none;
7077
}
78+
79+
.main-header {
80+
background-color: #f7f7f7;
81+
/* background-color: #444; */
82+
}
83+
84+
aside {
85+
background-color: #f7f7f7;
86+
/* background-color: #444; */
87+
border-top: 5px solid #1098ad;
88+
border-bottom: 5px solid #1098ad;
89+
}
90+
91+
/* body {
92+
background-color: azure;
93+
}
94+
95+
a {
96+
color: azure;
97+
} */

0 commit comments

Comments
 (0)