From 43f7693dc96e511cd4e642f25022fe9a21d337b7 Mon Sep 17 00:00:00 2001 From: Adrian Vondendriesch Date: Wed, 3 Jun 2009 19:01:07 +0200 Subject: Pimp the comments-area --- blogthon.cgi | 6 +++--- styles/blogthon.css | 62 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 65 insertions(+), 3 deletions(-) diff --git a/blogthon.cgi b/blogthon.cgi index ed65e76..ddea46c 100755 --- a/blogthon.cgi +++ b/blogthon.cgi @@ -410,9 +410,9 @@ else: print '
' print ' ' print ' ' - print ' ' - print '
' - print '
' + print ' name:' + print '
text:' + print '
' + str(random_int_a) + ' +' + str(random_int_b) + '=' print '
' print '
' print ' ' diff --git a/styles/blogthon.css b/styles/blogthon.css index a5ccbbe..986cb50 100644 --- a/styles/blogthon.css +++ b/styles/blogthon.css @@ -320,4 +320,66 @@ div.entries { div.comments { margin-left: 50px; + width: 600px; } + + div.comment { + margin-top: 5px; + margin-bottom: 5px; + padding-top: 5px; + padding-bottom: 5px; + border-top: 2px solid #AA4444; + border-bottom: 2px solid #AA4444; + } + + div.comment_author { + margin-right: 5px; + font-weight: bold; + float: left; + } + + div.comment_date { + font-size: 9px; + } + + div.comment_content { + clear: left; + border: 1px dotted #AAAAAA; + background-color: #F0F0F0; + } + + div.submit_comment { + border-top: 2px solid #AA4444; + border-bottom: 2px solid #AA4444; + margin-top: 5px; + margin-bottom: 5px; + padding-top: 5px; + padding-bottom: 5px; + } + + span.submit_comment_name { + font-weight: bold; + margin-right: 5px; + } + + span.submit_comment_text { + font-weight: bold; + margin-right: 5px; + } + + textarea.submit_comment_textarea { + background-color #DFDFDF; + } + + span.submit_comment_quiz { + font-weight: bold; + margin-right: 5px; + } + + input.submit_comment_button { + margin-top: 5px; + text-align: right; + border: #000000; + background-color: #DFDFDF; + border: 1px dotted #AAAAAA; + } -- cgit v1.2.3