Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/parsiya/Hugo-Octopress.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorparsiya@gmail.com <parsiya@gmail.com>2016-04-03 05:02:40 +0300
committerparsiya@gmail.com <parsiya@gmail.com>2016-04-03 05:02:40 +0300
commit7061ae9dcabf869a4e10088d9d3e95676d4d968e (patch)
tree6831dd2e194f01fcff88d11cb7e869c0bffda552
parentbbef3cd9755ee5a9e3ef454e604a621a6de94dd7 (diff)
Modify css to align year/month with article name in archive/tag/category pages
-rw-r--r--static/css/hugo-octopress.css11
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;
}*/