box.css update

* also a little bugfix (error in containername)
This commit is contained in:
Stefan Ritter 2009-07-08 18:20:11 +02:00
parent 664d89d62b
commit 4332ab6729
3 changed files with 18 additions and 7 deletions

View File

@ -418,7 +418,6 @@ else:
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>'
#print ' <div class="comment_content">'
else: else:
line = line.split(".", 1)[1] line = line.split(".", 1)[1]
print ' ' + line.strip() + '<br />' print ' ' + line.strip() + '<br />'
@ -448,8 +447,8 @@ else:
if comments == "True": if comments == "True":
comments_file = glob.glob(entries_dir + title + '.comments') comments_file = glob.glob(entries_dir + title + '.comments')
if not comments_file and not post_display: if not comments_file and not post_display:
print ' <div class="entry_comments">' print ' <div class="entry_comment">'
print ' <a href="?p=' + title + '" class="entry_comments">no comments</a>' print ' <a href="?p=' + title + '" class="entry_comment">no comments</a>'
print ' </div>' print ' </div>'
print ' </div>' print ' </div>'
print '' print ''

Binary file not shown.

View File

@ -101,14 +101,19 @@ div.entries {
width: 580px; width: 580px;
background: #333333; background: #333333;
padding-left: 10px; padding-left: 10px;
padding-top: 23px; padding-top: 25px;
padding-right: 10px; padding-right: 10px;
} }
div.entry { div.entry {
margin-bottom: 20px;
background: #444444;
border: 1px dotted #000000;
} }
div.entry_title { div.entry_title {
margin-left: 5px;
margin-top: 5px;
} }
a.entry_title { a.entry_title {
@ -117,14 +122,21 @@ a.entry_title {
div.entry_date { div.entry_date {
margin-top: -12px; margin-top: -12px;
margin-right: 5px;
float: right; float: right;
color: #666666; color: #666666;
} }
div.entry_content { div.entry_content {
margin-left: 5px; margin-left: 10px;
margin-right: 10px;
} }
div.entry_border_bottom { div.entry_comment {
height: 20px; margin-left: 5px;
margin-bottom: 5px;
}
a.entry_comment {
text-decoration: none;
} }