diff --git a/wp-content/themes/simplex/404.php b/wp-content/themes/simplex/404.php new file mode 100644 index 0000000000000000000000000000000000000000..ea5ac2db8e112514740f4336398fce38e1caa4fe --- /dev/null +++ b/wp-content/themes/simplex/404.php @@ -0,0 +1,11 @@ +<?php get_header(); ?> +<div id="main"> + <div id="content" class="narrowcolumn"> + + <h2 class="center">Error 404 - Not Found</h2> + + </div> + +<?php get_sidebar(); ?> +</div> +<?php get_footer(); ?> \ No newline at end of file diff --git a/wp-content/themes/simplex/archive.php b/wp-content/themes/simplex/archive.php new file mode 100644 index 0000000000000000000000000000000000000000..c68fd5cd3433c17672e6c5f94b7608e65832e905 --- /dev/null +++ b/wp-content/themes/simplex/archive.php @@ -0,0 +1,55 @@ +<?php get_header(); ?> +<div id="main"> + <div id="content" class="narrowcolumn"> + + <?php if (have_posts()) : ?> + + <?php $post = $posts[0]; // Hack. Set $post so that the_date() works. ?> + <?php /* If this is a category archive */ if (is_category()) { ?> + <h2 class="pagetitle"><?php single_cat_title(); ?></h2> + <?php /* If this is a tag archive */ } elseif( is_tag() ) { ?> + <h2 class="pagetitle">Posts Tagged ‘<?php single_tag_title(); ?>’</h2> + <?php /* If this is a daily archive */ } elseif (is_day()) { ?> + <h2 class="pagetitle">Archive for <?php the_time('F jS, Y'); ?></h2> + <?php /* If this is a monthly archive */ } elseif (is_month()) { ?> + <h2 class="pagetitle">Archive for <?php the_time('F, Y'); ?></h2> + <?php /* If this is a yearly archive */ } elseif (is_year()) { ?> + <h2 class="pagetitle">Archive for <?php the_time('Y'); ?></h2> + <?php /* If this is an author archive */ } elseif (is_author()) { ?> + <h2 class="pagetitle">Author Archive</h2> + <?php /* If this is a paged archive */ } elseif (isset($_GET['paged']) && !empty($_GET['paged'])) { ?> + <h2 class="pagetitle">Archives</h2> + <?php } ?> + + <?php while (have_posts()) : the_post(); ?> + <div class="post"> + <h3 id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h3> + <small>Posted in <?php the_category(', ') ?> on <?php the_time('F jS, Y') ?> by <?php the_author() ?> – <?php comments_popup_link('Be the first to comment', '1 Comment', '% Comments'); ?> <?php edit_post_link('Edit', ' | ', ''); ?> </small> + + <div class="entry"> + <?php the_content('<span class="more">read more »</span>') ?> + </div> + + <?php if(is_single()) {?><p class="postmetadata"><?php the_tags('Tags: ', ', ', '<br />'); ?></p><?php } ?> + + </div> + + <?php endwhile; ?> + + <div class="navigation"> + <div class="alignleft"><?php next_posts_link('« Older Entries') ?></div> + <div class="alignright"><?php previous_posts_link('Newer Entries »') ?></div> + </div> + + <?php else : ?> + + <h2 class="center">Not Found</h2> + <?php include (TEMPLATEPATH . '/searchform.php'); ?> + + <?php endif; ?> + + </div> + +<?php get_sidebar(); ?> +</div> +<?php get_footer(); ?> diff --git a/wp-content/themes/simplex/archives.php b/wp-content/themes/simplex/archives.php new file mode 100644 index 0000000000000000000000000000000000000000..5bbb806a92ac2e992a554cc3870b5eb588697e77 --- /dev/null +++ b/wp-content/themes/simplex/archives.php @@ -0,0 +1,25 @@ +<?php +/* +Template Name: Archives +*/ +?> + +<?php get_header(); ?> +<div id="main"> +<div id="content" class="widecolumn"> + +<?php include (TEMPLATEPATH . '/searchform.php'); ?> + +<h2>Archives by Month:</h2> + <ul> + <?php wp_get_archives('type=monthly'); ?> + </ul> + +<h2>Archives by Subject:</h2> + <ul> + <?php wp_list_categories(); ?> + </ul> + +</div> +</div> +<?php get_footer(); ?> diff --git a/wp-content/themes/simplex/comments-popup.php b/wp-content/themes/simplex/comments-popup.php new file mode 100644 index 0000000000000000000000000000000000000000..2806956c040d14b93f6682c4f1d745438f4ce9a8 --- /dev/null +++ b/wp-content/themes/simplex/comments-popup.php @@ -0,0 +1,116 @@ +<?php +/* Don't remove these lines. */ +add_filter('comment_text', 'popuplinks'); +while ( have_posts()) : the_post(); +?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> + <title><?php echo get_option('blogname'); ?> - Comments on <?php the_title(); ?></title> + + <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php echo get_option('blog_charset'); ?>" /> + <style type="text/css" media="screen"> + @import url( <?php bloginfo('stylesheet_url'); ?> ); + body { margin: 3px; } + </style> + +</head> +<body id="commentspopup"> + +<h1 id="header"><a href="" title="<?php echo get_option('blogname'); ?>"><?php echo get_option('blogname'); ?></a></h1> + +<h2 id="comments">Comments</h2> + +<p><a href="<?php echo get_post_comments_feed_link($post->ID); ?>"><abbr title="Really Simple Syndication">RSS</abbr> feed for comments on this post.</a></p> + +<?php if ('open' == $post->ping_status) { ?> +<p>The <abbr title="Universal Resource Locator">URL</abbr> to TrackBack this entry is: <em><?php trackback_url() ?></em></p> +<?php } ?> + +<?php +// this line is WordPress' motor, do not delete it. +$commenter = wp_get_current_commenter(); +extract($commenter); +$comments = get_approved_comments($id); +$post = get_post($id); +if (!empty($post->post_password) && $_COOKIE['wp-postpass_'. COOKIEHASH] != $post->post_password) { // and it doesn't match the cookie + echo(get_the_password_form()); +} else { ?> + +<?php if ($comments) { ?> +<ol id="commentlist"> +<?php foreach ($comments as $comment) { ?> + <li id="comment-<?php comment_ID() ?>"> + <?php comment_text() ?> + <p><cite><?php comment_type('Comment', 'Trackback', 'Pingback'); ?> by <?php comment_author_link() ?> — <?php comment_date() ?> @ <a href="#comment-<?php comment_ID() ?>"><?php comment_time() ?></a></cite></p> + </li> + +<?php } // end for each comment ?> +</ol> +<?php } else { // this is displayed if there are no comments so far ?> + <p>No comments yet.</p> +<?php } ?> + +<?php if ('open' == $post->comment_status) { ?> +<h2>Leave a comment</h2> +<p>Line and paragraph breaks automatic, e-mail address never displayed, <acronym title="Hypertext Markup Language">HTML</acronym> allowed: <code><?php echo allowed_tags(); ?></code></p> + +<form action="<?php echo get_option('siteurl'); ?>/wp-comments-post.php" method="post" id="commentform"> +<?php if ( $user_ID ) : ?> + <p>Logged in as <a href="<?php echo get_option('siteurl'); ?>/wp-admin/profile.php"><?php echo $user_identity; ?></a>. <a href="<?php echo get_option('siteurl'); ?>/wp-login.php?action=logout" title="Log out of this account">Log out »</a></p> +<?php else : ?> + <p> + <input type="text" name="author" id="author" class="textarea" value="<?php echo $comment_author; ?>" size="28" tabindex="1" /> + <label for="author">Name</label> + <input type="hidden" name="comment_post_ID" value="<?php echo $id; ?>" /> + <input type="hidden" name="redirect_to" value="<?php echo attribute_escape($_SERVER["REQUEST_URI"]); ?>" /> + </p> + + <p> + <input type="text" name="email" id="email" value="<?php echo $comment_author_email; ?>" size="28" tabindex="2" /> + <label for="email">E-mail</label> + </p> + + <p> + <input type="text" name="url" id="url" value="<?php echo $comment_author_url; ?>" size="28" tabindex="3" /> + <label for="url"><abbr title="Universal Resource Locator">URL</abbr></label> + </p> +<?php endif; ?> + + <p> + <label for="comment">Your Comment</label> + <br /> + <textarea name="comment" id="comment" cols="70" rows="4" tabindex="4"></textarea> + </p> + + <p> + <input name="submit" type="submit" tabindex="5" value="Say It!" /> + </p> + <?php do_action('comment_form', $post->ID); ?> +</form> +<?php } else { // comments are closed ?> +<p>Sorry, the comment form is closed at this time.</p> +<?php } +} // end password check +?> + +<div><strong><a href="javascript:window.close()">Close this window.</a></strong></div> + +<?php // if you delete this the sky will fall on your head +endwhile; +?> + +<!-- // this is just the end of the motor - don't touch that line either :) --> +<?php //} ?> +<p class="credit"><?php timer_stop(1); ?> <cite>Powered by <a href="http://wordpress.org/" title="Powered by WordPress, state-of-the-art semantic personal publishing platform"><strong>WordPress</strong></a></cite></p> +<?php // Seen at http://www.mijnkopthee.nl/log2/archive/2003/05/28/esc(18) ?> +<script type="text/javascript"> +<!-- +document.onkeypress = function esc(e) { + if(typeof(e) == "undefined") { e=event; } + if (e.keyCode == 27) { self.close(); } +} +// --> +</script> +</body> +</html> diff --git a/wp-content/themes/simplex/comments.php b/wp-content/themes/simplex/comments.php new file mode 100644 index 0000000000000000000000000000000000000000..f4030ca0d7d77002f2ad71013f37705f0d5c97d4 --- /dev/null +++ b/wp-content/themes/simplex/comments.php @@ -0,0 +1,113 @@ +<?php + +// Do not delete these lines + if (!empty($_SERVER['SCRIPT_FILENAME']) && 'comments.php' == basename($_SERVER['SCRIPT_FILENAME'])) + die ('Please do not load this page directly. Thanks!'); + + if ( post_password_required() ) { ?> + <p class="nocomments">This post is password protected. Enter the password to view comments.</p> + <?php + return; + } +?> + +<!-- You can start editing here. --> + +<?php if ( have_comments() ) : ?> +<div id="maintabdiv"> +<ul id="tabnav"> +<li><a href="#comments" class="tabs current">Comments (<?php comments_number('0','1','%');?>)</a></li> +<li><a href="#trackbacks" class="tabs">Trackbacks</a></li> +</ul> + +<?php if ( ! empty($comments_by_type['comment']) ) : ?> + + + <div id="comments" class="commentlist"> + <ol class="commentlist"> + <?php wp_list_comments('type=comment'); ?> + </ol> + </div> +<?php endif; ?> + + + + +<div id="trackbacks"> +<ol class="commentlist"> +<?php if ( ! empty($comments_by_type['pings']) ) : ?> +<?php wp_list_comments('type=pings'); ?> +<?php else : ?> +<li>There are no trackbacks for this post yet.</li> +<?php endif; ?> +</ol> +</div> + </div> + + <div class="navigation"> + <div class="alignleft"><?php previous_comments_link() ?></div> + <div class="alignright"><?php next_comments_link() ?></div> + </div> + + + + <?php else : // this is displayed if there are no comments so far ?> + + <?php if ('open' == $post->comment_status) : ?> + <!-- If comments are open, but there are no comments. --> + + <?php else : // comments are closed ?> + <!-- If comments are closed. --> + <p class="nocomments">Comments are closed.</p> + + <?php endif; ?> +<?php endif; ?> + +<?php if ('open' == $post->comment_status) : ?> + +<div id="respond"> + +<h3><?php comment_form_title( 'Leave a Reply', 'Leave a Reply to %s' ); ?></h3> + +<div class="cancel-comment-reply"> + <small><?php cancel_comment_reply_link(); ?></small> +</div> + +<?php if ( get_option('comment_registration') && !$user_ID ) : ?> +<p>You must be <a href="<?php echo get_option('siteurl'); ?>/wp-login.php?redirect_to=<?php echo urlencode(get_permalink()); ?>">logged in</a> to post a comment.</p> +<?php else : ?> + +<form action="<?php echo get_option('siteurl'); ?>/wp-comments-post.php" method="post" id="commentform"> + +<?php if ( $user_ID ) : ?> + +<p>Logged in as <a href="<?php echo get_option('siteurl'); ?>/wp-admin/profile.php"><?php echo $user_identity; ?></a>. <a href="<?php echo wp_logout_url(get_permalink()); ?>" title="Log out of this account">Log out »</a></p> + +<?php else : ?> + +<p><input type="text" name="author" id="author" value="<?php echo $comment_author; ?>" size="22" tabindex="1" <?php if ($req) echo "aria-required='true'"; ?> /> +<label for="author"><small>Name <?php if ($req) echo "(required)"; ?></small></label></p> + +<p><input type="text" name="email" id="email" value="<?php echo $comment_author_email; ?>" size="22" tabindex="2" <?php if ($req) echo "aria-required='true'"; ?> /> +<label for="email"><small>Mail (will not be published) <?php if ($req) echo "(required)"; ?></small></label></p> + +<p><input type="text" name="url" id="url" value="<?php echo $comment_author_url; ?>" size="22" tabindex="3" /> +<label for="url"><small>Website</small></label></p> + +<?php endif; ?> + +<!--<p><small><strong>XHTML:</strong> You can use these tags: <code><?php echo allowed_tags(); ?></code></small></p>--> + +<p><textarea name="comment" id="comment" cols="100%" rows="10" tabindex="4"></textarea></p> + +<p><input name="submit" type="submit" id="submit" tabindex="5" value="Submit Comment" /> +<?php comment_id_fields(); ?> +</p> +<?php do_action('comment_form', $post->ID); ?> + +</form> + +<?php endif; // If registration required and not logged in ?> +</div> + +<?php endif; // if you delete this the sky will fall on your head ?> \ No newline at end of file diff --git a/wp-content/themes/simplex/css/autumn.css b/wp-content/themes/simplex/css/autumn.css new file mode 100644 index 0000000000000000000000000000000000000000..b1b563a763c856bf4f4d111503675e0e155cb96c --- /dev/null +++ b/wp-content/themes/simplex/css/autumn.css @@ -0,0 +1,211 @@ +/* Autum Color Theme */ + +body { + background: #fff; + color: #333; + } + +#header { + background: #433518; + } + +#footer { + background: #EBECDD; + } + +#headerimg .description { + color:#BCA87E; + } + +h2.pagetitle { + color: #BCA87E; + } + +#sidebar ul li h2 { + color: #BCA87E; + border-bottom: 3px solid #EBECDF; + } + +h1, h1 a, h1 a:hover, h1 a:visited { + color: #333; + } + +#header h1, #header h1 a, #header h1 a:hover, #header h1 a:visited { + color: #F4E1B9; + } + +h2, h2 a, h2 a:visited, h3, h3 a, h3 a:visited { + color: #333; + } + +.commentlist li { + background:#fdfdfd; + } + +.commentlist li .avatar { + border: 1px solid #eee; + background: #fff; + } + + +.commentlist li.alt { + background:#fefefe; +} + +small, #sidebar ul ul li, #sidebar ul ol li, .nocomments, .postmetadata, strike { + color: #aaa; + } + +code { + border: 1px solid #eee; + background:#F4F4EC; + } + +a { + color: #7C8546; + border-bottom: 1px solid #ccc; + } + +a:hover { + color: #333; + background: #F4F4EC; + border-bottom: 1px solid #C9CBA4; + } + +#sidebar #wp-calendar a { + background: #eee; + } +#sidebar #wp-calendar a:hover { + background: #E8C8C8; + } + +#sidebar #wp-calendar th { + border-bottom:1px solid #eee; + } + +.post hr { + border-top: 1px dotted #ccc; + } + +.narrowcolumn .postmetadata2 { + border-top: 1px solid #eee; + border-bottom: 1px solid #eee; +} + +.entry img { + border: 1px solid #eee; + } + +.entry { + border-top: 1px solid #eee; + } + +#sidebar a { + border-bottom:1px solid #eee; + } +#sidebar a:hover { + border-bottom: 1px solid #C9CBA4; + background-color: #F4F4EC; +} + +#sidebar .cat-item a:hover, #sidebar .archives a:hover, +#sidebar #archives ul li a:hover { + background-color: #F4F4EC; +} + +#sidebar .linkcat a:hover, +#sidebar .blogroll a:hover { + background-color: #F4F4EC; +} + +#sidebar div.flickr_badge_image a { + background: #fff; + border: 1px solid #eee; +} +#sidebar div.flickr_badge_image a:hover { + border: 1px solid #ddd; + background: #fdfdfd; +} + + +#header #searchform #s { + background: #5F4B23; + color: #F4E1B9; + border: 1px solid #78602C; + } + +#header #searchsubmit { + background: #554420; + border: 1px solid #665226; + color: #F4E1B9; + } + +#content #searchform #s { + background: #ddd; + color: #333; + border: 1px solid #bbb; + } + +#content #searchsubmit { + background: #666; + border: 1px solid #777; + color: #ccc; + } + +#commentform input, #commentform textarea, fieldset { + border: 1px solid #ccc; + } + +#commentform #submit { + background: #554420; + border: 1px solid #777; + color:#F4E1B9; + } + +legend { + background: #ccc; +} + +.commentlist li { + border: 1px solid #eee; + } + +#sidebar #wp-calendar td.pad:hover { /* Doesn't work in IE */ + background-color: #fff; } +/* End Calendar */ + +acronym, abbr { + border-bottom: 1px dashed #ccc; + } + +blockquote { + border-left: 4px solid #BCA87E; + background:#FBF4E6; + color:#666; + } + +.wp-caption { + border: 1px solid #ddd; + background-color: #f3f3f3; + } + +.entry a.more-link, .navigation a { + background:#DCDDC5; + border-bottom: 1px solid #C9CBA4; + } +.entry a.more-link:hover, .navigation a:hover { + background: #C9CBA4; + border-bottom: 1px solid #7C8546; + color:#333333; + } + +#sidebar li#rssfeeds a:hover, #sidebar .textwidget a:hover, #sidebar #tag_cloud a:hover, #sidebar p a:hover{ + background: #e8c8c8; + } + + +/* menu colors */ +div.menu {background: #C9CBA4;border-top: 1px solid #C9CBA4;} +.menu ul li.current-menu-item a, .menu ul li.current_page_item, .menu ul li.current_page_item a:hover {color: #333;background: #fff;} +.menu ul a, .menu ul li,.menu ul li li,.menu ul li li li, .menu ul li.current-menu-item li a {color: #7C8546; background:#DCDDC5;} +.menu ul li:hover, .menu ul li.sfHover,.menu ul a:focus, .menu ul a:hover, .menu ul a:active, .menu ul li.current-menu-item li a:hover { color: #DCDDC5; background: #97987B;} \ No newline at end of file diff --git a/wp-content/themes/simplex/css/default.css b/wp-content/themes/simplex/css/default.css new file mode 100644 index 0000000000000000000000000000000000000000..61a730bc1720aaf58f7d968334b2f5d1bcf72d18 --- /dev/null +++ b/wp-content/themes/simplex/css/default.css @@ -0,0 +1,207 @@ +/* Autum Color Theme */ + +body { + background: #fafafa; + color: #333; + } + +#header { + background: #282923; + } + +#footer { + background: #eee; + } + +#headerimg .description { + color:#aaa; + } + +h2.pagetitle { + color: #666; + } + +#sidebar ul li h2 { + color: #999; + border-bottom: 3px solid #eee; + } + +h1, h1 a, h1 a:hover, h1 a:visited { + color: #333; + } + +#header h1, #header h1 a, #header h1 a:hover, #header h1 a:visited { + color: #ddd; + } + +h2, h2 a, h2 a:visited, h3, h3 a, h3 a:visited { + color: #333; + } + +.commentlist li { + background:#fdfdfd; + } + +.commentlist li .avatar { + border: 1px solid #eee; + background: #fff; + } + + +.commentlist li.alt { + background:#fefefe; +} + +small, #sidebar ul ul li, #sidebar ul ol li, .nocomments, .postmetadata, strike { + color: #aaa; + } + +code { + border: 1px solid #eee; + background: #fff; + } + +a { + color: #B85B5A; + border-bottom: 1px solid #E8C8C8; + } + +a:hover { + color: #333; + background: #E8C8C8; + border-bottom: 1px solid #c47373; + } + +#sidebar #wp-calendar a { + background: #eee; + } +#sidebar #wp-calendar a:hover { + background: #E8C8C8; + } + +#sidebar #wp-calendar th { + border-bottom:1px solid #eee; + } + +.post hr { + border-top: 1px dotted #ccc; + } + +.narrowcolumn .postmetadata2 { + border-top: 1px solid #eee; + border-bottom: 1px solid #eee; +} + +.entry img { + border: 1px solid #eee; + } + +.entry { + border-top: 1px solid #eee; + } + +#sidebar a { + border-bottom:1px solid #eee; + } +#sidebar a:hover { + border-bottom: 1px solid #c47373; + background-color: #E8C8C8; +} + +#sidebar .cat-item a:hover, #sidebar .archives a:hover, +#sidebar #archives ul li a:hover, +#sidebar .linkcat a:hover, +#sidebar .blogroll a:hover { + background-color: #E8C8C8; +} + +#sidebar div.flickr_badge_image a { + background: #fff; + border: 1px solid #eee; +} +#sidebar div.flickr_badge_image a:hover { + border: 1px solid #ddd; + background: #fdfdfd; +} + + +#header #searchform #s { + background: #000; + color: #ccc; + border: 1px solid #555; + } + +#header #searchsubmit { + background: #666; + border: 1px solid #777; + color: #ccc; + } + +#content #searchform #s { + background: #ddd; + color: #333; + border: 1px solid #bbb; + } + +#content #searchsubmit { + background: #666; + border: 1px solid #777; + color: #ccc; + } + +#commentform input, #commentform textarea, fieldset { + border: 1px solid #ccc; + } + +#commentform #submit { + background: #666; + border: 1px solid #777; + color:#ccc; + } + +legend { + background: #ccc; +} + +.commentlist li { + border: 1px solid #eee; + } + +#sidebar #wp-calendar td.pad:hover { /* Doesn't work in IE */ + background-color: #fff; } + +acronym, abbr { + border-bottom: 1px dashed #ccc; + } + +blockquote { + border-left: 4px solid #ddd; + background:#eee; + color: #666; + } + +.wp-caption { + border: 1px solid #ddd; + background-color: #f3f3f3; + } + +.entry a.more-link, .navigation a { + background:#ddd; + border-bottom: 1px solid #ccc; + color: #666; + } +.entry a.more-link:hover, .navigation a:hover { + background: #E8C8C8; + border-bottom: 1px solid #c47373; + color:#333; + } + +#sidebar li#rssfeeds a:hover, #sidebar .textwidget a:hover, #sidebar #tag_cloud a:hover, #sidebar p a:hover{ + background: #e8c8c8; + } + +/* menu colors */ +div.menu {background: #ccc;} +.menu ul li.current-menu-item a, .menu ul li.current_page_item, .menu ul li.current_page_item a:hover {color: #333;background: #fafafa;} +.menu ul a, .menu ul li,.menu ul li li,.menu ul li li li, .menu ul li.current-menu-item li a {color: #666;background:#ddd;} +.menu ul li:hover, .menu ul li.sfHover,.menu ul a:focus, .menu ul a:hover, .menu ul a:active, .menu ul li.current-menu-item li a:hover { background: #eee;} \ No newline at end of file diff --git a/wp-content/themes/simplex/css/wordpress.css b/wp-content/themes/simplex/css/wordpress.css new file mode 100644 index 0000000000000000000000000000000000000000..18bd7a3150a81ca34902180f2fbac941411aa44f --- /dev/null +++ b/wp-content/themes/simplex/css/wordpress.css @@ -0,0 +1,201 @@ +/* Autum Color Theme */ + +body { + background: #fff; + color: #333; + } + +#header { + background: #464646; + } + +#headerimg .description { + color: #bbb; + } + +#footer { + background: #eee; + border-top: 1px solid #ddd; + } + +h2.pagetitle { + color: #555; + } + +#sidebar ul li h2 { + color: #333; + border-bottom: 3px solid #dedede; + } + +h1, h1 a { + color: #333; + } + +#header h1, #header h1 a, #header h1 a:hover, #header h1 a:visited { + color: #fff; + } + +h2, h2 a, h2 a:visited, h3, h3 a, h3 a:visited { + color: #333; + } + +.commentlist li { + background:#fdfdfd; + } + +.commentlist li .avatar { + border: 1px solid #eee; + background: #fff; + } + + +.commentlist li.alt { + background:#fefefe; +} + +small, #sidebar ul ul li, #sidebar ul ol li, .nocomments, .postmetadata, strike { + color: #aaa; + } + +code { + border: 1px solid #eee; + background:#F5FAFE; + } + +a { + color: #21759B; + border-bottom: 1px solid #ccc; + } + +a:hover, .entry a.more-link:hover, .navigation a:hover { + color: #D54E21; + background: #F5D1C5; + border-bottom: 1px solid #D54E21; + } + +.entry a.more-link, .navigation a { + background:#F5FAFE; + border-bottom: 1px solid #ddd; + } + +#sidebar #wp-calendar a { + background: #eee; + } +#sidebar #wp-calendar a:hover { + background: #E8C8C8; + } + +#sidebar #wp-calendar th { + border-bottom:1px solid #eee; + } + +.post hr { + border-top: 1px dotted #ccc; + } + +.narrowcolumn .postmetadata2 { + border-top: 1px solid #eee; + border-bottom: 1px solid #eee; +} + +.entry img { + border: 1px solid #eee; + } + +.entry { + border-top: 1px solid #eee; + } + +#sidebar a { + border-bottom:1px solid #eee; + } +#sidebar a:hover { + border-bottom: 1px solid #D54E21; + background-color: #F5D1C5; +} + +#sidebar .cat-item a:hover, #sidebar .archives a:hover, +#sidebar #archives ul li a:hover, +#sidebar .linkcat a:hover, +#sidebar .blogroll a:hover { + background-color: #F5D1C5; +} + +#sidebar div.flickr_badge_image a { + background: #fff; + border: 1px solid #eee; +} +#sidebar div.flickr_badge_image a:hover { + border: 1px solid #ddd; + background: #fdfdfd; +} + +.commentlist li { + border: 1px solid #eee; + } + +#sidebar #wp-calendar td.pad:hover { /* Doesn't work in IE */ + background-color: #fff; } +/* End Calendar */ + +acronym, abbr { + border-bottom: 1px dashed #ccc; + } + +blockquote { + border-left: 4px solid #E2F0FC; + background:#F5FAFE; + color:#666; + } + +.wp-caption { + border: 1px solid #ddd; + background-color: #f3f3f3; + } + + + +#sidebar li#rssfeeds a:hover, #sidebar .textwidget a:hover, #sidebar #tag_cloud a:hover, #sidebar p a:hover{ + background: #e8c8c8; + } + + +/* Form Elements */ + +#header #searchform #s { + background: #5A5A5A; + color: #aaa; + border: 1px solid #666; + } + +#header #searchsubmit, #commentform #submit { + background: #666; + border: 1px solid #888; + color: #bbb; + } + +#content #searchform #s { + background: #ddd; + color: #333; + border: 1px solid #bbb; + } + +#content #searchsubmit { + background: #666; + border: 1px solid #777; + color: #ccc; + } + +#commentform input, #commentform textarea, fieldset { + border: 1px solid #ccc; + } + +legend { + background: #ccc; +} + +/* menu colors */ +div.menu {background: #E4F2FD;border-top: 1px solid #E4F2FD;} +.menu ul li.current-menu-item a, .menu ul li.current_page_item, .menu ul li.current_page_item a:hover {color: #333;background: #fff;} +.menu ul a, .menu ul li,.menu ul li li,.menu ul li li li, .menu ul li.current-menu-item li a {color: #21759B; background:#F1F9FE;} +.menu ul li:hover, .menu ul li.sfHover,.menu ul a:focus, .menu ul a:hover, .menu ul a:active, .menu ul li.current-menu-item li a:hover { color: #D54E21; background: #F5D1C5;} diff --git a/wp-content/themes/simplex/footer.php b/wp-content/themes/simplex/footer.php new file mode 100644 index 0000000000000000000000000000000000000000..2206e03a5a1d04a9f5b03923915e0fcee58810a7 --- /dev/null +++ b/wp-content/themes/simplex/footer.php @@ -0,0 +1,17 @@ + +<hr /> +<div id="footer"> +<div id="footerarea"> + <span id="footerleft"> + © <?php echo date('Y'); ?>. <?php bloginfo('name'); ?>. All rights reserved. + </span> + <span id="footerright"> + <!-- Please help promote WordPress and simpleX. Do not remove --> + Powered by <a href="http://wordpress.org/">WordPress</a> & <a href="http://wpshoppe.com">SimpleX</a> theme. </span></div> +</div> +</div> + +<!-- Simple design by Chandra Maharzan - http://wpshoppe.com/ --> + <?php wp_footer(); ?> +</body> +</html> \ No newline at end of file diff --git a/wp-content/themes/simplex/functions.php b/wp-content/themes/simplex/functions.php new file mode 100644 index 0000000000000000000000000000000000000000..15759cb11dbc4332ade6aec1c6148b8f99521a49 --- /dev/null +++ b/wp-content/themes/simplex/functions.php @@ -0,0 +1,185 @@ +<?php +if ( function_exists('register_sidebar') ) + register_sidebar(); + + +// Add WP 3.0 Menu Theme Support +if ( function_exists( 'add_theme_support' ) ) { + add_theme_support( 'nav-menus' ); + add_action( 'init', 'register_gpp_menus' ); + + function register_gpp_menus() { + register_nav_menus( + array( + 'main-menu' => __( 'Main Menu' ) + ) + ); + } +} + +// Make Menu Support compatible with earlier WP versions +function theme_nav() { + if ( function_exists( 'wp_nav_menu' ) ) + wp_nav_menu( 'sort_column=menu_order&container_class=menu&menu_class=&menu_location=main-menu&fallback_cb=gpptheme_nav_fallback' ); + else + theme_nav_fallback(); +} + +// Create our GPP Fallback Menu +function theme_nav_fallback() { + wp_page_menu( 'show_home=1&menu_class=menu' ); +} + + +//Auto Load JS +function theme_load_js() { + if (is_admin()) return; + wp_enqueue_script('jquery'); + wp_enqueue_script('superfish', get_bloginfo('template_directory').'/includes/js/superfish.js', array( 'jquery' ) ); +} +add_action('init', 'theme_load_js'); + +function load_dom_ready_js() { + $doc_ready_script=""; + $doc_ready_script .= ' + <script type="text/javascript"> + jQuery(document).ready(function(){ + jQuery("div.menu ul").superfish(); + }); + </script>'; + echo $doc_ready_script; +} + +add_action('wp_head', 'load_dom_ready_js'); + + + + +// Custom Theme Options + +$themename = "simpleX"; +$shortname = "sx"; +$options = array ( + array( "name" => "Choose a Style", + "id" => $shortname."_choose_a_style", + "std" => "Simple Default", + "type" => "select", + "options" => array("Simple Default", "Simple Autumn", "Simple WordPress") + ), +); + +function mytheme_add_admin() { + + global $themename, $shortname, $options; + + if ( $_GET['page'] == basename(__FILE__) ) { + + if ( 'save' == $_REQUEST['action'] ) { + + foreach ($options as $value) { + update_option( $value['id'], $_REQUEST[ $value['id'] ] ); } + + foreach ($options as $value) { + if( isset( $_REQUEST[ $value['id'] ] ) ) { update_option( $value['id'], $_REQUEST[ $value['id'] ] ); } else { delete_option( $value['id'] ); } } + + header("Location: themes.php?page=functions.php&saved=true"); + die; + + } else if( 'reset' == $_REQUEST['action'] ) { + + foreach ($options as $value) { + delete_option( $value['id'] ); } + + header("Location: themes.php?page=functions.php&reset=true"); + die; + + } + } + + add_theme_page($themename." Options", "simpleX Options", 'edit_themes', basename(__FILE__), 'mytheme_admin'); + +} + +function mytheme_admin() { + + global $themename, $shortname, $options; + + if ( $_REQUEST['saved'] ) echo '<div id="message" class="updated fade"><p><strong>'.$themename.' options saved.</strong></p></div>'; + if ( $_REQUEST['reset'] ) echo '<div id="message" class="updated fade"><p><strong>'.$themename.' options reset.</strong></p></div>'; + +?> +<div class="wrap"> +<h2><?php echo $themename; ?> Customization</h2> + +<form method="post"> +<br/> +<table class="optiontable"> + +<?php foreach ($options as $value) { + +if ($value['type'] == "text") { ?> + +<tr valign="top"> + <th scope="row"><?php echo $value['name']; ?>:</th> + <td> + <input name="<?php echo $value['id']; ?>" id="<?php echo $value['id']; ?>" type="<?php echo $value['type']; ?>" value="<?php if ( get_option( $value['id'] ) != "") { echo get_option( $value['id'] ); } else { echo $value['std']; } ?>" /> + </td> +</tr> + +<?php } elseif ($value['type'] == "select") { ?> + + <tr valign="top"> + <th scope="row"><?php echo $value['name']; ?>:</th> + <td> + <select name="<?php echo $value['id']; ?>" id="<?php echo $value['id']; ?>"> + <?php foreach ($value['options'] as $option) { ?> + <option<?php if ( get_option( $value['id'] ) == $option) { echo ' selected="selected"'; } elseif ($option == $value['std']) { echo ' selected="selected"'; } ?>><?php echo $option; ?></option> + <?php } ?> + </select> + </td> + </tr> + +<?php +} +} +?> + +</table> + +<p class="submit"> +<input name="save" type="submit" value="Save changes" /> +<input type="hidden" name="action" value="save" /> +</p> +</form> +<form method="post"> +<p class="submit"> +<input name="reset" type="submit" value="Reset" /> +<input type="hidden" name="action" value="reset" /> +</p> +</form> + +<?php +} + +function mytheme_wp_head() { + global $options; + foreach ($options as $value) { + if (get_option( $value['id'] ) === FALSE) { $$value['id'] = $value['std']; } else { $$value['id'] = get_option( $value['id'] ); } + + if($sx_choose_a_style == "Simple Default") { + $theme = "css/default.css"; + } + else if($sx_choose_a_style == "Simple Autumn") { + $theme = "css/autumn.css"; + } + else if($sx_choose_a_style == "Simple WordPress") { + $theme = "css/wordpress.css"; + } + +?> +<link href="<?php bloginfo('template_directory'); ?>/<?php echo $theme; ?>" rel="stylesheet" type="text/css" /> +<?php } +} + +add_action('wp_head', 'mytheme_wp_head'); +add_action('admin_menu', 'mytheme_add_admin'); ?> \ No newline at end of file diff --git a/wp-content/themes/simplex/header.php b/wp-content/themes/simplex/header.php new file mode 100644 index 0000000000000000000000000000000000000000..f31859139b08b335b1b6bda69fc52b67c8575f65 --- /dev/null +++ b/wp-content/themes/simplex/header.php @@ -0,0 +1,28 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>> + +<head profile="http://gmpg.org/xfn/11"> +<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" /> + +<title><?php bloginfo('name'); ?> <?php if ( is_single() ) { ?> » Blog Archive <?php } ?> <?php wp_title(); ?> - <?php bloginfo('description'); ?> </title> + +<link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" /> +<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" /> +<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" /> + +<?php wp_head(); ?> +</head> +<body> +<div id="page"> +<div id="header"> + <div id="headerimg"> + <h1><a href="<?php echo get_option('home'); ?>/"><?php bloginfo('name'); ?></a></h1> + <span class="description"><?php bloginfo('description'); ?></span> + <div id="searchdiv"><?php include (TEMPLATEPATH . '/searchform.php'); ?></div> + </div> + +</div> + +<?php theme_nav(); ?> + +<hr /> \ No newline at end of file diff --git a/wp-content/themes/simplex/ie.css b/wp-content/themes/simplex/ie.css new file mode 100644 index 0000000000000000000000000000000000000000..f4a70b59366978d0f02ce2c4d459efc0d788ae7a --- /dev/null +++ b/wp-content/themes/simplex/ie.css @@ -0,0 +1,12 @@ +#searchdiv { + #margin-left: 398px; /* IE 7 hack */ + _margin-left: 365px; /* IE 6 hack */ +} + +#pagemenu ul#page-list { + display: inline-block; +} + +#pagemenu #page-list li { + margin-left: 5px; +} \ No newline at end of file diff --git a/wp-content/themes/simplex/image.php b/wp-content/themes/simplex/image.php new file mode 100644 index 0000000000000000000000000000000000000000..4a5bafbc2ac08a8228738a1c7442feaecc09682a --- /dev/null +++ b/wp-content/themes/simplex/image.php @@ -0,0 +1,63 @@ +<?php get_header(); ?> + + <div id="content" class="widecolumn"> + + <?php if (have_posts()) : while (have_posts()) : the_post(); ?> + + <div class="post" id="post-<?php the_ID(); ?>"> + <h2><a href="<?php echo get_permalink($post->post_parent); ?>" rev="attachment"><?php echo get_the_title($post->post_parent); ?></a> » <?php the_title(); ?></h2> + <div class="entry"> + <p class="attachment"><a href="<?php echo wp_get_attachment_url($post->ID); ?>"><?php echo wp_get_attachment_image( $post->ID, 'medium' ); ?></a></p> + <div class="caption"><?php if ( !empty($post->post_excerpt) ) the_excerpt(); // this is the "caption" ?></div> + + <?php the_content('<p class="serif">Read the rest of this entry »</p>'); ?> + + <div class="navigation"> + <div class="alignleft"><?php previous_image_link() ?></div> + <div class="alignright"><?php next_image_link() ?></div> + </div> + <br class="clear" /> + + <p class="postmetadata alt"> + <small> + This entry was posted on <?php the_time('l, F jS, Y') ?> at <?php the_time() ?> + and is filed under <?php the_category(', ') ?>. + <?php the_taxonomies(); ?> + You can follow any responses to this entry through the <?php post_comments_feed_link('RSS 2.0'); ?> feed. + + <?php if (('open' == $post-> comment_status) && ('open' == $post->ping_status)) { + // Both Comments and Pings are open ?> + You can <a href="#respond">leave a response</a>, or <a href="<?php trackback_url(); ?>" rel="trackback">trackback</a> from your own site. + + <?php } elseif (!('open' == $post-> comment_status) && ('open' == $post->ping_status)) { + // Only Pings are Open ?> + Responses are currently closed, but you can <a href="<?php trackback_url(); ?> " rel="trackback">trackback</a> from your own site. + + <?php } elseif (('open' == $post-> comment_status) && !('open' == $post->ping_status)) { + // Comments are open, Pings are not ?> + You can skip to the end and leave a response. Pinging is currently not allowed. + + <?php } elseif (!('open' == $post-> comment_status) && !('open' == $post->ping_status)) { + // Neither Comments, nor Pings are open ?> + Both comments and pings are currently closed. + + <?php } edit_post_link('Edit this entry.','',''); ?> + + </small> + </p> + + </div> + + </div> + + <?php comments_template(); ?> + + <?php endwhile; else: ?> + + <p>Sorry, no attachments matched your criteria.</p> + +<?php endif; ?> + + </div> + +<?php get_footer(); ?> diff --git a/wp-content/themes/simplex/images/arrows-ffffff.png b/wp-content/themes/simplex/images/arrows-ffffff.png new file mode 100644 index 0000000000000000000000000000000000000000..1035b6e4f2e335b65a7922caca9c90277496d1e0 Binary files /dev/null and b/wp-content/themes/simplex/images/arrows-ffffff.png differ diff --git a/wp-content/themes/simplex/images/cat.gif b/wp-content/themes/simplex/images/cat.gif new file mode 100644 index 0000000000000000000000000000000000000000..9541bc9ed04b6144fc1a6d6bacf2f2ef4e9fa326 Binary files /dev/null and b/wp-content/themes/simplex/images/cat.gif differ diff --git a/wp-content/themes/simplex/images/downloadsimplex.gif b/wp-content/themes/simplex/images/downloadsimplex.gif new file mode 100644 index 0000000000000000000000000000000000000000..c25e1d81b10f3109dd892e4c342f37a107fe5ee9 Binary files /dev/null and b/wp-content/themes/simplex/images/downloadsimplex.gif differ diff --git a/wp-content/themes/simplex/images/fav.gif b/wp-content/themes/simplex/images/fav.gif new file mode 100644 index 0000000000000000000000000000000000000000..8e4298f1642d11c1ea416555a18e12acca96d3bf Binary files /dev/null and b/wp-content/themes/simplex/images/fav.gif differ diff --git a/wp-content/themes/simplex/images/meta.gif b/wp-content/themes/simplex/images/meta.gif new file mode 100644 index 0000000000000000000000000000000000000000..d26c3978330f74f072a35d1ce59e4e2a7f82aa0c Binary files /dev/null and b/wp-content/themes/simplex/images/meta.gif differ diff --git a/wp-content/themes/simplex/images/rss.gif b/wp-content/themes/simplex/images/rss.gif new file mode 100644 index 0000000000000000000000000000000000000000..0e5f87e1a90d6432bbaeed5e93dac72c6fa72503 Binary files /dev/null and b/wp-content/themes/simplex/images/rss.gif differ diff --git a/wp-content/themes/simplex/includes/css/superfish.css b/wp-content/themes/simplex/includes/css/superfish.css new file mode 100644 index 0000000000000000000000000000000000000000..3fee2f26b3d9045bb1dfe0bfce2a2e44e29ac5dc --- /dev/null +++ b/wp-content/themes/simplex/includes/css/superfish.css @@ -0,0 +1,123 @@ + +/*** ESSENTIAL STYLES ***/ +.menu ul, .menu ul * { + margin: 0; + padding: 0; + list-style: none; +} +.menu ul { + line-height: 1.0; +} +.menu ul ul { + position: absolute; + top: -999em; + width: 14em; /* left offset of submenus need to match (see below) */ +} +.menu ul ul li { + width: 100%; +} +.menu ul li:hover { + visibility: inherit; /* fixes IE7 'sticky bug' */ +} +.menu ul li { + float: left; + position: relative; +} +.menu ul a { + display: block; + position: relative; +} +.menu ul li:hover ul, +.menu ul li.sfHover ul { + left: 0; + top: 3em; /* match top ul list item height */ + z-index: 99; +} +.menu ul li:hover li ul, +.menu ul li.sfHover li ul { + top: -999em; +} +.menu ul li li:hover ul, +.menu ul li li.sfHover ul { + left: 14em; /* match ul width */ + top: 0; +} +.menu ul li li:hover li ul, +.menu ul li li.sfHover li ul { + top: -999em; +} +.menu ul li li li:hover ul, +.menu ul li li li.sfHover ul { + left: 14em; /* match ul width */ + top: 0; +} + +/*** DEMO SKIN ***/ +.menu ul { + float: left; + margin-bottom: 1em; +} +.menu ul a { + padding: .75em 1em; + text-decoration:none; +} + + +.menu ul li:hover, .menu ul li.sfHover, +.menu ul a:focus, .menu ul a:hover, .menu ul a:active { + outline: 0; +} + +/*** arrows **/ +.menu ul a.sf-with-ul { + padding-right: 2.25em; + min-width: 1px; /* trigger IE7 hasLayout so spans position accurately */ +} +.sf-sub-indicator { + position: absolute; + display: block; + right: .75em; + top: 1.05em; /* IE6 only */ + width: 10px; + height: 10px; + text-indent: -999em; + overflow: hidden; + background: url('../../images/arrows-ffffff.png') no-repeat -10px -100px; /* 8-bit indexed alpha png. IE6 gets solid image only */ +} +a > .sf-sub-indicator { /* give all except IE6 the correct values */ + top: .8em; + background-position: 0 -100px; /* use translucent arrow for modern browsers*/ +} +/* apply hovers to modern browsers */ +a:focus > .sf-sub-indicator, +a:hover > .sf-sub-indicator, +a:active > .sf-sub-indicator, +li:hover > a > .sf-sub-indicator, +li.sfHover > a > .sf-sub-indicator { + background-position: -10px -100px; /* arrow hovers for modern browsers*/ +} + +/* point right for anchors in subs */ +.menu ul ul .sf-sub-indicator { background-position: -10px 0; } +.menu ul ul a > .sf-sub-indicator { background-position: 0 0; } +/* apply hovers to modern browsers */ +.menu ul ul a:focus > .sf-sub-indicator, +.menu ul ul a:hover > .sf-sub-indicator, +.menu ul ul a:active > .sf-sub-indicator, +.menu ul ul li:hover > a > .sf-sub-indicator, +.menu ul ul li.sfHover > a > .sf-sub-indicator { + background-position: -10px 0; /* arrow hovers for modern browsers*/ +} + +/*** shadows for all but IE6 ***/ +.sf-shadow ul { + background: url('../images/shadow.png') no-repeat bottom right; + padding: 0 8px 9px 0; + -moz-border-radius-bottomleft: 17px; + -moz-border-radius-topright: 17px; + -webkit-border-top-right-radius: 17px; + -webkit-border-bottom-left-radius: 17px; +} +.sf-shadow ul.sf-shadow-off { + background: transparent; +} diff --git a/wp-content/themes/simplex/includes/js/hoverIntent.js b/wp-content/themes/simplex/includes/js/hoverIntent.js new file mode 100644 index 0000000000000000000000000000000000000000..91da57b24489ddfff62798ad06759308be3d60ea --- /dev/null +++ b/wp-content/themes/simplex/includes/js/hoverIntent.js @@ -0,0 +1,84 @@ +(function($){ + /* hoverIntent by Brian Cherne */ + $.fn.hoverIntent = function(f,g) { + // default configuration options + var cfg = { + sensitivity: 7, + interval: 100, + timeout: 0 + }; + // override configuration options with user supplied object + cfg = $.extend(cfg, g ? { over: f, out: g } : f ); + + // instantiate variables + // cX, cY = current X and Y position of mouse, updated by mousemove event + // pX, pY = previous X and Y position of mouse, set by mouseover and polling interval + var cX, cY, pX, pY; + + // A private function for getting mouse position + var track = function(ev) { + cX = ev.pageX; + cY = ev.pageY; + }; + + // A private function for comparing current and previous mouse position + var compare = function(ev,ob) { + ob.hoverIntent_t = clearTimeout(ob.hoverIntent_t); + // compare mouse positions to see if they've crossed the threshold + if ( ( Math.abs(pX-cX) + Math.abs(pY-cY) ) < cfg.sensitivity ) { + $(ob).unbind("mousemove",track); + // set hoverIntent state to true (so mouseOut can be called) + ob.hoverIntent_s = 1; + return cfg.over.apply(ob,[ev]); + } else { + // set previous coordinates for next time + pX = cX; pY = cY; + // use self-calling timeout, guarantees intervals are spaced out properly (avoids JavaScript timer bugs) + ob.hoverIntent_t = setTimeout( function(){compare(ev, ob);} , cfg.interval ); + } + }; + + // A private function for delaying the mouseOut function + var delay = function(ev,ob) { + ob.hoverIntent_t = clearTimeout(ob.hoverIntent_t); + ob.hoverIntent_s = 0; + return cfg.out.apply(ob,[ev]); + }; + + // A private function for handling mouse 'hovering' + var handleHover = function(e) { + // next three lines copied from jQuery.hover, ignore children onMouseOver/onMouseOut + var p = (e.type == "mouseover" ? e.fromElement : e.toElement) || e.relatedTarget; + while ( p && p != this ) { try { p = p.parentNode; } catch(e) { p = this; } } + if ( p == this ) { return false; } + + // copy objects to be passed into t (required for event object to be passed in IE) + var ev = jQuery.extend({},e); + var ob = this; + + // cancel hoverIntent timer if it exists + if (ob.hoverIntent_t) { ob.hoverIntent_t = clearTimeout(ob.hoverIntent_t); } + + // else e.type == "onmouseover" + if (e.type == "mouseover") { + // set "previous" X and Y position based on initial entry point + pX = ev.pageX; pY = ev.pageY; + // update "current" X and Y position based on mousemove + $(ob).bind("mousemove",track); + // start polling interval (self-calling timeout) to compare mouse coordinates over time + if (ob.hoverIntent_s != 1) { ob.hoverIntent_t = setTimeout( function(){compare(ev,ob);} , cfg.interval );} + + // else e.type == "onmouseout" + } else { + // unbind expensive mousemove event + $(ob).unbind("mousemove",track); + // if hoverIntent state is true, then call the mouseOut function after the specified delay + if (ob.hoverIntent_s == 1) { ob.hoverIntent_t = setTimeout( function(){delay(ev,ob);} , cfg.timeout );} + } + }; + + // bind the function to the two event listeners + return this.mouseover(handleHover).mouseout(handleHover); + }; + +})(jQuery); \ No newline at end of file diff --git a/wp-content/themes/simplex/includes/js/jquery.bgiframe.min.js b/wp-content/themes/simplex/includes/js/jquery.bgiframe.min.js new file mode 100644 index 0000000000000000000000000000000000000000..b5af5204322dd76ae4d90e2b0128f209187642d6 --- /dev/null +++ b/wp-content/themes/simplex/includes/js/jquery.bgiframe.min.js @@ -0,0 +1,10 @@ +/* Copyright (c) 2006 Brandon Aaron (http://brandonaaron.net) + * Dual licensed under the MIT (http://www.opensource.org/licenses/mit-license.php) + * and GPL (http://www.opensource.org/licenses/gpl-license.php) licenses. + * + * $LastChangedDate: 2007-06-19 20:25:28 -0500 (Tue, 19 Jun 2007) $ + * $Rev: 2111 $ + * + * Version 2.1 + */ +(function($){$.fn.bgIframe=$.fn.bgiframe=function(s){if($.browser.msie&&parseInt($.browser.version)<=6){s=$.extend({top:'auto',left:'auto',width:'auto',height:'auto',opacity:true,src:'javascript:false;'},s||{});var prop=function(n){return n&&n.constructor==Number?n+'px':n;},html='<iframe class="bgiframe"frameborder="0"tabindex="-1"src="'+s.src+'"'+'style="display:block;position:absolute;z-index:-1;'+(s.opacity!==false?'filter:Alpha(Opacity=\'0\');':'')+'top:'+(s.top=='auto'?'expression(((parseInt(this.parentNode.currentStyle.borderTopWidth)||0)*-1)+\'px\')':prop(s.top))+';'+'left:'+(s.left=='auto'?'expression(((parseInt(this.parentNode.currentStyle.borderLeftWidth)||0)*-1)+\'px\')':prop(s.left))+';'+'width:'+(s.width=='auto'?'expression(this.parentNode.offsetWidth+\'px\')':prop(s.width))+';'+'height:'+(s.height=='auto'?'expression(this.parentNode.offsetHeight+\'px\')':prop(s.height))+';'+'"/>';return this.each(function(){if($('> iframe.bgiframe',this).length==0)this.insertBefore(document.createElement(html),this.firstChild);});}return this;};if(!$.browser.version)$.browser.version=navigator.userAgent.toLowerCase().match(/.+(?:rv|it|ra|ie)[\/: ]([\d.]+)/)[1];})(jQuery); \ No newline at end of file diff --git a/wp-content/themes/simplex/includes/js/superfish.js b/wp-content/themes/simplex/includes/js/superfish.js new file mode 100644 index 0000000000000000000000000000000000000000..c6a9c7de0459ad3bec593e697175d60fa5b74228 --- /dev/null +++ b/wp-content/themes/simplex/includes/js/superfish.js @@ -0,0 +1,121 @@ + +/* + * Superfish v1.4.8 - jQuery menu widget + * Copyright (c) 2008 Joel Birch + * + * Dual licensed under the MIT and GPL licenses: + * http://www.opensource.org/licenses/mit-license.php + * http://www.gnu.org/licenses/gpl.html + * + * CHANGELOG: http://users.tpg.com.au/j_birch/plugins/superfish/changelog.txt + */ + +;(function($){ + $.fn.superfish = function(op){ + + var sf = $.fn.superfish, + c = sf.c, + $arrow = $(['<span class="',c.arrowClass,'"> »</span>'].join('')), + over = function(){ + var $$ = $(this), menu = getMenu($$); + clearTimeout(menu.sfTimer); + $$.showSuperfishUl().siblings().hideSuperfishUl(); + }, + out = function(){ + var $$ = $(this), menu = getMenu($$), o = sf.op; + clearTimeout(menu.sfTimer); + menu.sfTimer=setTimeout(function(){ + o.retainPath=($.inArray($$[0],o.$path)>-1); + $$.hideSuperfishUl(); + if (o.$path.length && $$.parents(['li.',o.hoverClass].join('')).length<1){over.call(o.$path);} + },o.delay); + }, + getMenu = function($menu){ + var menu = $menu.parents(['ul.',c.menuClass,':first'].join(''))[0]; + sf.op = sf.o[menu.serial]; + return menu; + }, + addArrow = function($a){ $a.addClass(c.anchorClass).append($arrow.clone()); }; + + return this.each(function() { + var s = this.serial = sf.o.length; + var o = $.extend({},sf.defaults,op); + o.$path = $('li.'+o.pathClass,this).slice(0,o.pathLevels).each(function(){ + $(this).addClass([o.hoverClass,c.bcClass].join(' ')) + .filter('li:has(ul)').removeClass(o.pathClass); + }); + sf.o[s] = sf.op = o; + + $('li:has(ul)',this)[($.fn.hoverIntent && !o.disableHI) ? 'hoverIntent' : 'hover'](over,out).each(function() { + if (o.autoArrows) addArrow( $('>a:first-child',this) ); + }) + .not('.'+c.bcClass) + .hideSuperfishUl(); + + var $a = $('a',this); + $a.each(function(i){ + var $li = $a.eq(i).parents('li'); + $a.eq(i).focus(function(){over.call($li);}).blur(function(){out.call($li);}); + }); + o.onInit.call(this); + + }).each(function() { + var menuClasses = [c.menuClass]; + if (sf.op.dropShadows && !($.browser.msie && $.browser.version < 7)) menuClasses.push(c.shadowClass); + $(this).addClass(menuClasses.join(' ')); + }); + }; + + var sf = $.fn.superfish; + sf.o = []; + sf.op = {}; + sf.IE7fix = function(){ + var o = sf.op; + if ($.browser.msie && $.browser.version > 6 && o.dropShadows && o.animation.opacity!=undefined) + this.toggleClass(sf.c.shadowClass+'-off'); + }; + sf.c = { + bcClass : 'sf-breadcrumb', + menuClass : 'sf-js-enabled', + anchorClass : 'sf-with-ul', + arrowClass : 'sf-sub-indicator', + shadowClass : 'sf-shadow' + }; + sf.defaults = { + hoverClass : 'sfHover', + pathClass : 'overideThisToUse', + pathLevels : 1, + delay : 800, + animation : {opacity:'show'}, + speed : 'normal', + autoArrows : true, + dropShadows : true, + disableHI : false, // true disables hoverIntent detection + onInit : function(){}, // callback functions + onBeforeShow: function(){}, + onShow : function(){}, + onHide : function(){} + }; + $.fn.extend({ + hideSuperfishUl : function(){ + var o = sf.op, + not = (o.retainPath===true) ? o.$path : ''; + o.retainPath = false; + var $ul = $(['li.',o.hoverClass].join(''),this).add(this).not(not).removeClass(o.hoverClass) + .find('>ul').hide().css('visibility','hidden'); + o.onHide.call($ul); + return this; + }, + showSuperfishUl : function(){ + var o = sf.op, + sh = sf.c.shadowClass+'-off', + $ul = this.addClass(o.hoverClass) + .find('>ul:hidden').css('visibility','visible'); + sf.IE7fix.call($ul); + o.onBeforeShow.call($ul); + $ul.animate(o.animation,o.speed,function(){ sf.IE7fix.call($ul); o.onShow.call($ul); }); + return this; + } + }); + +})(jQuery); diff --git a/wp-content/themes/simplex/includes/js/supersubs.js b/wp-content/themes/simplex/includes/js/supersubs.js new file mode 100644 index 0000000000000000000000000000000000000000..45221510fc96220fa36031d7bc95e5f4937ece71 --- /dev/null +++ b/wp-content/themes/simplex/includes/js/supersubs.js @@ -0,0 +1,90 @@ + +/* + * Supersubs v0.2b - jQuery plugin + * Copyright (c) 2008 Joel Birch + * + * Dual licensed under the MIT and GPL licenses: + * http://www.opensource.org/licenses/mit-license.php + * http://www.gnu.org/licenses/gpl.html + * + * + * This plugin automatically adjusts submenu widths of suckerfish-style menus to that of + * their longest list item children. If you use this, please expect bugs and report them + * to the jQuery Google Group with the word 'Superfish' in the subject line. + * + */ + +;(function($){ // $ will refer to jQuery within this closure + + $.fn.supersubs = function(options){ + var opts = $.extend({}, $.fn.supersubs.defaults, options); + // return original object to support chaining + return this.each(function() { + // cache selections + var $$ = $(this); + // support metadata + var o = $.meta ? $.extend({}, opts, $$.data()) : opts; + // get the font size of menu. + // .css('fontSize') returns various results cross-browser, so measure an em dash instead + var fontsize = $('<li id="menu-fontsize">—</li>').css({ + 'padding' : 0, + 'position' : 'absolute', + 'top' : '-999em', + 'width' : 'auto' + }).appendTo($$).width(); //clientWidth is faster, but was incorrect here + // remove em dash + $('#menu-fontsize').remove(); + // cache all ul elements + $ULs = $$.find('ul'); + // loop through each ul in menu + $ULs.each(function(i) { + // cache this ul + var $ul = $ULs.eq(i); + // get all (li) children of this ul + var $LIs = $ul.children(); + // get all anchor grand-children + var $As = $LIs.children('a'); + // force content to one line and save current float property + var liFloat = $LIs.css('white-space','nowrap').css('float'); + // remove width restrictions and floats so elements remain vertically stacked + var emWidth = $ul.add($LIs).add($As).css({ + 'float' : 'none', + 'width' : 'auto' + }) + // this ul will now be shrink-wrapped to longest li due to position:absolute + // so save its width as ems. Clientwidth is 2 times faster than .width() - thanks Dan Switzer + .end().end()[0].clientWidth / fontsize; + // add more width to ensure lines don't turn over at certain sizes in various browsers + emWidth += o.extraWidth; + // restrict to at least minWidth and at most maxWidth + if (emWidth > o.maxWidth) { emWidth = o.maxWidth; } + else if (emWidth < o.minWidth) { emWidth = o.minWidth; } + emWidth += 'em'; + // set ul to width in ems + $ul.css('width',emWidth); + // restore li floats to avoid IE bugs + // set li width to full width of this ul + // revert white-space to normal + $LIs.css({ + 'float' : liFloat, + 'width' : '100%', + 'white-space' : 'normal' + }) + // update offset position of descendant ul to reflect new width of parent + .each(function(){ + var $childUl = $('>ul',this); + var offsetDirection = $childUl.css('left')!==undefined ? 'left' : 'right'; + $childUl.css(offsetDirection,emWidth); + }); + }); + + }); + }; + // expose defaults + $.fn.supersubs.defaults = { + minWidth : 9, // requires em unit. + maxWidth : 25, // requires em unit. + extraWidth : 0 // extra width can ensure lines don't sometimes turn over due to slight browser differences in how they round-off values + }; + +})(jQuery); // plugin code ends diff --git a/wp-content/themes/simplex/index.php b/wp-content/themes/simplex/index.php new file mode 100644 index 0000000000000000000000000000000000000000..be8a468baf78394e6c528171ba85b4bd94ec49f8 --- /dev/null +++ b/wp-content/themes/simplex/index.php @@ -0,0 +1,40 @@ +<?php get_header(); ?> + <div id="main"> + <div id="content" class="narrowcolumn"> + + <?php if (have_posts()) : ?> + + <?php while (have_posts()) : the_post(); ?> + + <div class="post" id="post-<?php the_ID(); ?>"> + <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2> + <small>Posted in <?php the_category(', ') ?> on <?php the_time('F jS, Y') ?> by <?php the_author() ?> – <?php comments_popup_link('Be the first to comment', '1 Comment', '% Comments'); ?> <?php edit_post_link('Edit', ' | ', ''); ?> </small> + + <div class="entry"> + <?php the_content('<span class="more">read more »</span>') ?> + </div> + + <?php if(is_single()) {?><p class="postmetadata"><?php the_tags('Tags: ', ', ', '<br />'); ?></p><?php } ?> + </div> + + <?php endwhile; ?> + + <div class="navigation"> + <div class="alignleft"><?php next_posts_link('« Older Entries') ?></div> + <div class="alignright"><?php previous_posts_link('Newer Entries »') ?></div> + </div> + + <?php else : ?> + + <h2 class="center">Not Found</h2> + <p class="center">Sorry, but you are looking for something that isn't here.</p> + <?php include (TEMPLATEPATH . "/searchform.php"); ?> + + <?php endif; ?> + + </div> + +<?php get_sidebar(); ?> +</div> + +<?php get_footer(); ?> diff --git a/wp-content/themes/simplex/links.php b/wp-content/themes/simplex/links.php new file mode 100644 index 0000000000000000000000000000000000000000..e253e09ba05fdd572c7f91599593f73921eacf17 --- /dev/null +++ b/wp-content/themes/simplex/links.php @@ -0,0 +1,18 @@ +<?php +/* +Template Name: Links +*/ +?> + +<?php get_header(); ?> + +<div id="content" class="widecolumn"> + +<h2>Links:</h2> +<ul> +<?php wp_list_bookmarks(); ?> +</ul> + +</div> + +<?php get_footer(); ?> diff --git a/wp-content/themes/simplex/page.php b/wp-content/themes/simplex/page.php new file mode 100644 index 0000000000000000000000000000000000000000..725c07944073f51a1f531c0bfea857c3432e1c95 --- /dev/null +++ b/wp-content/themes/simplex/page.php @@ -0,0 +1,21 @@ +<?php get_header(); ?> + <div id="main"> + <div id="content" class="narrowcolumn"> + + <?php if (have_posts()) : while (have_posts()) : the_post(); ?> + <div class="post" id="post-<?php the_ID(); ?>"> + <h2><?php the_title(); ?></h2> + <div class="entry"> + <?php the_content('<p class="serif">Read the rest of this page »</p>'); ?> + + <?php wp_link_pages(array('before' => '<p><strong>Pages:</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?> + + </div> + </div> + <?php endwhile; endif; ?> + <?php edit_post_link('Edit this entry.', '<p>', '</p>'); ?> + </div> + +<?php get_sidebar(); ?> +</div> +<?php get_footer(); ?> \ No newline at end of file diff --git a/wp-content/themes/simplex/screenshot.png b/wp-content/themes/simplex/screenshot.png new file mode 100644 index 0000000000000000000000000000000000000000..9e6882159c7a42fae5ce0911cfa5ae7a0fafe9cd Binary files /dev/null and b/wp-content/themes/simplex/screenshot.png differ diff --git a/wp-content/themes/simplex/search.php b/wp-content/themes/simplex/search.php new file mode 100644 index 0000000000000000000000000000000000000000..91d0da23767b9f012402b2c5eac42c4ee8fd9c1d --- /dev/null +++ b/wp-content/themes/simplex/search.php @@ -0,0 +1,37 @@ +<?php get_header(); ?> + <div id="main"> + <div id="content" class="narrowcolumn"> + + <?php if (have_posts()) : ?> + + <h2 class="pagetitle">Search Results</h2> + + + <?php while (have_posts()) : the_post(); ?> + + <div class="post"> + <h3 id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h3> + <small>Posted in <?php the_category(', ') ?> on <?php the_time('F jS, Y') ?> by <?php the_author() ?> – <?php comments_popup_link('Be the first to comment', '1 Comment', '% Comments'); ?> <?php edit_post_link('Edit', ' | ', ''); ?> </small> + + <?php if(is_single()) {?><p class="postmetadata"><?php the_tags('Tags: ', ', ', '<br />'); ?></p><?php } ?> + </div> + + <?php endwhile; ?> + + <div class="navigation"> + <div class="alignleft"><?php next_posts_link('« Older Entries') ?></div> + <div class="alignright"><?php previous_posts_link('Newer Entries »') ?></div> + </div> + + <?php else : ?> + + <h2 class="center">No posts found. Try a different search?</h2> + <?php include (TEMPLATEPATH . '/searchform.php'); ?> + + <?php endif; ?> + + </div> + +<?php get_sidebar(); ?> + </div> +<?php get_footer(); ?> \ No newline at end of file diff --git a/wp-content/themes/simplex/searchform.php b/wp-content/themes/simplex/searchform.php new file mode 100644 index 0000000000000000000000000000000000000000..300a1c4bf079732695cad9f2ef7a313de8cd5294 --- /dev/null +++ b/wp-content/themes/simplex/searchform.php @@ -0,0 +1,6 @@ +<form method="get" id="searchform" action="<?php bloginfo('url'); ?>/"> +<label class="hidden" for="s"><?php _e('Search for:'); ?></label> +<div><input type="text" value="<?php the_search_query(); ?>" name="s" id="s" /> +<input type="submit" id="searchsubmit" value="Search" /> +</div> +</form> diff --git a/wp-content/themes/simplex/sidebar.php b/wp-content/themes/simplex/sidebar.php new file mode 100644 index 0000000000000000000000000000000000000000..88ef554cf0a0dbc5191cabc803c79f2a0e0d7c16 --- /dev/null +++ b/wp-content/themes/simplex/sidebar.php @@ -0,0 +1,70 @@ + <div id="sidebar"> + <ul> + <li id="rssfeeds">Subscribe: <a href="<?php bloginfo('rss2_url'); ?>">Entries</a> | <a href="<?php bloginfo('comments_rss2_url'); ?>">Comments</a></li> + <?php /* Widgetized sidebar, if you have the plugin installed. */ + if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar() ) : ?> + + <!-- Author information is disabled per default. Uncomment and fill in your details if you want to use it. + <li><h2>Author</h2> + <p>A little something about you, the author. Nothing lengthy, just an overview.</p> + </li>--> + + + <?php if ( is_404() || is_category() || is_day() || is_month() || + is_year() || is_search() || is_paged() ) { + ?> <li> + + <?php /* If this is a 404 page */ if (is_404()) { ?> + <?php /* If this is a category archive */ } elseif (is_category()) { ?> + <p>You are currently browsing the archives for the <?php single_cat_title(''); ?> category.</p> + + <?php /* If this is a yearly archive */ } elseif (is_day()) { ?> + <p>You are currently browsing the <a href="<?php bloginfo('url'); ?>/"><?php echo bloginfo('name'); ?></a> blog archives + for the day <?php the_time('l, F jS, Y'); ?>.</p> + + <?php /* If this is a monthly archive */ } elseif (is_month()) { ?> + <p>You are currently browsing the <a href="<?php bloginfo('url'); ?>/"><?php echo bloginfo('name'); ?></a> blog archives + for <?php the_time('F, Y'); ?>.</p> + + <?php /* If this is a yearly archive */ } elseif (is_year()) { ?> + <p>You are currently browsing the <a href="<?php bloginfo('url'); ?>/"><?php echo bloginfo('name'); ?></a> blog archives + for the year <?php the_time('Y'); ?>.</p> + + <?php /* If this is a monthly archive */ } elseif (is_search()) { ?> + <p>You have searched the <a href="<?php echo bloginfo('url'); ?>/"><?php echo bloginfo('name'); ?></a> blog archives + for <strong>'<?php the_search_query(); ?>'</strong>. If you are unable to find anything in these search results, you can try one of these links.</p> + + <?php /* If this is a monthly archive */ } elseif (isset($_GET['paged']) && !empty($_GET['paged'])) { ?> + <p>You are currently browsing the <a href="<?php echo bloginfo('url'); ?>/"><?php echo bloginfo('name'); ?></a> blog archives.</p> + + <?php } ?> + + </li> <?php }?> + + <?php wp_list_categories('title_li=<h2>Categories</h2>'); ?> + + <li><h2>Archives</h2> + <ul class="archives"> + <?php wp_get_archives('type=monthly'); ?> + </ul> + </li> + + <?php /* If this is the frontpage */ if ( is_home() || is_page() || is_single()) { ?> + <?php wp_list_bookmarks(); ?> + + <li><h2>Meta</h2> + <ul> + <?php wp_register(); ?> + <li><?php wp_loginout(); ?></li> + <li><a href="http://validator.w3.org/check/referer" title="This page validates as XHTML 1.0 Transitional">Valid <abbr title="eXtensible HyperText Markup Language">XHTML</abbr></a></li> + <li><a href="http://gmpg.org/xfn/"><abbr title="XHTML Friends Network">XFN</abbr></a></li> + <li><a href="http://wordpress.org/" title="Powered by WordPress, state-of-the-art semantic personal publishing platform.">WordPress</a></li> + <?php wp_meta(); ?> + </ul> + </li> + <?php } ?> + + <?php endif; ?> + </ul> + </div> + diff --git a/wp-content/themes/simplex/single.php b/wp-content/themes/simplex/single.php new file mode 100644 index 0000000000000000000000000000000000000000..3ce81b45fbe7d848ce8c5aa2322e23c8020eb418 --- /dev/null +++ b/wp-content/themes/simplex/single.php @@ -0,0 +1,65 @@ +<?php get_header(); ?> +<div id="main"> + <div id="content" class="narrowcolumn"> + + <?php if (have_posts()) : while (have_posts()) : the_post(); ?> + + <div class="post" id="post-<?php the_ID(); ?>"> + <h2><?php the_title(); ?></h2> + + <div class="entry"> + <?php the_content('<p class="serif">Read the rest of this entry »</p>'); ?> + + <?php wp_link_pages(array('before' => '<p><strong>Pages:</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?> + <?php the_tags( '<p class="postmetadata">Tags: ', ', ', '</p>'); ?> + + <p class="postmetadata2"> + <small> + This entry was posted + <?php /* This is commented, because it requires a little adjusting sometimes. + You'll need to download this plugin, and follow the instructions: + http://binarybonsai.com/archives/2004/08/17/time-since-plugin/ */ + /* $entry_datetime = abs(strtotime($post->post_date) - (60*120)); echo time_since($entry_datetime); echo ' ago'; */ ?> + on <?php the_time('l, F jS, Y') ?> at <?php the_time() ?> + and is filed under <?php the_category(', ') ?>. + You can follow any responses to this entry through the <?php post_comments_feed_link('RSS 2.0'); ?> feed. + + <?php if (('open' == $post-> comment_status) && ('open' == $post->ping_status)) { + // Both Comments and Pings are open ?> + You can <a href="#respond">leave a response</a>, or <a href="<?php trackback_url(); ?>" rel="trackback">trackback</a> from your own site. + + <?php } elseif (!('open' == $post-> comment_status) && ('open' == $post->ping_status)) { + // Only Pings are Open ?> + Responses are currently closed, but you can <a href="<?php trackback_url(); ?> " rel="trackback">trackback</a> from your own site. + + <?php } elseif (('open' == $post-> comment_status) && !('open' == $post->ping_status)) { + // Comments are open, Pings are not ?> + You can skip to the end and leave a response. Pinging is currently not allowed. + + <?php } elseif (!('open' == $post-> comment_status) && !('open' == $post->ping_status)) { + // Neither Comments, nor Pings are open ?> + Both comments and pings are currently closed. + + <?php } edit_post_link('Edit this entry','','.'); ?> + + </small> + </p> + + </div> + + </div> + + + <?php comments_template('', true); ?> + + <?php endwhile; else: ?> + + <p>Sorry, no posts matched your criteria.</p> + +<?php endif; ?> + + </div> + <?php get_sidebar(); ?> +</div> + +<?php get_footer(); ?> diff --git a/wp-content/themes/simplex/style.css b/wp-content/themes/simplex/style.css new file mode 100644 index 0000000000000000000000000000000000000000..1491fb2bc447f92e38af9aa0a7b971ffbcd3ac28 --- /dev/null +++ b/wp-content/themes/simplex/style.css @@ -0,0 +1,895 @@ +/* +Theme Name: simpleX +Theme URI: http://www.wpshoppe.com/themes/ +Description: <strong>Simple and Clean</strong> WordPress Blog Theme designed by <a href="http://www.wpshoppe.com">WPshoppe</a>! Now with <strong>Theme Options</strong> to choose different color combinations. +Version: 1.3.3 +Author: Chandra Maharzan +Author URI: http://www.wpshoppe.com/about/ +Tags: custom-colors, custom-header, fixed-width, two-columns, black, silver, light, theme-options, right-sidebar, threaded-comments + + Development Log + =============================================================== + Nov 5, 2008 - 1.0.1 Works in Firefox, Chrome. Few IE Bugs + Nov 6, 2008 - 1.0.2 Works in IE6, IE7, Firefox 2+, Chrome 0.3 + Nov 6, 2008 - 1.0.3 Sidebar CSS fixes + Nov 6, 2008 - 1.0.4 Icons added to sidebar + Nov 7, 2008 - 1.0.5 Single Page Templates customized + Nov 8, 2008 - 1.0.6 Flickr Badge (from widget) added / CSS + Nov 9, 2008 - 1.0.7 Comments section CSS + Nov 9, 2008 - 1.0.8 Footer / RSS beautified! + Nov 10, 2008 - 1.0.9 Sidebar CSS / Calendar fixed + Nov 12, 2008 - 1.1 Multi-level menus fixed + Nov 13, 2008 - 1.1.1 CSS Fixed + Nov 26, 2008 - 1.1.2 Index Page Link Fixed + Dec 2, 2008 - 1.1.3 Various CSS Issues Fixed + Dec 7, 2008 - 1.2 Theme Options / Various CSS Themes, Organized CSS files, Better user interface, Better Typography + Dec 8, 2008 - 1.2.1 Properly CSS Organized, Valid xHTML/CSS, Tested with IE6, IE7, IE8 Beta 2, FF2, FF3, Chrome 0.4, Safari 3.2.1 + Dec 20, 2008 - 1.3 Compatible with WordPress 2.7, Commented Thread Styles + Jan 24, 2009 - 1.3.1 Separation of Trackbacks/Comments and other CSS edits + Dec 15, 2009 - 1.3.2 Fixed Tag Cloud bug and moved jQuery load to functions.php + Jun 29, 2010 - 1.3.3 WP 3.0 nav menu support + + The CSS, XHTML and design is released under GPL: + http://www.opensource.org/licenses/gpl-license.php + +*/ + +@import url("includes/css/superfish.css"); + + +/* Structure Styles */ + +body { + font-size: 62.5%; /* Resets 1em to 10px */ + font-family: Arial, Verdana, Tahoma; + text-align: center; + margin: 0; + padding: 0; + } + +#page { + text-align: left; + } + +#main { /* SimpleX addition to center as well as make header footer 100% */ + width: 960px; + margin: 0 auto; + } + +#content { + font-size: 1.4em; + float: left; + } + +.narrowcolumn .entry { + line-height: 1.6em; + width: 100%; + } + +.narrowcolumn .postmetadata { + text-align: left; + } + +small { + font-family: Arial, Helvetica, Sans-Serif; + font-size: 0.8em; + line-height: 1.5em; + } + +h1, h2, h3 { + font-family: Georgia, Sans-Serif, Verdana ; + font-weight: normal; + } + +h1 { + font-size: 4em; + text-align: left; + padding-left:40px; + } + +#headerimg .description { + font-size: 1.1em; + padding-left:40px; + } + +h2 { + font-size: 2.2em; + clear:both; + } + +h2.pagetitle { + font-size: 2.2em; + font-style: italic; + } + +#sidebar ul li h2 { + font-family: Georgia, Arial, 'Lucida Grande', Verdana, Sans-Serif; + font-size: 1.6em; + padding: 5px 5px; + } + +h3 { + font-size: 1.6em; + clear:both; + } + +h1, h1 a, h1 a:hover, h1 a:visited { + text-decoration: none; + } + +#header h1, #header h1 a, #header h1 a:hover, #header h1 a:visited { + padding-left:20px; + font-style:italic; + } + +h2, h2 a, h2 a:hover, h2 a:visited, h3, h3 a, h3 a:hover, h3 a:visited, #sidebar h2, #wp-calendar caption, cite { + text-decoration: none; + } + +.commentlist li, #commentform input, #commentform textarea { + font: 0.9em Arial, 'Lucida Grande', Verdana, Sans-Serif; + } + +.commentlist li { + font-weight: bold; + } + +.commentlist cite, .commentlist cite a { + font-weight: bold; + font-style: normal; + font-size: 1.1em; + } + +.commentlist p { + font-weight: normal; + line-height: 1.5em; + text-transform: none; + } + +#commentform p { + font: 0.8em Arial, Verdana, Sans-Serif; + } + +.commentmetadata { + font-size: 0.9em; + font-weight: normal; + } + +#sidebar { + font: 1.2em Arial, Verdana, Sans-Serif; + } + +acronym, abbr, span.caps +{ + font-size: 1.1em; + } + +code { + font: 0.9em 'Courier New', Courier, Fixed; + padding: 10px; + display: block; + } + +a { + text-decoration: none; + padding: 0 1px; + } + + +h1 a, h2 a, h3 a, h1 a:hover,h2 a:hover, h3 a:hover{ + border: none; + background: none; +} + +#sidebar #wp-calendar a { + text-decoration: none; + margin: 0; + padding:0; + } +#sidebar #wp-calendar caption { + font: bold 1.3em Arial,'Lucida Grande', Verdana, Sans-Serif; + text-align: left; + margin-top: 6px; + } + +#sidebar #wp-calendar #prev a, #wp-calendar #next a { + font-size: 1em; + } + +#sidebar #wp-calendar th { + font-style: normal; + text-transform: capitalize; + text-align: center; + } + +.post hr { + display: block; + border: none; + } + +.narrowcolumn .postmetadata2 { + padding: 13px 0 16px 0; + margin-top: 15px; +} + +.entry img { + padding: 5px; + max-width: 100%; + } + +/* Begin Structure */ + +#page { + padding: 0; + width: 100%; + } + +#header { + margin:0; + padding: 0; + width: 100%; + } + +#headerimg { + margin: 0; + height: 110px; + width: 960px; + margin: 0 auto; + + } +/* SimpleX search location */ +#searchdiv { + position:absolute; + top: 30px; + margin-left: 690px; +} + +.narrowcolumn { + padding: 30px 40px; + margin: 0px auto; + width: 580px; + } + +.post { + margin: 0 0 30px; + } + +.narrowcolumn .postmetadata { + padding:0; + margin:0; + padding: 20px 0 40px; + } + + +.postmetadata { + clear: both; + font-size: 0.8em; +} + +.clear { + clear: both; +} + +#footer { + padding: 0; + margin: 0 auto; + width: 100%; + clear: both; + overflow: hidden; + } + +#footerarea { + width: 960px; + margin: 0 auto; +} + +#footerarea span { + margin: 0; + padding: 30px 40px; + font-size: 1.1em; + } + +#footerarea span#footerleft { + float:left; +} + +#footerarea span#footerright { + float:right; +} +/* End Structure */ + + +/* Begin Headers */ +h1 { + padding-top: 20px; + line-height: 60px; + padding-left:0; + margin: 0; + } + + +h2 { + margin: 10px 0 2px 0; + padding-top: 10px; + } + + +#sidebar h2 { + margin: 5px 0 0; + padding: 0; + } + +h3 { + padding:0; + margin: 30px 0 0; + } + +h3#comments { + padding: 0; + margin: 40px auto 20px ; + } +/* End Headers */ + +/* Begin Images */ + + +/* Using 'class="alignright"' on an image will (who would've + thought?!) align the image to the right. And using 'class="centered', + will of course center the image. This is much better than using + align="center", being much more futureproof (and valid) */ + +img.centered { + margin-left: auto; + margin-right: auto; + } + +img.alignright { + padding: 5px; + margin: 0 0 5px 15px; + } + +img.alignleft { + padding: 5px; + margin: 0 15px 5px 0; + } + +.alignright { + float: right; + } + +.alignleft { + float: left; + } +/* End Images */ + + + +/* Begin Lists + + Special stylized non-IE bullets + Do not work in Internet Explorer, which merely default to normal bullets. */ + +/* simpleX addition */ + +.entry { + margin-top: 15px; + padding-top: 15px; + float: left; + margin-bottom: 20px; +} + +.entry p { + padding: 7px 0 7px 0; + margin:0; +} +.entry p a.img { + border:none; + background:none; +} +.entry p a.img:hover { + border:none; + background:none; +} + + +/* end */ + +html>body .entry ul { + margin-left: 50px; + padding: 0px 0 0px 30px; + padding-left: 10px; + } + +html>body .entry li { + margin: 0; + } + +.entry ol, .entry ul { + padding:0; + margin: 5px 0 5px 50px; + } + +.entry ol li, .entry ul li { + margin: 0; + padding: 0; + } + +.postmetadata ul, .postmetadata li { + display: inline; + list-style-type: none; + list-style-image: none; + } + +#sidebar ul, #sidebar ul ol { + margin: 0; + padding: 0; + } + +#sidebar ul li { + list-style-type: none; + list-style-image: none; + margin-bottom: 15px; + } + +#sidebar ul p, #sidebar ul select { + margin: 0; + } + +#sidebar ul ul, #sidebar ul ol { + margin:0px; + } + +#sidebar ul ul ul, #sidebar ul ol { + margin:0; + } + +ol li, #sidebar ul ol li { + list-style: decimal outside; + } + +#sidebar ul ul li, #sidebar ul ol li { + margin: 0; + padding:0; + list-style:none; + } + +#sidebar a { + border: none; + background: none; + display: block; + padding: 5px 5px; + background: url(images/meta.gif) no-repeat 5px 7px; + padding-left: 20px; +} +#sidebar a:hover { + background: url(images/meta.gif) no-repeat 5px 7px; +} + +* html #sidebar a { + height: 1px; +} + +#sidebar .archives a, #sidebar .cat-item a, #sidebar .cat-item a:hover, +#sidebar #archives ul li a { + background: url(images/cat.gif) no-repeat 5px 7px; + padding-left: 20px; +} + +#sidebar .cat-item a:hover, #sidebar .archives a:hover, +#sidebar #archives ul li a:hover { + background: url(images/cat.gif) no-repeat 5px 7px; +} +#sidebar .linkcat a, #sidebar .linkcat a:hover, +#sidebar .blogroll a { + background: url(images/fav.gif) no-repeat 5px 7px; + padding-left: 20px; +} + +#sidebar .linkcat a:hover, +#sidebar .blogroll a:hover { + background: url(images/fav.gif) no-repeat 5px 7px; +} + +#sidebar .textwidget { + margin: 6px; +} + + +/* End Entry Lists */ + + + +/* Begin Form Elements */ +#searchform { + margin: 10px auto; + padding: 5px 3px; + text-align: center; + } + +#header #searchform #s { + width: 130px; + padding: 4px; + font: 1.4em arial, verdana, sans-serif; + } + +#header #searchsubmit { + padding: 3px; + font: 1.4em arial, verdana, sans-serif; + font-weight: bold; + } + +#content #searchform #s { + width: 200px; + padding: 4px; + font: 1.1em arial, verdana, sans-serif; + } + +#content #searchsubmit { + padding: 3px 10px; + font: 1.1em arial, verdana, sans-serif; + font-weight: bold; + } + +.entry form { /* This is mainly for password protected posts, makes them look better. */ + text-align:center; + } + +select { + width: 130px; + } +#commentform{ + margin-bottom: 60px; + margin-top: 20px; +} +#commentform input { + width: 170px; + padding: 2px; + margin: 5px 5px 1px 0; + font-size: 1.2em; + } + +#commentform textarea { + margin-top:5px; + width: 100%; + padding: 2px; + font-size: 1.2em; + } + +#commentform #submit { + margin-top: 5px; + padding: 5px; + font-weight: bold; + font-size: 1.3em; + } + +legend { + font-size: 1.2em; + font-weight:bold; + padding: 2px 10px; +} + +.entry form { + text-align:left +} + + + +/* End Form Elements */ + + + +/* Begin Comments*/ + +#tabnav { + margin:0; + padding: 0; +} +#tabnav li { + display:inline; + list-style:none; + font-weight: bold; + font: 18px Arial; + margin:0; + margin-right: 5px; +} +a.tabs { + padding: 5px 10px; + background: #eee; + border: 1px solid #eee; + color: #666; +} + +a.tabs:hover { + background: #fff; + border: 1px solid #eee; +} +a.current { + background: #fff; + color:#333; +} + +.commentlist { + padding: 0; + } + + +#commentform p { + margin: 5px 0; + } + +.nocomments { + text-align: center; + margin: 0; + padding: 0; + } + +/* Threaded Comments */ + +ol.commentlist { list-style:none; margin:0 0 0em; padding:0; text-indent:0; } +ol.commentlist li { margin: 15px 0 0px; list-style: none; padding: 20px;} +ol.commentlist li.alt { } +ol.commentlist li.bypostauthor {} +ol.commentlist li.byuser {} +ol.commentlist li.comment-author-admin {} +ol.commentlist li.comment { } +ol.commentlist li div.comment-author {} +ol.commentlist li div.vcard { } +ol.commentlist li div.vcard cite.fn { font-style:normal; font-size: 14px; } +ol.commentlist li div.vcard cite.fn a.url {} +ol.commentlist li div.vcard img.avatar { float: right; padding: 2px; } +ol.commentlist li div.vcard img.avatar-32 {} +ol.commentlist li div.vcard img.photo {} +ol.commentlist li div.vcard span.says {} +ol.commentlist li div.commentmetadata {margin: 0; display: block;} +ol.commentlist li div.comment-meta { } +ol.commentlist li p {margin: 13px 5px 13px 0; line-height:16px;} +ol.commentlist li ul { margin:0 } +ol.commentlist li div.reply { } +ol.commentlist li div.reply a { font-weight:bold; } +ol.commentlist li ul.children { list-style:none; margin:2em 0 0; text-indent:0; padding:0} +ol.commentlist li ul.children li { font-size: 12px;} +ol.commentlist li ul.children li.alt {} +ol.commentlist li ul.children li.bypostauthor {} +ol.commentlist li ul.children li.byuser {} +ol.commentlist li ul.children li.comment-author-admin {} +ol.commentlist li ul.children li.depth-2 { margin:0; } +ol.commentlist li ul.children li.depth-3 { margin:0; } +ol.commentlist li ul.children li.depth-4 { margin:0; } +ol.commentlist li ul.children li.depth-5 {} +ol.commentlist li ul.children li.comment {margin:0;margin-top: 20px; } +ol.commentlist li ul.children li.odd {} +ol.commentlist li.even { background:#fff; } +ol.commentlist li.odd { background:#fcfcfc; } +ol.commentlist li.parent { } +ol.commentlist li.pingback { padding:1em; } +ol.commentlist li.thread-alt { } +ol.commentlist li.thread-even {} +ol.commentlist li.thread-odd {} +ol.commentlist .navigation { + padding:10px 0; + margin:10px 0; + clear:both; + border: none; + } + + + +/* End Comments */ + + + +/* Begin Sidebar */ +#sidebar +{ + width: 215px; + float: right; + margin: 20px 60px 20px 0; + } + +#sidebar form { + margin: 0; + } + + +/* End Sidebar */ + + + +/* Begin Calendar */ +#sidebar #wp-calendar { + empty-cells: show; + margin: 10px auto 0; + width: 190px; + } + +#sidebar #wp-calendar #next a { + padding-right: 10px; + text-align: right; + } + +#sidebar #wp-calendar #prev a { + padding-left: 10px; + text-align: left; + } + +#sidebar #wp-calendar a { + display: block; + } + +#sidebar #wp-calendar caption { + text-align: right; + width: 190px; + padding-right: 10px; + } + +#sidebar #wp-calendar td { + padding: 3px 0; + text-align: center; + } + + + + + +/* Begin Various Tags & Classes */ +acronym, abbr, span.caps { + cursor: help; + } + + + +blockquote { + margin: 15px 30px 0 10px; + padding-left: 20px; + } + +blockquote cite { + margin: 5px 0 0; + display: block; + } + +.center { + text-align: center; + } + +.hidden { + display: none; + } + + +hr { + display: none; + } + +a img { + border: none; + } + +.navigation { + margin: 50px 0; + padding-top: 30px; + clear:both; + } + +pre { + width: 500px; + margin-right: 250px; + font-size: 1.1em; +} +/* End Various Tags & Classes*/ + + + +/* Captions */ +.aligncenter, +div.aligncenter { + display: block; + margin-left: auto; + margin-right: auto; +} + +.wp-caption { + text-align: center; + padding-top: 4px; + margin: 10px; +} + +.wp-caption img { + margin: 0; + padding: 0; + border: 0 none; +} + +.wp-caption p.wp-caption-text { + font-size: 11px; + line-height: 17px; + padding: 0 4px 5px; + margin: 0; +} + + +/* End captions */ + +img.wp-smiley { + border:none; + padding: 0; +} + +.entry a.more-link { + padding: 1px 6px; + font-size:0.8em; + font-weight: bold; + float:right; + } + +.navigation a { + font-size:1em; + padding: 5px 10px; + font-weight: bold; + } + +/*simpleX RSS*/ + +#sidebar li#rssfeeds{ + padding-left: 18px; + margin-left: 5px; + margin-top: 10px; + background:url(images/rss.gif) left center no-repeat; +} +#sidebar li#rssfeeds a, #sidebar .textwidget a, #sidebar .widget_tag_cloud a, #sidebar p a { + background: none; + display:inline-block; + margin:0; + padding:0; +} + + +#sidebar .widget_tag_cloud a{ + margin:5px 5px 0 6px; +} + +#sidebar #wp-calendar { + margin:6px; + padding:0; +} + + +/* sidebar ul li pages category */ + +#sidebar .menu-item ul li, #sidebar .cat-item ul li{ + padding-left: 15px; +} + +#sidebar ul li div a.freedownload { + background: url(images/downloadsimplex.gif) no-repeat; + text-indent: -9999px; + display: block; + height: 70px; + width: 200px; + border: none; +} + +#sidebar ul li div a.freedownload:hover { + background: url(images/downloadsimplex.gif) no-repeat 0 -70px; + position: relative; +} + +/* for ad */ + +#sidebar ul li div div { + font-size: 0.9em; + line-height: 1.8em; +} +#sidebar ul li div span.red { + font-size: 1em; + font-weight:bold; + color:#f00; +} + +/* Main Menu CSS */ +div.menu {padding: 8px 5px 0;height:30px} +.menu ul { width: 910px; margin: 0 auto; float:none;} +.menu ul li {margin-right: 5px; } + +.menu ul a {font-size: 12px; border: none; color: #666;font-weight: bold;} +.menu ul a:hover {border: none} \ No newline at end of file