aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2018-01-14 20:03:03 +0100
committerHarald Eilertsen <haraldei@anduin.net>2018-01-14 20:03:03 +0100
commite62f908094f20b3d52222eaf41da07c915ed8cca (patch)
treec3de4e2ea858f509a5a019c26326aee47045424f
parent099624218ca84503d31c0f4c21139138d55d0630 (diff)
downloadrocket-blog-e62f908094f20b3d52222eaf41da07c915ed8cca.tar.gz
rocket-blog-e62f908094f20b3d52222eaf41da07c915ed8cca.tar.bz2
rocket-blog-e62f908094f20b3d52222eaf41da07c915ed8cca.zip
Add page header and simple stylesheet.
-rw-r--r--public/assets/application.css5
-rw-r--r--templates/layout.html4
2 files changed, 9 insertions, 0 deletions
diff --git a/public/assets/application.css b/public/assets/application.css
new file mode 100644
index 0000000..e25b890
--- /dev/null
+++ b/public/assets/application.css
@@ -0,0 +1,5 @@
+.page-header {
+ background-color: #000;
+ color: #dddd84;
+ padding: 1mm;
+}
diff --git a/templates/layout.html b/templates/layout.html
index 09ecd1c..b9c2046 100644
--- a/templates/layout.html
+++ b/templates/layout.html
@@ -2,8 +2,12 @@
<html>
<head>
<title>{{ title }}</title>
+ <link rel="stylesheet" type="text/css" href="/assets/application.css">
</head>
<body>
+ <header class="page-header">
+ <h1>{{ title }}</title>
+ </header>
{{{ content }}}
</body>
</html>