Skip to content

Commit ed9b06d

Browse files
committed
[adding_css]
1 parent 3d2652a commit ed9b06d

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

static/style.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
body {
2+
font-family: sans-serif;
3+
font-size: 16px;
4+
background-color: #f0f0f0;
5+
}

templates/base.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<!DOCTYPE html>
22
<html lang="en">
33
<head>
4+
<link rel="stylesheet" href="/static/style.css">
45
<title>{% block title %}Online Store{% endblock %}</title>
56
</head>
67

@@ -18,7 +19,7 @@ <h1>Online Store</h1>
1819
{% block content %}{% endblock %}
1920
</main>
2021
<footer>
21-
<p>Thanks for visiting our store!</p>
22+
<p>Thanks for visiting our store!</p>
2223
</footer>
2324
</body>
2425
</html>

0 commit comments

Comments
 (0)