Correct the Commentsarea in blogthon.cgi an make some changes to the style blogthon_noir
This commit is contained in:
parent
4473c2cbe9
commit
8224638f1d
@ -384,9 +384,9 @@ else:
|
|||||||
print ' </div>'
|
print ' </div>'
|
||||||
print ''
|
print ''
|
||||||
print ' <div class="comments">'
|
print ' <div class="comments">'
|
||||||
print ' <div class="comment">'
|
|
||||||
for line in comments_content:
|
for line in comments_content:
|
||||||
if line.split(".", 1)[0] == "-":
|
if line.split(".", 1)[0] == "-":
|
||||||
|
print ' <div class="comment">'
|
||||||
print ' <div class="comment_author">' + line.split(".", 1)[1].strip() + '</div>'
|
print ' <div class="comment_author">' + line.split(".", 1)[1].strip() + '</div>'
|
||||||
elif line.split(".", 1)[0] == "+":
|
elif line.split(".", 1)[0] == "+":
|
||||||
print ' <div class="comment_date">' + line.split(".", 1)[1].strip() + '</div>'
|
print ' <div class="comment_date">' + line.split(".", 1)[1].strip() + '</div>'
|
||||||
|
@ -321,17 +321,18 @@ div.comments {
|
|||||||
|
|
||||||
div.comment {
|
div.comment {
|
||||||
margin-top: 5px;
|
margin-top: 5px;
|
||||||
margin-bottom: 5px;
|
margin-bottom: 15px;
|
||||||
padding-top: 5px;
|
padding: 5px;
|
||||||
padding-bottom: 5px;
|
|
||||||
border-top: 2px solid #7FFF00;
|
border-top: 2px solid #7FFF00;
|
||||||
border-bottom: 2px solid #FFFF00;
|
border-bottom: 2px solid #FFFF00;
|
||||||
|
border-left: 1px dotted #DFDFDF;
|
||||||
|
border-right: 1px dotted #DFDFDF;
|
||||||
|
background-color: #222222;
|
||||||
}
|
}
|
||||||
|
|
||||||
div.comment_author {
|
div.comment_author {
|
||||||
margin-right: 5px;
|
margin-right: 5px;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
float: left;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
div.comment_date {
|
div.comment_date {
|
||||||
@ -345,12 +346,14 @@ div.comments {
|
|||||||
}
|
}
|
||||||
|
|
||||||
div.submit_comment {
|
div.submit_comment {
|
||||||
|
margin-top: 5px;
|
||||||
|
margin-bottom: 15px;
|
||||||
|
padding: 5px;
|
||||||
border-top: 2px solid #7FFF00;
|
border-top: 2px solid #7FFF00;
|
||||||
border-bottom: 2px solid #FFFF00;
|
border-bottom: 2px solid #FFFF00;
|
||||||
margin-top: 5px;
|
border-left: 1px dotted #DFDFDF;
|
||||||
margin-bottom: 5px;
|
border-right: 1px dotted #DFDFDF;
|
||||||
padding-top: 5px;
|
background-color: #222222;
|
||||||
padding-bottom: 5px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
label.submit_comment_name {
|
label.submit_comment_name {
|
||||||
|
Loading…
Reference in New Issue
Block a user