Skip to content

Commit 800ad52

Browse files
committed
section-3: Apply base styling to blog.
1 parent 10de6bc commit 800ad52

File tree

2 files changed

+46
-1
lines changed

2 files changed

+46
-1
lines changed

starter/03-CSS-Fundamentals/index.html

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
<html lang="en">
33
<head>
44
<meta charset="UTF-8" />
5+
<link rel="stylesheet" href="style.css">
6+
57
<title>The Basic Language of the Web: HTML</title>
68
</head>
79

@@ -141,6 +143,8 @@ <h4>Related posts</h4>
141143
</ul>
142144
</aside>
143145

144-
<footer>Copyright &copy; 2027 by The Code Magazine.</footer>
146+
<footer>
147+
<p>Copyright &copy; 2027 by The Code Magazine.</p>
148+
</footer>
145149
</body>
146150
</html>
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
h1, h2, h3, h4, p, li {
2+
font-family: sans-serif;
3+
}
4+
5+
h1 {
6+
color: blue;
7+
font-size: 26px;
8+
font-style: italic;
9+
text-transform: uppercase;
10+
}
11+
12+
h2 {
13+
font-size: 40px;
14+
}
15+
16+
h3 {
17+
font-size: 30px;
18+
}
19+
20+
h4 {
21+
font-size: 20px;
22+
text-align: center;
23+
text-transform: uppercase;
24+
}
25+
26+
p {
27+
font-size: 22px;
28+
line-height: 1.5;
29+
}
30+
31+
li {
32+
font-size: 20px;
33+
}
34+
35+
footer p {
36+
font-size: 16px;
37+
}
38+
39+
article header p {
40+
font-style: italic;
41+
}

0 commit comments

Comments
 (0)