From 0d58b58523b7b0f48523c51f1e68188e88d2c83f Mon Sep 17 00:00:00 2001 From: Shish Moom <shish@shishnet.org> Date: Mon, 6 Jul 2009 08:51:34 -0700 Subject: [PATCH] more theme niceness --- ext/view/theme.php | 2 +- themes/default/comment.theme.php | 2 +- themes/default/style.css | 5 ++++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/ext/view/theme.php b/ext/view/theme.php index 3b59668e..15069318 100644 --- a/ext/view/theme.php +++ b/ext/view/theme.php @@ -9,7 +9,7 @@ class ViewImageTheme extends Themelet { $page->set_heading(html_escape($image->get_tag_list())); $page->add_block(new Block("Navigation", $this->build_navigation($image), "left", 0)); $page->add_block(new Block(null, $this->build_info($image, $editor_parts), "main", 10)); - $page->add_block(new Block(null, $this->build_pin($image), "main", 11)); + //$page->add_block(new Block(null, $this->build_pin($image), "main", 11)); } public function display_admin_block(Page $page, $parts) { diff --git a/themes/default/comment.theme.php b/themes/default/comment.theme.php index 405b3518..ac41df22 100644 --- a/themes/default/comment.theme.php +++ b/themes/default/comment.theme.php @@ -42,7 +42,7 @@ class CustomCommentListTheme extends CommentListTheme { <div class='rr'> <div class='rrtop'><div></div></div> <div class='rrcontent'> - $h_userlink: $h_comment $h_imagelink $h_dellink + <div class='comment'>$h_userlink: $h_comment $h_imagelink $h_dellink</div> </div> <div class='rrbot'><div></div></div> </div>"; diff --git a/themes/default/style.css b/themes/default/style.css index abe9d3ba..9536c3f9 100644 --- a/themes/default/style.css +++ b/themes/default/style.css @@ -118,6 +118,9 @@ UL { max-width: 150px; overflow: hidden; } +.comment { + text-align: left; +} .more:after { content: " >>>"; @@ -171,7 +174,7 @@ UL { .rrbot {background: url("circle-bl.png") no-repeat bottom left;} .rrbot div {background: url("circle-br.png") no-repeat bottom right;} .rrtop, .rrtop div, .rrbot, .rrbot div {height: 8px; width: 100%;} -.rrcontent {margin: 0px 8px;} +.rrcontent {margin: 0px 8px; text-align: center;} .hrr {text-align: left; background: #CCC; margin: 8px;} .hrrtop {background: url("dcircle-tl.png") no-repeat top left;}