From 18f091fd2e9021b1fd2d592507314cd788d99a0e Mon Sep 17 00:00:00 2001 From: psychobunny Date: Sat, 21 Mar 2015 15:27:51 -0400 Subject: [PATCH] wrapped up the general layout of topic/posts --- less/topic.less | 7 ++++--- templates/partials/topic/post.tpl | 32 ++++++++++++++++--------------- 2 files changed, 21 insertions(+), 18 deletions(-) diff --git a/less/topic.less b/less/topic.less index 2b94613..51ebcf1 100644 --- a/less/topic.less +++ b/less/topic.less @@ -4,7 +4,6 @@ font-size: 17px; line-height: 17px; border-radius: 50%; - margin-right: 15px; min-width: 46px; min-height: 46px; margin-top: 2px; @@ -18,9 +17,9 @@ } h1 { - font-size: 22px; + font-size: 28px; line-height: 24px; - margin: 0; + margin-bottom: 30px } } @@ -61,6 +60,8 @@ .content { margin-top: 20px; padding-bottom: 10px; + margin-top: -43px; + margin-left: 61px; } } diff --git a/templates/partials/topic/post.tpl b/templates/partials/topic/post.tpl index ffcf6ae..a2197f1 100644 --- a/templates/partials/topic/post.tpl +++ b/templates/partials/topic/post.tpl @@ -1,3 +1,7 @@ + +

{title}

+ +
-

- -

{title}

- - - - - [[global:posted_ago, ]] - - | [[global:last_edited_by_ago, {posts.editor.username}, ]] - - -

+ + + + + + + [[global:posted_ago, ]] + + + | [[global:last_edited_by_ago, {posts.editor.username}, ]] + +
+
{posts.content}

\ No newline at end of file