diff options
author | Blaise Thompson <blaise@untzag.com> | 2020-04-15 19:05:33 -0500 |
---|---|---|
committer | Blaise Thompson <blaise@untzag.com> | 2020-04-15 19:05:33 -0500 |
commit | 908593022c229a667d0ff2625fd88b65d9331a46 (patch) | |
tree | fb123d5d175dbe9164d9c7d6e0327302e10e2424 /templates | |
parent | 8bea031bd0f2db29dc274bd17f4138f808500734 (diff) |
update style
Diffstat (limited to 'templates')
-rw-r--r-- | templates/footer.html | 9 | ||||
-rw-r--r-- | templates/header.html | 2 | ||||
-rw-r--r-- | templates/index.html | 3 | ||||
-rw-r--r-- | templates/post.html | 2 | ||||
-rw-r--r-- | templates/style.css | 6 |
5 files changed, 13 insertions, 9 deletions
diff --git a/templates/footer.html b/templates/footer.html index 7016b7a..3cc1a0e 100644 --- a/templates/footer.html +++ b/templates/footer.html @@ -1,9 +1,10 @@ <hr> -<ul class="horizontal"> - <li>built {{ date }}</li> - <li><a href="https://creativecommons.org/publicdomain/zero/1.0/">CC0</a>: no copyright</li> -</ul> +<p> +built {{ date }} +{{ "\xa0" * 36 }} +<a href="https://creativecommons.org/publicdomain/zero/1.0/">CC0</a>: no copyright +</p> </body> </html> diff --git a/templates/header.html b/templates/header.html index e913fc1..67bc013 100644 --- a/templates/header.html +++ b/templates/header.html @@ -1,7 +1,7 @@ <!DOCTYPE html> <html> <head> - <meta charset="utf-8" name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no"> + <meta charset="utf-8" name="viewport" content="width=80ch"> <title>{{ title }}</title> <link rel="stylesheet" href="style.css"> </head> diff --git a/templates/index.html b/templates/index.html index 96fe662..7a74e3c 100644 --- a/templates/index.html +++ b/templates/index.html @@ -1,7 +1,7 @@ {% include "header.html" %} <h1> -<a href=http://blaise.zone>blaise</a>/blog +<a href=http://blaise.zone>blaise</a>-blog </h1> <hr> @@ -14,6 +14,7 @@ You may be interested in my <a href=./meta/>meta</a> post. <br> Thanks for stopping by! —Blaise </p> + <p> {% for post in posts %} {{ post.date }} diff --git a/templates/post.html b/templates/post.html index 563fbb1..cf7b1f1 100644 --- a/templates/post.html +++ b/templates/post.html @@ -1,7 +1,7 @@ {% include "header.html" %} <h1> -<a href=http://blaise.zone>blaise</a>/<a href=../>blog</a>/{{ post.title }} +<a href=http://blaise.zone>blaise</a>-<a href=../>blog</a>/{{ post.title }} </h1> <hr> diff --git a/templates/style.css b/templates/style.css index 4517798..c5c545b 100644 --- a/templates/style.css +++ b/templates/style.css @@ -4,15 +4,17 @@ a { } body { - font-family: sans-serif; + font-family: 'DejaVu Sans Mono', monospace; margin: 40px auto; - max-width: 650px; + min-width: 80ch; + max-width: 80ch; line-height: 1.5; font-size: 16px; background-color: #1d1f21; color: #c5c8c6; padding: 0 10px; text-align: left; + overflow-y: scroll; } .singlespaced { |