From 593f7c5e8b93aadbee1eef123a93ab9e705bc417 Mon Sep 17 00:00:00 2001 From: Ben Kurtovic Date: Sun, 12 Oct 2014 18:34:31 -0500 Subject: [PATCH] Fix tag filter line height. --- index.html | 2 +- static/main.css | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/index.html b/index.html index 73ac30a..171db00 100644 --- a/index.html +++ b/index.html @@ -104,7 +104,7 @@ title: Home

Posts

-
+
Tags: {% comment %} Based on code from Christian Specht at http://stackoverflow.com/a/24744306/2712951 {% endcomment %} {% capture tags %}{% for tag in site.tags %}{{ tag[1].size | plus: 1000 }}#{{ tag[0] }}#{{ tag[1].size }}{% unless forloop.last %}|{% endunless %}{% endfor %}{% endcapture %} diff --git a/static/main.css b/static/main.css index 18d05c9..b76a171 100644 --- a/static/main.css +++ b/static/main.css @@ -114,6 +114,11 @@ p#bio { font-size: 14px; } +#tags { + line-height: 2em; + margin: -0.375em 0; +} + .tag { background-color: #f2f2f2; border: 1px solid #e8e8e8;