diff options
author | parsiya@gmail.com <parsiya@gmail.com> | 2016-04-03 05:02:40 +0300 |
---|---|---|
committer | parsiya@gmail.com <parsiya@gmail.com> | 2016-04-03 05:02:40 +0300 |
commit | 7061ae9dcabf869a4e10088d9d3e95676d4d968e (patch) | |
tree | 6831dd2e194f01fcff88d11cb7e869c0bffda552 | |
parent | bbef3cd9755ee5a9e3ef454e604a621a6de94dd7 (diff) |
Modify css to align year/month with article name in archive/tag/category pages
-rw-r--r-- | static/css/hugo-octopress.css | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/static/css/hugo-octopress.css b/static/css/hugo-octopress.css index 8f5bdd6..1163bf0 100644 --- a/static/css/hugo-octopress.css +++ b/static/css/hugo-octopress.css @@ -1881,23 +1881,22 @@ figure.code figcaption a:hover { margin-left: 5em } #blog-archives h2 { - margin-bottom: .3em; + margin-bottom: 0.3em; font-weight: normal; display: inline-block; position: relative; top: -1px; - float: left - } - #blog-archives h2:first-child { - padding-top: .75em + float: left; + margin-top: 1.7em; /* align year with the rest */ } #blog-archives time { position: absolute; text-align: right; left: 0em; - top: 3.2em; /* may need to change this to align the month/date on the tag/category (archive) pages with post name */ + top: 3em; /* may need to change this to align the month/date on the tag/category (archive) pages with post name */ font-family: "PT Sans","Helvetica Neue",Arial,sans-serif; } + /* #blog-archives .year { display: none; }*/ |