From 2bfea4d59a17c013501cfe07477ce48dee326994 Mon Sep 17 00:00:00 2001 From: zPlus <-> Date: Fri, 18 Mar 2016 16:03:29 +0100 Subject: [PATCH] Template: minor changes --- css/freepost.css | 10 ++++++++-- template/index.twig | 4 ++-- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/css/freepost.css b/css/freepost.css index 41bbdb3b..bdb56c17 100644 --- a/css/freepost.css +++ b/css/freepost.css @@ -134,6 +134,8 @@ html, body .content .posts .post > .info { color: #666; + margin: .5em 0; + opacity: .7; } /* New submission */ @@ -205,19 +207,18 @@ html, body { color: #CD006B; font-size: .8em; + padding: 0 1em 0 0; } .content > .post > .comments > .comment .info { font-size: .9em; - padding: 0 0 0 .5em; } .content > .post > .comments > .comment .info .username > a, .content > .post > .comments > .comment .info .username > a:hover { font-weight: bold; - padding: 0em 0.5em; } .content > .post > .comments > .comment > .info .op > a, @@ -232,6 +233,11 @@ html, body text-decoration: none; } + .content > .post > .comments > .comment .info > .vote + { + margin: 0 1em; + } + /* User home page */ .content table.user { diff --git a/template/index.twig b/template/index.twig index d69d2d6f..4c612e01 100644 --- a/template/index.twig +++ b/template/index.twig @@ -28,8 +28,8 @@ %} {{ post.created|ago }} - by {{ post.username }} • - + by {{ post.username }} + — {{ post.commentsCount ? post.commentsCount }} comments