Began defining CSS for blog view
authorArt Cancro <ajc@citadel.org>
Mon, 15 Nov 2010 04:17:15 +0000 (23:17 -0500)
committerArt Cancro <ajc@citadel.org>
Mon, 15 Nov 2010 04:17:15 +0000 (23:17 -0500)
webcit/blogview_renderer.c
webcit/static/styles/webcit.css
webcit/static/t/view_blog_comment.html

index b5c2298d2f600d97d4009c9f7459660676599adf..949fd179a3a90ea4b29061adebb4c5e28b34b523 100644 (file)
@@ -65,11 +65,9 @@ void blogpost_render_and_destroy(struct blogpost *bp) {
                        wc_printf("<a name=\"comments\"></a>\n");
                        wc_printf(_("%d comments"), bp->num_msgs - 1);
                        wc_printf("<br>\n");
-                       wc_printf("<blockquote>");
                        for (i=1; i<bp->num_msgs; ++i) {
                                read_message(WC->WBuf, HKEY("view_blog_comment"), bp->msgs[i], NULL, &Mime);
                        }
-                       wc_printf("</blockquote>");
                }
        }
 
index 2089edafde16d247cbcbea4f572576fbf6edd509..8cc2f23396dcdb368859bfe40939b9bc7a02574f 100644 (file)
@@ -1217,3 +1217,18 @@ a.event_title:hover span.bttbottom, a.event_unread:hover span.bttbottom, a.event
 }
 
 /*---------- bubble tooltips end -----------*/
+
+
+.blog_comment {
+       border: 1px solid grey;
+       margin-top: 2px;
+       margin-bottom: 2px;
+       margin-left: 5%;
+       margin-right: 1%;
+}
+
+.blog_comment_header {
+       margin-bottom: 1em;
+       font-size: 100%;
+       font-style: italic;
+}
index 3a1fffeed010977b645ef69b1efa4141cc825386..8a24ee42e259b69df12c2ae11d3842b940e59013 100644 (file)
@@ -9,7 +9,7 @@
 </span>
  <span><?MAIL:SUMM:DATEFULL></span>
 </div>
-<div class="blog_comment_content"><div>
+<div class="blog_comment_content">
 <?MAIL:BODY>
 <?!("COND:MAIL:MIME:ATTACH:SUBMESSAGES", 10)>
 <?ITERATE("MAIL:MIME:ATTACH:SUBMESSAGES", ="view_message_inline_attach")>