aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xblogthon.cgi5
-rw-r--r--styles/.blogthon_noir.css.swpbin16384 -> 16384 bytes
-rw-r--r--styles/box.css18
3 files changed, 17 insertions, 6 deletions
diff --git a/blogthon.cgi b/blogthon.cgi
index 7cbda8c..8dca038 100755
--- a/blogthon.cgi
+++ b/blogthon.cgi
@@ -418,7 +418,6 @@ else:
print ' <div class="comment_author">' + line.split(".", 1)[1].strip() + '</div>'
elif line.split(".", 1)[0] == "+":
print ' <div class="comment_date">' + line.split(".", 1)[1].strip() + '</div>'
- #print ' <div class="comment_content">'
else:
line = line.split(".", 1)[1]
print ' ' + line.strip() + '<br />'
@@ -448,8 +447,8 @@ else:
if comments == "True":
comments_file = glob.glob(entries_dir + title + '.comments')
if not comments_file and not post_display:
- print ' <div class="entry_comments">'
- print ' <a href="?p=' + title + '" class="entry_comments">no comments</a>'
+ print ' <div class="entry_comment">'
+ print ' <a href="?p=' + title + '" class="entry_comment">no comments</a>'
print ' </div>'
print ' </div>'
print ''
diff --git a/styles/.blogthon_noir.css.swp b/styles/.blogthon_noir.css.swp
index 96e0c28..dc1a14f 100644
--- a/styles/.blogthon_noir.css.swp
+++ b/styles/.blogthon_noir.css.swp
Binary files differ
diff --git a/styles/box.css b/styles/box.css
index db5d7c6..f8c96bd 100644
--- a/styles/box.css
+++ b/styles/box.css
@@ -101,14 +101,19 @@ div.entries {
width: 580px;
background: #333333;
padding-left: 10px;
- padding-top: 23px;
+ padding-top: 25px;
padding-right: 10px;
}
div.entry {
+ margin-bottom: 20px;
+ background: #444444;
+ border: 1px dotted #000000;
}
div.entry_title {
+ margin-left: 5px;
+ margin-top: 5px;
}
a.entry_title {
@@ -117,14 +122,21 @@ a.entry_title {
div.entry_date {
margin-top: -12px;
+ margin-right: 5px;
float: right;
color: #666666;
}
div.entry_content {
+ margin-left: 10px;
+ margin-right: 10px;
+}
+
+div.entry_comment {
margin-left: 5px;
+ margin-bottom: 5px;
}
-div.entry_border_bottom {
- height: 20px;
+a.entry_comment {
+ text-decoration: none;
}