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:
parent
e65a03c69b
commit
0fc9ef7215
31
index.php
31
index.php
|
@ -13,24 +13,23 @@
|
|||
|
||||
<?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());
|
||||
while ($comicFrontpage->have_posts()) : $comicFrontpage->the_post() ?>
|
||||
|
||||
<div id="comic-head"><?php get_sidebar('over'); ?></div>
|
||||
<?php get_sidebar('comicleft'); ?>
|
||||
<div id="comic">
|
||||
<div class="comic-left"><?php get_sidebar('comicleft'); ?></div>
|
||||
<div class="comic-content">
|
||||
<?php display_comic(); ?>
|
||||
</div>
|
||||
<div class="comic-right"><?php get_sidebar('comicright'); ?></div>
|
||||
<?php get_sidebar('comicright'); ?>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
<div id="comic-foot"><?php get_sidebar('under'); ?></div>
|
||||
|
||||
<?php endwhile; ?>
|
||||
|
||||
<?php } ?>
|
||||
<?php } ?>
|
||||
|
||||
<?php if (is_cp_theme_style('3c,standard')) { ?>
|
||||
<div id="content-wrapper">
|
||||
|
@ -53,16 +52,8 @@
|
|||
<div id="blogheader"><!-- This area can be used for a heading above your main page blog posts --></div>
|
||||
|
||||
<?php }
|
||||
if (function_exists('the_project_wonderful_ad')) { ?>
|
||||
<div class="blogpwad">
|
||||
<center>
|
||||
<?php the_project_wonderful_ad('blog'); ?>
|
||||
</center>
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
||||
<?php get_sidebar('blog'); ?>
|
||||
<?php } else { ?>
|
||||
} else { ?>
|
||||
|
||||
<?php if (is_cp_theme_style('3c,standard')) { ?>
|
||||
<div id="content-wrapper">
|
||||
|
@ -76,6 +67,16 @@
|
|||
<?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 (have_posts()) {
|
||||
global $blog_postcount;
|
||||
|
|
|
@ -12,16 +12,16 @@
|
|||
<?php } ?>
|
||||
|
||||
<?php while (have_posts()) : the_post(); if (in_comic_category()) { ?>
|
||||
|
||||
<div id="comic-head"><?php get_sidebar('over'); ?></div>
|
||||
<?php get_sidebar('comicleft'); ?>
|
||||
<div id="comic">
|
||||
<div class="comic-left"><?php get_sidebar('comicleft'); ?></div>
|
||||
<div class="comic-content">
|
||||
<?php display_comic(); ?>
|
||||
</div>
|
||||
<div class="comic-right"><?php get_sidebar('comicright'); ?></div>
|
||||
<?php get_sidebar('comicright'); ?>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
<div id="comic-foot"><?php get_sidebar('under'); ?></div>
|
||||
|
||||
<?php } endwhile; ?>
|
||||
|
||||
<?php if (is_cp_theme_style('3c,standard')) { ?>
|
||||
|
|
32
style.css
32
style.css
|
@ -368,28 +368,26 @@ h3, h3 a {
|
|||
|
||||
/* THE COMIC */
|
||||
|
||||
#comic-head {
|
||||
padding-top: 5px;
|
||||
}
|
||||
|
||||
#comic {
|
||||
background: #fff;
|
||||
padding: 10px 0;
|
||||
border: 1px solid #999;
|
||||
text-align: center;
|
||||
z-index: 100;
|
||||
margin: 10px 0;
|
||||
}
|
||||
|
||||
#comic .comic-left {
|
||||
float: left;
|
||||
}
|
||||
#comic img {
|
||||
margin: 5px;
|
||||
}
|
||||
|
||||
#comic .comic-right {
|
||||
float: right;
|
||||
}
|
||||
#comic-foot {
|
||||
padding-bottom: 5px;
|
||||
}
|
||||
|
||||
|
||||
#comic .comic-content {
|
||||
z-index: 100;
|
||||
}
|
||||
|
||||
/* THE FOOTER */
|
||||
|
||||
#footer {
|
||||
|
@ -478,11 +476,10 @@ a.navi-comments:hover span {
|
|||
margin: 0;
|
||||
}
|
||||
|
||||
|
||||
/* Wraps the content area */
|
||||
#content-wrapper {
|
||||
margin: 0 auto;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
clear: both;
|
||||
}
|
||||
|
||||
|
||||
|
@ -1342,7 +1339,8 @@ li.storyline-root {
|
|||
padding: 5px 0 5px 5px;
|
||||
margin: 0 8px 8px 0;
|
||||
float: left;
|
||||
border: 1px solid #000;
|
||||
border: 1px solid #999;
|
||||
background:#fff;
|
||||
}
|
||||
|
||||
.cpcal-monthtitle {
|
||||
|
@ -1377,7 +1375,7 @@ li.storyline-root {
|
|||
text-align: center;
|
||||
font-size: 10px;
|
||||
line-height: 13px;
|
||||
border: 1px solid #000;
|
||||
border: 1px solid #999;
|
||||
}
|
||||
|
||||
.cpcal-day a {
|
||||
|
|
Loading…
Reference in New Issue