diff options
author | Harald Eilertsen <haraldei@anduin.net> | 2018-01-14 20:03:03 +0100 |
---|---|---|
committer | Harald Eilertsen <haraldei@anduin.net> | 2018-01-14 20:03:03 +0100 |
commit | e62f908094f20b3d52222eaf41da07c915ed8cca (patch) | |
tree | c3de4e2ea858f509a5a019c26326aee47045424f | |
parent | 099624218ca84503d31c0f4c21139138d55d0630 (diff) | |
download | rocket-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.css | 5 | ||||
-rw-r--r-- | templates/layout.html | 4 |
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> |