more wrappers

Signed-off-by: Philip M. Hofer (Frumph) <frumph_dragon@yahoo.com>
This commit is contained in:
Philip M. Hofer (Frumph) 2009-09-07 15:23:01 -07:00
parent cc980c5bc1
commit 05897537c1
27 changed files with 173 additions and 84 deletions

View File

@ -47,7 +47,6 @@ if (is_cp_theme_layout('3c,v3c,gn,standard,v')) {
<?php } ?>
<div class="clear"></div>
</div> <!-- end pageright-wrapper / content-wrapper -->
</div>
<div id="content-wrapper-bottom"></div>
<?php get_footer() ?>

View File

@ -6,6 +6,7 @@ Template Name: Comic Calendar Archive
<?php get_header(); ?>
<?php if (is_cp_theme_layout('gn,v3c,v')) { ?>
<div id="content-wrapper-top"></div>
<div id="content-wrapper">
<?php } ?>
@ -20,6 +21,20 @@ Template Name: Comic Calendar Archive
<div id="pagewrap-right">
<?php } ?>
<?php if (is_cp_theme_layout('3c,standard')) { ?>
<div id="content-wrapper-top"></div>
<div id="content-wrapper">
<?php } ?>
<?php get_sidebar('overblog'); ?>
<?php if (is_cp_theme_layout('3c')) get_sidebar('left'); ?>
<?php if (is_cp_theme_layout('gn,standard,3c')) { ?>
<div id="content" class="narrowcolumn">
<div class="column">
<?php } ?>
<?php
$dayWidth = 22; //set to .cpcal-day total width in pixels including: width, left & right border, left & right margin, left & right padding
@ -81,17 +96,6 @@ $month['11'] = array('month' => 'November', 'days' => '30');
$month['12'] = array('month' => 'December', 'days' => '31');
?>
<?php if (is_cp_theme_layout('3c,standard')) { ?>
<div id="content-wrapper">
<?php } ?>
<?php get_sidebar('overblog'); ?>
<?php if (is_cp_theme_layout('3c')) get_sidebar('left'); ?>
<?php if (is_cp_theme_layout('gn,standard,3c')) { ?>
<div id="content" class="narrowcolumn">
<div class="column">
<?php } ?>
<div class="post-page-head"></div>
<div class="post-page">
<?php while (have_posts()) : the_post() ?>
@ -176,7 +180,6 @@ if (is_cp_theme_layout('3c,v3c,gn,standard,v')) {
<?php } ?>
<div class="clear"></div>
</div> <!-- end pageright-wrapper / content-wrapper -->
</div>
<div id="content-wrapper-bottom"></div>
<?php get_footer() ?>

View File

@ -6,6 +6,7 @@ Template Name: Comic Storyline with Thumbs
<?php get_header(); ?>
<?php if (is_cp_theme_layout('gn,v3c,v')) { ?>
<div id="content-wrapper-top"></div>
<div id="content-wrapper">
<?php } ?>
@ -21,7 +22,8 @@ Template Name: Comic Storyline with Thumbs
<?php } ?>
<?php if (is_cp_theme_layout('3c,standard')) { ?>
<div id="content-wrapper">
<div id="content-wrapper-top"></div>
<div id="content-wrapper">
<?php } ?>
<?php get_sidebar('overblog'); ?>
<?php if (is_cp_theme_layout('3c')) get_sidebar('left'); ?>
@ -106,7 +108,6 @@ if (is_cp_theme_layout('3c,v3c,gn,standard,v')) {
<?php } ?>
<div class="clear"></div>
</div> <!-- end pageright-wrapper / content-wrapper -->
</div>
<div id="content-wrapper-bottom"></div>
<?php get_footer() ?>

View File

@ -6,6 +6,7 @@ Template Name: Comic Storyline Archive
<?php get_header(); ?>
<?php if (is_cp_theme_layout('gn,v3c,v')) { ?>
<div id="content-wrapper-top"></div>
<div id="content-wrapper">
<?php } ?>
@ -21,7 +22,8 @@ Template Name: Comic Storyline Archive
<?php } ?>
<?php if (is_cp_theme_layout('3c,standard')) { ?>
<div id="content-wrapper">
<div id="content-wrapper-top"></div>
<div id="content-wrapper">
<?php } ?>
<?php get_sidebar('overblog'); ?>
<?php if (is_cp_theme_layout('3c')) get_sidebar('left'); ?>
@ -108,7 +110,6 @@ if (is_cp_theme_layout('3c,v3c,gn,standard,v')) {
<?php } ?>
<div class="clear"></div>
</div> <!-- end pageright-wrapper / content-wrapper -->
</div>
<div id="content-wrapper-bottom"></div>
<?php get_footer() ?>

View File

@ -15,6 +15,7 @@ Template Name: Comic Year Archive
<?php get_header(); ?>
<?php if (is_cp_theme_layout('gn,v3c,v')) { ?>
<div id="content-wrapper-top"></div>
<div id="content-wrapper">
<?php } ?>
@ -30,7 +31,8 @@ Template Name: Comic Year Archive
<?php } ?>
<?php if (is_cp_theme_layout('3c,standard')) { ?>
<div id="content-wrapper">
<div id="content-wrapper-top"></div>
<div id="content-wrapper">
<?php } ?>
<?php get_sidebar('overblog'); ?>
<?php if (is_cp_theme_layout('3c')) get_sidebar('left'); ?>
@ -81,7 +83,6 @@ if (is_cp_theme_layout('3c,v3c,gn,standard,v')) {
<?php } ?>
<div class="clear"></div>
</div> <!-- end pageright-wrapper / content-wrapper -->
</div>
<div id="content-wrapper-bottom"></div>
<?php get_footer() ?>

View File

@ -6,6 +6,7 @@ Template Name: Comic Archive
<?php get_header(); ?>
<?php if (is_cp_theme_layout('gn,v3c,v')) { ?>
<div id="content-wrapper-top"></div>
<div id="content-wrapper">
<?php } ?>
@ -21,7 +22,8 @@ Template Name: Comic Archive
<?php } ?>
<?php if (is_cp_theme_layout('3c,standard')) { ?>
<div id="content-wrapper">
<div id="content-wrapper-top"></div>
<div id="content-wrapper">
<?php } ?>
<?php get_sidebar('overblog'); ?>
<?php if (is_cp_theme_layout('3c')) get_sidebar('left'); ?>
@ -69,7 +71,6 @@ if (is_cp_theme_layout('3c,v3c,gn,standard,v')) {
<?php } ?>
<div class="clear"></div>
</div> <!-- end pageright-wrapper / content-wrapper -->
</div>
<div id="content-wrapper-bottom"></div>
<?php get_footer() ?>

View File

@ -1,6 +1,7 @@
<?php get_header(); ?>
<?php if (is_cp_theme_layout('gn,v3c,v')) { ?>
<div id="content-wrapper-top"></div>
<div id="content-wrapper">
<?php } ?>
@ -16,7 +17,8 @@
<?php } ?>
<?php if (is_cp_theme_layout('3c,standard')) { ?>
<div id="content-wrapper">
<div id="content-wrapper-top"></div>
<div id="content-wrapper">
<?php } ?>
<?php get_sidebar('overblog'); ?>
<?php if (is_cp_theme_layout('3c')) get_sidebar('left'); ?>
@ -155,7 +157,6 @@ if (is_cp_theme_layout('3c,v3c,gn,standard,v')) {
<?php } ?>
<div class="clear"></div>
</div> <!-- end pageright-wrapper / content-wrapper -->
</div>
<div id="content-wrapper-bottom"></div>
<?php get_footer() ?>

View File

@ -6,6 +6,7 @@ Template Name: Archives
<?php get_header(); ?>
<?php if (is_cp_theme_layout('gn,v3c,v')) { ?>
<div id="content-wrapper-top"></div>
<div id="content-wrapper">
<?php } ?>
@ -21,7 +22,8 @@ Template Name: Archives
<?php } ?>
<?php if (is_cp_theme_layout('3c,standard')) { ?>
<div id="content-wrapper">
<div id="content-wrapper-top"></div>
<div id="content-wrapper">
<?php } ?>
<?php get_sidebar('overblog'); ?>
<?php if (is_cp_theme_layout('3c')) get_sidebar('left'); ?>
@ -54,7 +56,6 @@ if (is_cp_theme_layout('3c,v3c,gn,standard,v')) {
<?php } ?>
<div class="clear"></div>
</div> <!-- end pageright-wrapper / content-wrapper -->
</div>
<div id="content-wrapper-bottom"></div>
<?php get_footer() ?>

View File

@ -1,6 +1,7 @@
<?php get_header(); ?>
<?php if (is_cp_theme_layout('gn,v3c,v')) { ?>
<div id="content-wrapper-top"></div>
<div id="content-wrapper">
<?php } ?>
@ -16,6 +17,7 @@
<?php } ?>
<?php if (is_cp_theme_layout('3c,standard')) { ?>
<div id="content-wrapper-top"></div>
<div id="content-wrapper">
<?php } ?>
@ -94,7 +96,6 @@ if (is_cp_theme_layout('3c,v3c,gn,standard,v')) {
<?php } ?>
<div class="clear"></div>
</div> <!-- end pageright-wrapper / content-wrapper -->
</div>
<div id="content-wrapper-bottom"></div>
<?php get_footer() ?>

View File

@ -6,6 +6,7 @@ Template Name: Blog
<?php get_header(); ?>
<?php if (is_cp_theme_layout('gn,v3c,v')) { ?>
<div id="content-wrapper-top"></div>
<div id="content-wrapper">
<?php } ?>
@ -21,7 +22,8 @@ Template Name: Blog
<?php } ?>
<?php if (is_cp_theme_layout('3c,standard')) { ?>
<div id="content-wrapper">
<div id="content-wrapper-top"></div>
<div id="content-wrapper">
<?php } ?>
<?php get_sidebar('overblog'); ?>
<?php if (is_cp_theme_layout('3c')) get_sidebar('left'); ?>
@ -59,7 +61,6 @@ if (is_cp_theme_layout('3c,v3c,gn,standard,v')) {
<?php } ?>
<div class="clear"></div>
</div> <!-- end pageright-wrapper / content-wrapper -->
</div>
<div id="content-wrapper-bottom"></div>
<?php get_footer() ?>

View File

@ -10,6 +10,7 @@ Templete Author Email: philip@frumph.net
<?php get_header(); ?>
<?php if (is_cp_theme_layout('gn,v3c,v')) { ?>
<div id="content-wrapper-top"></div>
<div id="content-wrapper">
<?php } ?>
@ -25,7 +26,8 @@ Templete Author Email: philip@frumph.net
<?php } ?>
<?php if (is_cp_theme_layout('3c,standard')) { ?>
<div id="content-wrapper">
<div id="content-wrapper-top"></div>
<div id="content-wrapper">
<?php } ?>
<?php get_sidebar('overblog'); ?>
<?php if (is_cp_theme_layout('3c')) get_sidebar('left'); ?>
@ -136,7 +138,6 @@ if (is_cp_theme_layout('3c,v3c,gn,standard,v')) {
<?php } ?>
<div class="clear"></div>
</div> <!-- end pageright-wrapper / content-wrapper -->
</div>
<div id="content-wrapper-bottom"></div>
<?php get_footer() ?>

View File

@ -17,7 +17,8 @@
</div>
<?php global $disable_page_restraints; if ($disable_page_restraints == 'no') { ?>
</div><!-- Ends "page" -->
</div><!-- Ends "page/page-wide" -->
</div><!-- ends "page-wrap" -->
<?php } ?>
<div id="page-bottom"></div>

View File

@ -36,14 +36,29 @@ function comicpress_body_class($classes = '') {
foreach ( (array)get_the_category( $wp_query->post->ID ) as $cat ) :
$classes[] = 'single-category-' . sanitize_html_class( $cat->slug, $cat->term_id );
endforeach;
$classes[] = 'single-author-' . get_the_author_meta( 'user_nicename', $wp_query->post->post_author );
}
if ( is_sticky( $wp_query->post->ID ) ) {
$classes[] = 'single-sticky';
}
// NOT hijacked from anything, doi! people should do this.
$rightnow = date('gi');
$ampm = date('a');
$classes[] = $ampm;
if ($ampm == 'am') {
if ((int)$rightnow < 30) $classes[] = 'midnight';
if ((int)$rightnow < 560) $classes[] = 'night';
if ((int)$rightnow > 559 && (int)$rightnow < 1130) $classes[] = 'morning';
if ((int)$rightnow > 1129) $classes[]='noon';
} else {
if ((int)$rightnow < 30) $classes[] = 'noon';
if ((int)$rightnow < 560) $classes[] = 'day';
if ((int)$rightnow > 559 && (int)$rightnow < 1130) $classes[] = 'evening';
if ((int)$rightnow > 1129) $classes[]='midnight';
}
if ( is_attachment() ) {
$classes[] = 'attachment attachment-' . $wp_query->post->ID;

View File

@ -48,8 +48,10 @@
<?php if ($disable_page_restraints != 'yes') {
if (is_cp_theme_layout('standard,v')) { ?>
<div id="page"><!-- Defines entire site width - Ends in Footer -->
<div id="page-wrap"><!-- Wraps inside the site width -->
<?php } else { ?>
<div id="page-wide">
<div id="page-wrap">
<?php }
} ?>

View File

@ -1,6 +1,7 @@
<?php get_header(); ?>
<?php if (is_cp_theme_layout('gn,v3c,v')) { ?>
<div id="content-wrapper-top"></div>
<div id="content-wrapper">
<?php } ?>
@ -16,7 +17,8 @@
<?php } ?>
<?php if (is_cp_theme_layout('3c,standard')) { ?>
<div id="content-wrapper">
<div id="content-wrapper-top"></div>
<div id="content-wrapper">
<?php } ?>
<?php get_sidebar('overblog'); ?>
<?php if (is_cp_theme_layout('3c')) get_sidebar('left'); ?>
@ -99,7 +101,6 @@ if (is_cp_theme_layout('3c,v3c,gn,standard,v')) {
<?php } ?>
<div class="clear"></div>
</div> <!-- end pageright-wrapper / content-wrapper -->
</div>
<div id="content-wrapper-bottom"></div>
<?php get_footer() ?>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 252 B

View File

@ -1,6 +1,7 @@
<?php get_header(); ?>
<?php if (is_cp_theme_layout('gn,v3c,v')) { ?>
<div id="content-wrapper-top"></div>
<div id="content-wrapper">
<?php } ?>
@ -35,6 +36,7 @@
<?php } ?>
<?php if (is_cp_theme_layout('3c,standard')) { ?>
<div id="content-wrapper-top"></div>
<div id="content-wrapper">
<?php } ?>
<?php get_sidebar('overblog'); ?>
@ -59,6 +61,7 @@
} else { ?>
<?php if (is_cp_theme_layout('3c,standard')) { ?>
<div id="content-wrapper-top"></div>
<div id="content-wrapper">
<?php } ?>
@ -111,7 +114,6 @@ if (is_cp_theme_layout('3c,v3c,gn,standard,v')) {
<?php } ?>
<div class="clear"></div>
</div> <!-- end pageright-wrapper / content-wrapper -->
</div>
<div id="content-wrapper-bottom"></div>
<?php get_footer() ?>

View File

@ -6,6 +6,7 @@ Template Name: Links
<?php get_header(); ?>
<?php if (is_cp_theme_layout('gn,v3c,v')) { ?>
<div id="content-wrapper-top"></div>
<div id="content-wrapper">
<?php } ?>
@ -21,6 +22,7 @@ Template Name: Links
<?php } ?>
<?php if (is_cp_theme_layout('3c,standard')) { ?>
<div id="content-wrapper-top"></div>
<div id="content-wrapper">
<?php } ?>
@ -52,7 +54,7 @@ Template Name: Links
<div class="post-page-foot"></div>
<?php endwhile; ?>
<div class="clear"></div>
<div class="clear"></div>
</div>
</div>
@ -66,8 +68,6 @@ if (is_cp_theme_layout('3c,v3c,gn,standard,v')) {
<?php } ?>
<div class="clear"></div>
</div> <!-- end pageright-wrapper / content-wrapper -->
<?php get_footer() ?>
</div>
<div id="content-wrapper-bottom"></div>
<?php get_footer() ?>

View File

@ -1,6 +1,7 @@
<?php get_header(); ?>
<?php if (is_cp_theme_layout('gn,v3c,v')) { ?>
<div id="content-wrapper-top"></div>
<div id="content-wrapper">
<?php } ?>
@ -16,6 +17,7 @@
<?php } ?>
<?php if (is_cp_theme_layout('3c,standard')) { ?>
<div id="content-wrapper-top"></div>
<div id="content-wrapper">
<?php } ?>
@ -59,6 +61,6 @@ if (is_cp_theme_layout('3c,v3c,gn,standard,v')) {
<div class="clear"></div>
</div> <!-- end pageright-wrapper / content-wrapper -->
</div>
<div id="content-wrapper-bottom"></div>
<?php get_footer() ?>

View File

@ -1,6 +1,7 @@
<?php get_header(); ?>
<?php if (is_cp_theme_layout('gn,v3c,v')) { ?>
<div id="content-wrapper-top"></div>
<div id="content-wrapper">
<?php } ?>
@ -16,6 +17,7 @@
<?php } ?>
<?php if (is_cp_theme_layout('3c,standard')) { ?>
<div id="content-wrapper-top"></div>
<div id="content-wrapper">
<?php } ?>
@ -140,6 +142,6 @@ if (is_cp_theme_layout('3c,v3c,gn,standard,v')) {
<div class="clear"></div>
</div>
</div> <!-- end pageright-wrapper / content-wrapper -->
</div>
<div id="content-wrapper-bottom"></div>
<?php get_footer() ?>

View File

@ -1,6 +1,7 @@
<?php get_header(); ?>
<?php if (is_cp_theme_layout('gn,v3c,v')) { ?>
<div id="content-wrapper-top"></div>
<div id="content-wrapper">
<?php } ?>
@ -16,6 +17,7 @@
<?php } ?>
<?php if (is_cp_theme_layout('3c,standard')) { ?>
<div id="content-wrapper-top"></div>
<div id="content-wrapper">
<?php } ?>
@ -138,7 +140,6 @@ if (is_cp_theme_layout('3c,v3c,gn,standard,v')) {
<?php } ?>
<div class="clear"></div>
</div> <!-- end pageright-wrapper / content-wrapper -->
</div>
<div id="content-wrapper-bottom"></div>
<?php get_footer() ?>

View File

@ -1,6 +1,7 @@
<?php get_header(); ?>
<?php if (is_cp_theme_layout('gn,v3c,v')) { ?>
<div id="content-wrapper-top"></div>
<div id="content-wrapper">
<?php } ?>
@ -29,7 +30,8 @@
<?php } endwhile; ?>
<?php if (is_cp_theme_layout('3c,standard')) { ?>
<div id="content-wrapper">
<div id="content-wrapper-top"></div>
<div id="content-wrapper">
<?php } ?>
<?php get_sidebar('overblog'); ?>
<?php if (is_cp_theme_layout('3c')) get_sidebar('left'); ?>
@ -86,7 +88,6 @@ if (is_cp_theme_layout('3c,v3c,gn,standard,v')) {
<?php } ?>
<div class="clear"></div>
</div> <!-- end pageright-wrapper / content-wrapper -->
</div>
<div id="content-wrapper-bottom"></div>
<?php get_footer() ?>

View File

@ -182,13 +182,17 @@ h3, h3 a {
/* THE PAGE WRAPPER */
/* Change this width to set the entire site's width - increase/reduce #content width by the same amount */
/* Maintains the #page and #pagewide width after padding is set */
#page-wrap {
}
#page {
width: 780px;
margin: 0px auto;
}
#page-wide {
width: 980px;
width: 990px;
margin: 0px auto;
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 51 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 215 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 272 B

View File

@ -14,11 +14,22 @@ http://www.opensource.org/licenses/gpl-3.0.html
/* STANDARD TAGS */
body {
background: #555;
background: #cfb256 url('background.jpg') repeat;
}
#header {
background: #333;
padding: 20px 0;
}
#header h1 {
text-align: left;
padding-left: 20px;
}
#header .description {
text-align: left;
padding-left: 60px;
}
#content-wrapper {
@ -43,11 +54,21 @@ body {
color: #fff;
}
#page-wide, #page {
#page {
padding: 0 20px;
background: url('classic-background-narrow.png') top center repeat-y;
}
#page-wide {
padding: 0 20px;
background: url('classic-background-wide.png') top center repeat-y;
}
#page-wrap {
background: #ddd;
border-left: solid 2px #000;
border-right: solid 2px #000;
border-bottom: solid 2px #000;
border-left: solid 1px #000;
border-right: solid 1px #000;
border-bottom: solid 1px #000;
}
#sidebar-left {
@ -76,6 +97,32 @@ body {
color: #fff;
}
/* MENU */
.menunav-prev a, .menunav-next a {
border-left: solid 1px #aaa;
}
.menunav-rss:hover {
background: #ff6600;
}
#menu {
text-transform: uppercase;
font-size: 12px;
}
#menu li a {
border-right: solid 1px #aaa;
}
#menu li:hover li a, #menu li li:hover li a, #menu li li li:hover li a, #menu li li li li:hover li a,
#menu li:hover li, #menu li li:hover li, #menu li li li:hover li, #menu li li li li:hover li {
text-transform: uppercase;
font-size: 12px;
}
/* COMMENT LINK */
.comment-link {