From de54c9bc209d50b4817af8b6d5ace53573d8d996 Mon Sep 17 00:00:00 2001 From: "Philip M. Hofer (Frumph)" Date: Wed, 4 Nov 2009 04:28:14 -0800 Subject: [PATCH] Changing Comments look & Feel and associated CSS, displayblogpost entity fix Signed-off-by: Philip M. Hofer (Frumph) --- author.php | 14 +++++- comments.php | 10 ++-- functions/displayblogpost.php | 2 +- functions/displaycomicpost.php | 2 +- header.php | 1 - style.css | 90 +++++++++++++++++++++------------- 6 files changed, 75 insertions(+), 44 deletions(-) diff --git a/author.php b/author.php index c93004d..af87b63 100644 --- a/author.php +++ b/author.php @@ -19,7 +19,17 @@
-

display_name; ?>

+ display_name) + $authorname = $curauth->display_name; + elseif($curauth->user_nickname) + $authorname = $curauth->nickname; + elseif($curauth->user_nicename) + $authorname = $curauth->user_nicename; + else + $authorname = $curauth->user_login; + ?> +
user_registered)); ?>

user_url)) { ?> user_url; ?>
@@ -36,7 +46,7 @@
-

nickname; ?> (ID); ?>) ¬

+

(ID); ?>) ¬

    diff --git a/comments.php b/comments.php index 21b7598..037bee0 100644 --- a/comments.php +++ b/comments.php @@ -78,7 +78,7 @@ if ( post_password_required() ) { ?>

    - +

    @@ -96,11 +96,11 @@ if ( post_password_required() ) { ?>

    ID); ?> -

    - +

    +

    -

    +


    @@ -111,7 +111,7 @@ if ( post_password_required() ) { ?> -

    +

        comment_status) { + if ('open' == $post->comment_status && !is_single()) { if (comicpress_check_themepack_file('commentlink') == false) { ?> comment_status == 'open') { + if ($post->comment_status == 'open' && !is_single()) { if (comicpress_check_themepack_file('commentlink') == false) { ?> - diff --git a/style.css b/style.css index 4100382..29d0ec3 100644 --- a/style.css +++ b/style.css @@ -16,7 +16,7 @@ http://www.opensource.org/licenses/gpl-3.0.html body { margin: 0; font-family: 'Arial', sans-serif; - font-size: 12px; + font-size: 11px; color: #000; } @@ -68,11 +68,12 @@ blockquote { } cite { - display: block; font-family: 'Arial', sans-serif; - font-size: 11px; + font-size: 14px; font-weight: bold; font-style: normal; + margin: 0; + padding: 0; } acronym, abbr, span.caps { @@ -519,7 +520,7 @@ a.navi-comments:hover span { .entry { line-height: 1.45em; - font-size: 13px; + font-size: 14px; padding: 3px 0; } @@ -583,26 +584,16 @@ a.navi-comments:hover span { #comment-wrapper { margin-top: 5px; padding: 0 20px; + font-size: 12px; + font-family: 'Arial' , sans-serif; } - -#comment-wrapper h3 { - margin: 0; - padding: 20px 0 0 0; - font-weight: normal; - font-size: 20px; - clear: both; - font-family: 'Georgia' , serif; -} - -.comment { - padding: 2px; - clear: both; - min-height: 64px; -} + .comment { + padding: 2px; + clear: both; + } .comment .comment { margin-left: 30px; - padding-bottom: 10px; } @@ -623,10 +614,25 @@ a.navi-comments:hover span { font-size: smaller; } + .comment-text { + padding-bottom: 20px; + } + .comment-author { display: inline; } +.comment-meta-data { + background: #eee; + border-bottom: solid 1px #000; + margin: 0; + padding: 0; +} + +.bypostauthor .comment-meta-data { + background: #ccc; +} + .comment-meta { display: inline; padding: 0 0 0 5px; @@ -643,31 +649,50 @@ a.navi-comments:hover span { font-size: 11px; } -#comment { - width: 99%; +#comment-textarea, #author, #email, #url { + padding: 2px; + color: #000; + font-family: 'Verdana' , sans-serif; font-size: 12px; - font-family: 'Arial' , sans-serif; + background: #ccc; + border: 1px solid #888; + -moz-border-radius: 6px; + -khtml-border-radius: 6px; + -webkit-border-radius: 6px; + border-radius: 6px; +} + +#comment-textarea { + width: 99%; } #author, #email, #url { - font-size: 12px; - font-family: 'Arial' , sans-serif; + width: 50%; +} + +#comment-textarea:hover, #author:hover, #email:hover, #url:hover, #comment-textarea:focus, #author:focus, #email:focus, #url:focus { + background: #fff; +} + +.comment-submit { + float: right; } .commentlist ul { + padding: 0; + margin: 0; list-style: none; - margin-bottom: 30px; } ol.commentlist { margin: 0; - padding: 0; + padding: 10px 0 30px 0; font-size: 11px; list-style: none; } ol.commentlist p { - margin: 10px 0 0 74px; + margin: 10px 0 0 24px; } ul.children { @@ -750,7 +775,7 @@ ul.children { .sidebar h2, .sidebar h2 a { display: block; display: block; - font-size: 17px; + font-size: 18px; margin: 0; padding: 0; } @@ -788,18 +813,15 @@ ul.children { margin-bottom: 10px; } -.archive-dropdown-wrap { - margin: 10px 0; -} - .archive-dropdown { margin: 0; padding: 0; width: 166px; height: 23px; - font-size: 12px; + font-size: 14px; font-family: 'Arial' , sans-serif; cursor: pointer; + border: solid 1px #555; } /* CALENDAR */