From 0c2cff91e4f4a158a101d5243a595163cea063ae Mon Sep 17 00:00:00 2001 From: Alex 'AdUser' Z Date: Tue, 29 Dec 2015 21:21:28 +1000 Subject: [PATCH] * update comments design --- public/theme/css/default.css | 5 +++++ templates/comments/list.html.ep | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/public/theme/css/default.css b/public/theme/css/default.css index 2404d41..3fff425 100644 --- a/public/theme/css/default.css +++ b/public/theme/css/default.css @@ -83,6 +83,10 @@ h1 { h2 { font-size: 130%; } /* comments */ +div#comments { + padding: 5px; +} + div.comment { margin-bottom: 10px; } @@ -90,6 +94,7 @@ div.comment { div.comment div.cinfo { border-bottom: 1px dashed #506070; margin-bottom: 5px; + padding: 3px; } form#cadd textarea { diff --git a/templates/comments/list.html.ep b/templates/comments/list.html.ep index eb18530..4c66be5 100644 --- a/templates/comments/list.html.ep +++ b/templates/comments/list.html.ep @@ -4,9 +4,9 @@ % foreach my $comment (@{ $comments }) {
- # <%= $num++ %>  - <%= $comment->{user} %>  - <%= from_unixtime $comment->{time} %>  + #<%= $num++ %>,  + <%= $comment->{user} %>,  + <%= from_unixtime $comment->{time} %>
%== markdown $comment->{text}