From 4e6f8b8e44b3ce7115b8a93d42ddfee7c7a825bc Mon Sep 17 00:00:00 2001 From: "Philip M. Hofer (Frumph)" Date: Thu, 27 Aug 2009 08:57:50 -0700 Subject: [PATCH] lotsa fixes per tyler Signed-off-by: Philip M. Hofer (Frumph) --- archive-comic-calendar.php | 2 +- archive-comic-year.php | 2 +- header.php | 1 - image.php | 1 + sidebar-right.php | 6 +----- style.css | 18 ++++++++---------- widgets/bookmark.php | 14 ++++++++------ 7 files changed, 20 insertions(+), 24 deletions(-) diff --git a/archive-comic-calendar.php b/archive-comic-calendar.php index 7857760..5895037 100644 --- a/archive-comic-calendar.php +++ b/archive-comic-calendar.php @@ -94,7 +94,7 @@ $month['12'] = array('month' => 'December', 'days' => '31');
-

+

diff --git a/archive-comic-year.php b/archive-comic-year.php index 414eec5..778fa7e 100644 --- a/archive-comic-year.php +++ b/archive-comic-year.php @@ -42,7 +42,7 @@ Template Name: Comic Year Archive
-

+

diff --git a/header.php b/header.php index c5682de..ab7a725 100644 --- a/header.php +++ b/header.php @@ -36,7 +36,6 @@ > -
+
diff --git a/style.css b/style.css index 3d8e67e..2ac7cc7 100644 --- a/style.css +++ b/style.css @@ -494,6 +494,10 @@ h3, h3 a { .post-head, .post-page-head, .post-comic-head { } +.post-head, .post-page-head { + padding:10px 0 0 0; +} + .post-foot, .post-comic-foot, .post-page-foot { } @@ -1128,22 +1132,17 @@ ul.children { /* TRANSCRIPT */ -a.transcript-title { -} - -.transcript-border {border-color:#555;} -#transcript {border-color:#333;} #transcript { padding: 0 10px; font-size: 11px; - border-left: 4px dotted #000; - border-right: 4px dotted #000; + border-left: 4px dotted #333; + border-right: 4px dotted #333; } .transcript-border { padding: 0 5px; margin: 15px 0; - border: 1px solid #000; + border: 1px solid #555; background: #fff; clear: both; } @@ -1154,14 +1153,13 @@ a.transcript-title { display: block; font-family: 'Georgia' , serif; font-style: italic; - border-bottom: 1px dashed #000; font-size: 12px; font-style: normal; font-weight: normal; text-transform: uppercase; letter-spacing: 1px; line-height: 2em; - border-color: #777; + border-bottom: 1px dashed #777; } #transcript-content { diff --git a/widgets/bookmark.php b/widgets/bookmark.php index c521ed8..fca05d6 100644 --- a/widgets/bookmark.php +++ b/widgets/bookmark.php @@ -119,13 +119,15 @@ class widget_comicpress_bookmark extends WP_Widget { } function widget($args, $instance) { + global $post, $wp_query; extract($args, EXTR_SKIP); - - echo $before_widget; - $title = empty($instance['title']) ? '' : apply_filters('widget_title', $instance['title']); - if ( !empty( $title ) ) { echo $before_title . $title . $after_title; }; - comicpress_comic_bookmark(); - echo $after_widget; + if (!is_home() && !is_page() && !is_single()) { + echo $before_widget; + $title = empty($instance['title']) ? '' : apply_filters('widget_title', $instance['title']); + if ( !empty( $title ) ) { echo $before_title . $title . $after_title; }; + comicpress_comic_bookmark(); + echo $after_widget; + } } function update($new_instance, $old_instance) {