diff options
author | Joey Hess <joey@gnu.kitenet.net> | 2008-12-21 01:04:19 -0500 |
---|---|---|
committer | Joey Hess <joey@gnu.kitenet.net> | 2008-12-21 01:04:19 -0500 |
commit | 5c669ab2266429b7a9e3a69478092a4e3e7b8e74 (patch) | |
tree | d68ef971b446514aa05763080681883f8dc49eaf | |
parent | 7304d6bd72cd2e7081287675f72fb0ded8209aaa (diff) |
comment layout change
I saw a layout similar to this on blogger, and I sorta like it
The dash avoids parens sitting next to each other in some cases.
-rw-r--r-- | doc/style.css | 1 | ||||
-rw-r--r-- | templates/comment.tmpl | 17 |
2 files changed, 9 insertions, 9 deletions
diff --git a/doc/style.css b/doc/style.css index 1fabf6b29..81a260afd 100644 --- a/doc/style.css +++ b/doc/style.css @@ -375,6 +375,7 @@ span.color { .comment-header { font-style: italic; + margin-top: .3em; } .comment .author { font-weight: bold; diff --git a/templates/comment.tmpl b/templates/comment.tmpl index f26cf6d05..6f2b1619e 100644 --- a/templates/comment.tmpl +++ b/templates/comment.tmpl @@ -1,7 +1,13 @@ <div class="comment" id="<TMPL_VAR NAME=INLINEPAGE>"> +<div class="comment-subject"><a href="<TMPL_VAR PERMALINK>"><TMPL_VAR TITLE></a></div> + +<div class="inlinecontent"> +<TMPL_VAR CONTENT> +</div> + <div class="comment-header"> -By +Comment by <TMPL_IF NAME="COMMENTUSER"> <TMPL_IF NAME="COMMENTOPENID"> @@ -31,13 +37,6 @@ By </span> </TMPL_IF><!-- !COMMENTUSER --> -(<TMPL_VAR CTIME>) +— <TMPL_VAR CTIME> </div> - -<div class="comment-subject"><a href="<TMPL_VAR PERMALINK>"><TMPL_VAR TITLE></a></div> - -<div class="inlinecontent"> -<TMPL_VAR CONTENT> -</div> - </div><!--.comment--> |