comic area css cleaning, removed .comic-right .comic-content and .comic-left classes, they are not needed #sidebar-comicright #sidebar-comicleft #comic are just fine.

Signed-off-by: Philip M. Hofer (Frumph) <frumph_dragon@yahoo.com>
This commit is contained in:
Philip M. Hofer (Frumph) 2009-08-30 02:42:24 -07:00
parent e65a03c69b
commit 0fc9ef7215
3 changed files with 47 additions and 48 deletions

View File

@ -13,27 +13,26 @@
<?php if (!(is_paged())) { ?> <?php if (!(is_paged())) { ?>
<?php if ($disable_comic_frontpage != 'yes') { ?> <?php if ($disable_comic_frontpage != 'yes') { ?>
<?php $wp_query ->in_the_loop = true; $comicFrontpage = new WP_Query(); $comicFrontpage->query('showposts=1&cat='.get_all_comic_categories_as_cat_string()); <?php $wp_query ->in_the_loop = true; $comicFrontpage = new WP_Query(); $comicFrontpage->query('showposts=1&cat='.get_all_comic_categories_as_cat_string());
while ($comicFrontpage->have_posts()) : $comicFrontpage->the_post() ?> while ($comicFrontpage->have_posts()) : $comicFrontpage->the_post() ?>
<div id="comic-head"><?php get_sidebar('over'); ?></div> <div id="comic-head"><?php get_sidebar('over'); ?></div>
<div id="comic"> <?php get_sidebar('comicleft'); ?>
<div class="comic-left"><?php get_sidebar('comicleft'); ?></div> <div id="comic">
<div class="comic-content">
<?php display_comic(); ?> <?php display_comic(); ?>
</div> </div>
<div class="comic-right"><?php get_sidebar('comicright'); ?></div> <?php get_sidebar('comicright'); ?>
<div class="clear"></div> <div class="clear"></div>
</div> <div id="comic-foot"><?php get_sidebar('under'); ?></div>
<div id="comic-foot"><?php get_sidebar('under'); ?></div>
<?php endwhile; ?> <?php endwhile; ?>
<?php } ?> <?php } ?>
<?php if (is_cp_theme_style('3c,standard')) { ?> <?php if (is_cp_theme_style('3c,standard')) { ?>
<div id="content-wrapper"> <div id="content-wrapper">
<?php } ?> <?php } ?>
<?php get_sidebar('overblog'); ?> <?php get_sidebar('overblog'); ?>
<?php if (is_cp_theme_style('3c')) get_sidebar('left'); ?> <?php if (is_cp_theme_style('3c')) get_sidebar('left'); ?>
@ -53,16 +52,8 @@
<div id="blogheader"><!-- This area can be used for a heading above your main page blog posts --></div> <div id="blogheader"><!-- This area can be used for a heading above your main page blog posts --></div>
<?php } <?php }
if (function_exists('the_project_wonderful_ad')) { ?>
<div class="blogpwad"> } else { ?>
<center>
<?php the_project_wonderful_ad('blog'); ?>
</center>
</div>
<?php } ?>
<?php get_sidebar('blog'); ?>
<?php } else { ?>
<?php if (is_cp_theme_style('3c,standard')) { ?> <?php if (is_cp_theme_style('3c,standard')) { ?>
<div id="content-wrapper"> <div id="content-wrapper">
@ -76,6 +67,16 @@
<?php } <?php }
} }
if (function_exists('the_project_wonderful_ad')) { ?>
<div class="blogpwad">
<center>
<?php the_project_wonderful_ad('blog'); ?>
</center>
</div>
<?php }
get_sidebar('blog');
if ($disable_blog_frontpage != 'yes') { if ($disable_blog_frontpage != 'yes') {
if (have_posts()) { if (have_posts()) {
global $blog_postcount; global $blog_postcount;

View File

@ -12,16 +12,16 @@
<?php } ?> <?php } ?>
<?php while (have_posts()) : the_post(); if (in_comic_category()) { ?> <?php while (have_posts()) : the_post(); if (in_comic_category()) { ?>
<div id="comic-head"><?php get_sidebar('over'); ?></div> <div id="comic-head"><?php get_sidebar('over'); ?></div>
<?php get_sidebar('comicleft'); ?>
<div id="comic"> <div id="comic">
<div class="comic-left"><?php get_sidebar('comicleft'); ?></div> <?php display_comic(); ?>
<div class="comic-content">
<?php display_comic(); ?>
</div>
<div class="comic-right"><?php get_sidebar('comicright'); ?></div>
<div class="clear"></div>
</div> </div>
<div id="comic-foot"><?php get_sidebar('under'); ?></div> <?php get_sidebar('comicright'); ?>
<div class="clear"></div>
<div id="comic-foot"><?php get_sidebar('under'); ?></div>
<?php } endwhile; ?> <?php } endwhile; ?>
<?php if (is_cp_theme_style('3c,standard')) { ?> <?php if (is_cp_theme_style('3c,standard')) { ?>

View File

@ -368,27 +368,25 @@ h3, h3 a {
/* THE COMIC */ /* THE COMIC */
#comic-head {
padding-top: 5px;
}
#comic { #comic {
background: #fff; background: #fff;
padding: 10px 0;
border: 1px solid #999; border: 1px solid #999;
text-align: center; text-align: center;
z-index: 100; z-index: 100;
margin: 10px 0;
} }
#comic .comic-left { #comic img {
float: left; margin: 5px;
} }
#comic .comic-right {
float: right;
}
#comic-foot {
padding-bottom: 5px;
}
#comic .comic-content {
z-index: 100;
}
/* THE FOOTER */ /* THE FOOTER */
@ -478,11 +476,10 @@ a.navi-comments:hover span {
margin: 0; margin: 0;
} }
/* Wraps the content area */
#content-wrapper { #content-wrapper {
margin: 0 auto; margin: 0;
padding: 0; padding: 0;
clear: both;
} }
@ -1342,7 +1339,8 @@ li.storyline-root {
padding: 5px 0 5px 5px; padding: 5px 0 5px 5px;
margin: 0 8px 8px 0; margin: 0 8px 8px 0;
float: left; float: left;
border: 1px solid #000; border: 1px solid #999;
background:#fff;
} }
.cpcal-monthtitle { .cpcal-monthtitle {
@ -1377,7 +1375,7 @@ li.storyline-root {
text-align: center; text-align: center;
font-size: 10px; font-size: 10px;
line-height: 13px; line-height: 13px;
border: 1px solid #000; border: 1px solid #999;
} }
.cpcal-day a { .cpcal-day a {