diff --git a/wp-content/themes/zenlite/author.php b/wp-content/themes/zenlite/author.php index ebe7d2b701731bfc8d11a3932cf78a3964e0e475..ecd8da75924d5f87a29fb02d71b1573798f4d25e 100644 --- a/wp-content/themes/zenlite/author.php +++ b/wp-content/themes/zenlite/author.php @@ -1,9 +1,7 @@ <?php get_header(); -if(isset($_GET['author_name'])) $curauth = get_userdatabylogin($author_name); -else $curauth = get_userdata(intval($author));?> - -<?php if( !is_paged() ) :?> +$curauth = (isset($_GET['author_name'])) ? get_user_by('slug', $author_name) : get_userdata(intval($author)); +if( !is_paged() ) :?> <div <?php post_class(); ?>> <h1 class="post-title"><?php _e('About', 'zenlite');?> <?php echo $curauth->display_name; ?></h1> <dl class="author-details"> diff --git a/wp-content/themes/zenlite/editor-style.css b/wp-content/themes/zenlite/editor-style.css index fd2fed347ac161d3d33ea7a955ba11be48a82b30..4889de68611910209d5dcd68d5ae22aae674ebfb 100644 --- a/wp-content/themes/zenlite/editor-style.css +++ b/wp-content/themes/zenlite/editor-style.css @@ -210,7 +210,7 @@ pre { border:1px solid #f3f3fb; -moz-box-shadow:2px 2px 2px rgba(0,0,0,0.2); -webkit-box-shadow:2px 2px 2px rgba(0,0,0,0.2); - -box-shadow:2px 2px 2px rgba(0,0,0,0.2); + box-shadow:2px 2px 2px rgba(0,0,0,0.2); } table,th,td { border:1px solid #C6CCD4; diff --git a/wp-content/themes/zenlite/functions.php b/wp-content/themes/zenlite/functions.php index 263213082bfaf4ea858ae25989c9f1fd7f162c00..1cd95ff3a7bb8b40ee4b439919d78265b59f6df7 100644 --- a/wp-content/themes/zenlite/functions.php +++ b/wp-content/themes/zenlite/functions.php @@ -35,7 +35,7 @@ function zenlite_setup() { 'default-text-color' => apply_filters( 'zenlite_header_color', '606060'), 'width' => apply_filters( 'zenlite_header_image_width', 1000 ), 'height' => apply_filters( 'zenlite_header_image_height', 150 ), - 'default-image' => get_stylesheet_directory_uri() . '/images/banner.jpg', + 'default-image' => apply_filters( 'zenlite_header_image', get_stylesheet_directory_uri() . '/images/banner.jpg'), 'wp-head-callback' => 'zenlite_custom_header_style', 'admin-head-callback' => 'zenlite_admin_header_style', 'admin-preview-callback' => '', @@ -127,6 +127,63 @@ function zenlite_widgets_init() { endif; add_action( 'widgets_init', 'zenlite_widgets_init' ); +// wp_title filter +if ( ! function_exists( 'zenlite_filter_wp_title' ) ) : +function zenlite_filter_wp_title( $old_title, $sep, $sep_location ) { + $left_sep = ( $sep_location != 'right' ? ' ' . $sep . ' ' : '' ); + $right_sep = ( $sep_location != 'right' ? '' : ' ' . $sep . ' ' ); + + if( is_category() ) $page_type = $left_sep . 'Category' . $right_sep; + elseif( is_tag() ) $page_type = $left_sep . 'Tag' . $right_sep; + elseif( is_author() ) $page_type = $left_sep . 'Author' . $right_sep; + elseif( is_archive() || is_date() ) $page_type = $left_sep . 'Archives'. $right_sep; + else $page_type = ''; + + if( get_query_var( 'paged' ) ) $page_num = $left_sep. get_query_var( 'paged' ) . $right_sep; // on index + elseif( get_query_var( 'page' ) ) $page_num = $left_sep . get_query_var( 'page' ) . $right_sep; // on single + else $page_num = ''; + + if( !is_feed() ) return get_bloginfo( 'name' ) . $page_type . $old_title . $page_num; + else return $old_title; +} +endif; +add_filter( 'wp_title', 'zenlite_filter_wp_title', 10, 3 ); + +// Add special body classes based on browser +if (!function_exists( 'zenlite_browser_body_class' ) ) : +function zenlite_browser_body_class($classes) { + global $is_gecko, $is_IE, $is_opera, $is_safari, $is_chrome, $is_iphone; + if( $is_gecko ) $classes[] = 'gecko'; + elseif( $is_IE ) $classes[] = 'ie'; + elseif( $is_opera ) $classes[] = 'opera'; + elseif( $is_safari ) $classes[] = 'safari'; + elseif( $is_chrome ) $classes[] = 'chrome'; + elseif( $is_iphone ) $classes[] = 'iphone'; + else $classes[] = 'unknown'; + return $classes; +} +endif; +add_filter('body_class', 'zenlite_browser_body_class' ); + +// Enqueue additional CSS +if (!function_exists( 'zenlite_style' ) ) : +function zenlite_style() { + wp_register_style('print-style', get_stylesheet_directory_uri() . '/print.css', array(), '', 'print' ); + wp_enqueue_style( 'print-style' ); +} +endif; +add_action('wp_enqueue_scripts', 'zenlite_style'); + +// Enqueue comments script +if ( !function_exists( ' zenlite_enqueue_comment_reply_script' ) ): +function zenlite_enqueue_comment_reply_script() { + if ( is_singular() && ( comments_open() && get_option( 'thread_comments' ) ) ) { + wp_enqueue_script( 'comment-reply' ); + } +} +endif; +add_action( 'comment_form_before', 'zenlite_enqueue_comment_reply_script' ); + // Hide header text if( !function_exists ('zenlite_hide_header_text') ) : function zenlite_hide_header_text() { @@ -319,7 +376,7 @@ function zenlite_page_tree($this_page) { } elseif( $this_page->ancestors ) { // get the top ID of this page. Page ids DESC so top level ID is the last one - $ancestor = end($this_page->ancestors); + $ancestor = end( get_post_ancestors($this_page) ); $pagelist .= wp_list_pages('title_li=&include='.$ancestor.'&echo=0'); $pagelist = str_replace('</li>', '', $pagelist); $pagelist .= '<ul>' . wp_list_pages('title_li=&child_of='.$ancestor.'&echo=0') .'</ul></li>'; @@ -333,7 +390,7 @@ if ( !function_exists( 'zenlite_custom_header_style' ) ) : function zenlite_custom_header_style() { echo '<style type="text/css" media="screen,print">'."\n"; if( get_header_image() != '' ) echo '#header-image {background-image:url(' . get_header_image() . ');}'; - if( get_header_textcolor() == 'blank' ) echo '#header h1,#header h1 a {position:absolute;top:-5000px;left:-5000px;}'; + if( get_header_textcolor() == 'blank' ) echo '#header h1,#header h1 a {position:absolute;top:-9999px;left:-9999px;}'; else echo '#header h1,#header h1 a {color:#' . get_header_textcolor() . ';}'; echo "\n</style>\n\n"; } diff --git a/wp-content/themes/zenlite/header.php b/wp-content/themes/zenlite/header.php index 469720d209a7936cd92b2511c20b6e7a6e1e30db..22ba4e90f2eda62d30c61f542d2a7e5a2c7b9aa9 100644 --- a/wp-content/themes/zenlite/header.php +++ b/wp-content/themes/zenlite/header.php @@ -3,49 +3,14 @@ <head profile="http://gmpg.org/xfn/1"> <meta http-equiv="Content-Type" content="text/html; charset=<?php bloginfo('charset'); ?>" /> -<meta name="designer" content="esmi@quirm.net" /> - <link rel="stylesheet" type="text/css" href="<?php bloginfo('stylesheet_url'); ?>" media="screen" /> -<link rel="stylesheet" type="text/css" href="<?php echo get_stylesheet_directory_uri(); ?>/print.css" media="print" /> - -<!--[if IE]> -<link rel="stylesheet" href="<?php echo get_stylesheet_directory_uri(); ?>/ie.css" media="screen" type="text/css" /> -<![endif]--> -<!--[if lte IE 7]> -<link rel="stylesheet" href="<?php echo get_stylesheet_directory_uri(); ?>/ie7.css" media="screen" type="text/css" /> -<script src="<?php get_template_directory_uri(); ?>/library/focus.js" type="text/javascript"></script> -<![endif]--> <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" /> <?php wp_get_archives('type=monthly&format=link'); ?> -<title><?php global $page, $paged; -if ( $paged >= 2 || $page >= 2 ) $we_are_on = sprintf( __( ' (Page %s) ', 'zenlite' ), max( $paged, $page ) ); -else $we_are_on = ''; - -if( is_home () ) : printf(__( '%1$s%2$s on %3$s', 'zenlite'), wp_title('', false), $we_are_on, get_bloginfo('name') ); - -elseif( is_search() ) : -if( trim( get_search_query() ) == '' ) printf(__('No search query entered on %1$s', 'zenlite'), get_bloginfo('name') ); -else printf( __( 'Search Results for \'%1$s\' on %2$s%3$s', 'zenlite' ), trim(get_search_query() ), get_bloginfo('name'), $we_are_on ); - -elseif ( is_category() || is_author() ) : printf(__( '%1$s%2$s on %3$s', 'zenlite' ), wp_title('', false), $we_are_on, get_bloginfo('name') ); - -elseif( is_tag() ) : printf( __('Entries tagged with \'%1$s\'%2$s on %3$s', 'zenlite') , wp_title('', false), $we_are_on, get_bloginfo('name') ); - -elseif( is_archive() ) : -printf( __('Archives for %1$s%2$s on %3$s', 'zenlite'), wp_title('', false), $we_are_on, get_bloginfo('name') ); - -elseif( is_404() ) : printf(__( 'Page not found on %1$s', 'zenlite' ), get_bloginfo('name') ); - -else : printf( __('%1$s%2$s', 'zenlite'), wp_title(':',true, 'right'), get_bloginfo('name') ); - -endif; -?> -</title> +<title><?php wp_title(':');?></title> -<?php if(is_singular()) wp_enqueue_script( 'comment-reply' );?> <?php wp_head(); ?> </head> diff --git a/wp-content/themes/zenlite/screenshot.png b/wp-content/themes/zenlite/screenshot.png index 6e753fb81241c5565d602e19de5fb2f3d198aadd..1d9ec11143c7d5843f06185de615f97db82b87b4 100644 Binary files a/wp-content/themes/zenlite/screenshot.png and b/wp-content/themes/zenlite/screenshot.png differ diff --git a/wp-content/themes/zenlite/sidebar.php b/wp-content/themes/zenlite/sidebar.php index a3ef1e8a4e4f6a9a552cf57a3c57e3aac51bf3e1..7a77fdb009dc50d0a95f22a58ab107c8935c31da 100644 --- a/wp-content/themes/zenlite/sidebar.php +++ b/wp-content/themes/zenlite/sidebar.php @@ -1,19 +1,18 @@ -<?php global $zenlite_options;?> - -<div class="navbar"> - -<?php if (!dynamic_sidebar( 'Main menu' ) ) : ?> - -<?php -$args = array( - 'theme_location' => 'primary', - 'container' => '' -); -if( isset( $zenlite_options['menu_type'] ) && $zenlite_options['menu_type'] == 'cats' ) $args['fallback_cb'] = 'zenlite_callback_cats'; -wp_nav_menu( $args ); -?> - -<?php endif; ?> - -<!--[if lte IE 7]><span class="clear"></span><![endif]--> -</div> \ No newline at end of file +<?php global $zenlite_options;?> + +<div class="navbar"> + +<?php if (!dynamic_sidebar( 'Main menu' ) ) : ?> + +<?php +$args = array( + 'theme_location' => 'primary', + 'container' => '' +); +if( isset( $zenlite_options['menu_type'] ) && $zenlite_options['menu_type'] == 'cats' ) $args['fallback_cb'] = 'zenlite_callback_cats'; +wp_nav_menu( $args ); +?> + +<?php endif; ?> + +</div> diff --git a/wp-content/themes/zenlite/style.css b/wp-content/themes/zenlite/style.css index a525681ae69c9dfffbc0f03c2a5ada843c715738..1ec055ba4c6b4181a6fda657fbbd497dc6f3ac8d 100644 --- a/wp-content/themes/zenlite/style.css +++ b/wp-content/themes/zenlite/style.css @@ -1,8 +1,8 @@ /* Theme Name:ZenLite -Version: 4.6 +Version: 4.8 Theme URI: http://quirm.net/themes/zenlite/ -Description: A minimalistic single column design with a widget-ready horizontal navigation menu for listing Pages, Categories or a custom menu. Includes additional templates for archives, categories, author lists, pages without comments, images, attachments and search results. Thickbox enabled image template. Customisable header and background images. Post format support. Additional theme options. Translation-ready and child-theme friendly. Suitable for WordPress 3.1 and above. Support available at http://forum.quirm.net/ +Description: A minimalistic single column design with a widget-ready horizontal navigation menu for listing Pages, Categories or a custom menu. Includes additional templates for archives, categories, author lists, pages without comments, images, attachments and search results. Thickbox enabled image template. Customisable header and background images. Post format support. Additional theme options. Translation-ready and child-theme friendly. Support available at http://forum.quirm.net/ Author: Mel Pedley Author URI: http://blackwidows.co.uk Tags: one-column, custom-header, custom-background, custom-menu, light, white, fixed-width, theme-options, translation-ready, threaded-comments, editor-style @@ -11,7 +11,7 @@ License: GNU General Public License v2 License URI: http://www.gnu.org/licenses/old-licenses/gpl-2.0.html */ -/* Copyright 2009-2011 Mel P. (email : esmi@quirm.net) +/* Copyright 2009-2012 Mel P. (email : esmi@quirm.net) This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2, @@ -33,25 +33,1322 @@ The license for this software can also likely be found here: http://www.gnu.org/licenses/gpl-2.0.html */ -@import url(layout.css); -@import url(color.css); +/* LAYOUT */ +body { + margin:0; + padding:0; + font-family:Tahoma, Verdana,Arial, Helvetica, sans-serif; + font-size:100%; + direction:ltr; +} +h1 { + font-size:2.5em; + letter-spacing:0.2em; +} +h2 { + font-size:1.6em; +} +h3 { + font-size:1.4em; +} +h4 { + font-size:1.2em; +} +h5,h6 { + font-size:1em; +} +h2,h3,h4,h5,h6 { + letter-spacing:.01em; +} +h1,h2,h3,h4 { + font-weight:normal; +} +a { + text-decoration:underline; +} +a:hover,a:active,a:focus { + text-decoration:none; +} +img { + border:none; +} +dt { + font-weight:bold; + margin-top:10px; +} +li { + margin-bottom:5px; +} +ol li { + list-style-type:decimal; +} +ol li ol li { + list-style-type: lower-alpha; +} +ol li ol li ol li { + list-style-type:lower-roman; +} +ul li { + list-style-type:disc; +} +ul li ul li { + list-style-type:circle; +} +ul li ul li ul li { + list-style-type: square; +} +small { + font-size:.8em; +} +acronym, abbr { + cursor:help; + letter-spacing:.01em; + text-decoration:none; +} +a acronym,a abbr { + text-decoration:none; + border-bottom:none; +} +blockquote { + min-height:60px; + margin:0; + padding:5px 0 0 63px; +} +blockquote cite { + display:block; + padding-bottom:15px; + font-size:.86em; + font-style:normal; +} +q { + font-style:italic; +} +q:before, q:after { + content:""; +} +ins { + padding:0 2px; + text-decoration:none; +} +pre, +code, +tt, +kbd, +var { + font-family:'courier new',courier, monospace; + font-size:1.05em; +} +pre { + overflow:auto; + white-space:pre; + padding:3px 5px 12px; + line-height:20px; +} +address { + font-style:normal; +} +form { + margin:20px 0; + padding:0; +} +fieldset { + margin:5px; + padding:10px; + border:none; +} +fieldset fieldset { + margin-top:15px; +} +legend { + margin:0 0 0 -10px; + padding:2px 5px; +} +input,textarea,select { + padding:1px 2px; + font-size:1em; +} +textarea { + width:98%; +} +table { + border-collapse:collapse; +} +th,td { + padding:3px; +} -/* ignore these classes - they're just here to satisfy the wordpress.org upload -They are appropriately specified in layout.css - but the wordpress.org uploader doesn't appear to be able to deal with imported css sheets. -.aligncenter { - display: block; - margin-left: auto; - margin-right: auto; +/* hides skip links until activated for keyboard navigators */ +ul.jumplinks,.jumplinks { + position:absolute; + top:-9000px; + left:-9000px; + z-index:10; +} +.jumplinks a:active,.jumplinks a:focus { + position:absolute; + top:9020px; + left:9010px; + width:15em; + margin:0; + padding:3px; + text-align:center; + font-weight:bold; +} + +/* Onto the actual layout */ +#wrapper { + width:90%; + max-width:1000px; + margin:0 auto; + padding:0; +} + +/* HEADER */ +#header { + padding:0; + margin:0; +} +#header h1 { + margin:0; + padding:0 15px; + font-size:2.3em; + letter-spacing:.02em; + line-height:1.2em; + text-align:center +} +#header h1 small { + display:block; + margin:0; + padding:0; + font-size:.65em; + font-weight:normal; + font-style:normal; +} +#header h1 a { + text-decoration:none; +} +#header h1 a:hover { + text-decoration:underline; +} +#header-image { + height:150px; +} + +/* MENU */ +.navbar { + margin:0; + padding:0; + font-weight:bold; + font-size:.9em; + font-variant:small-caps; + line-height:1em; +} +.navbar:after { + content: "."; + display: block; + height: 0; + clear: both; + visibility: hidden; +} +.navbar ul { + margin:0; + padding:0; + display:inline; +} +.navbar li { + margin:0; + padding:0; + float:left; + list-style-type:none; + position:relative; +} +.navbar ul ul { + display:none; + float:left; + position:absolute; + left:0; + z-index:90; + top:30px; + width:150px; +} +.navbar li:hover > ul { + display:block; +} +.navbar ul ul li { + min-width:150px; +} +.navbar ul ul ul { + top:0; + left:100%; +} +.navbar .recentcomments { + margin-right:10px; +} +.navbar #searchform { + margin:5px 0; +} +.navbar a { + display:block; + line-height:20px; + padding:5px; + margin:0; + text-decoration:none; +} +.navbar a:hover, +.navbar a:active, +.navbar a:focus { + text-decoration:underline; +} + +/* CONTENT */ +#content { + min-height:400px; + line-height:1.5em; + margin:20px 0 0; + padding:0 30px; + font-size:.9em; +} +/* clear all floats */ +#content:after, +#content .hentry:after { + content: "."; + display: block; + height: 0; + clear: both; + visibility: hidden; +} +#content .hentry { + padding-bottom:20px; +} +.post-title, +.posts-by { + margin:20px 0 0; + padding:0; + font-size:1.6em; + letter-spacing: .01em; +} +.post-title a { + text-decoration:none; +} +.post-title a:hover, +.post-title a:active, +.post-title a:focus { + text-decoration:underline; +} +.sticky .post-title a { + padding-right:30px; +} +.meta { + margin:3px 0 0; + padding:0; + font-size:.9em; + line-height:1.3em; +} +.meta ul, +.meta li { + margin:0; + padding:0; +} +.meta ul { + display:inline; +} +.meta.posthead li { + display:inline; +} +.meta li li { + display:inline; + padding-right:.1em; +} +.postcontent { + min-height:20px; +} +.postcontent p+ ul { + margin-top:-.7em; +} +.postfoot { + clear:both; + margin-right:5px; +} +.more-link { + clear:both; + float:right; +} +.more-link:after { + content:"\00A0\00BB"; } -.alignleft { - float: left; +div.more-link { + font-size:.9em; + text-align:right; +} +div.more-link .wp-post-image { + float:none; +} +.post-edit-link { + clear:both; + display:inline-block; +} + +/* Post formats */ +.format-aside .post-title, +.format-status .post-title { + position:absolute; + top:-9999px; + left:-9999px; +} +.format-audio .more-link img, +.format-gallery .more-link img, +.format-image .more-link img { + display:block; + margin:0 0 3px auto; +} +.format-audio .postcontent { + min-height:50px; + margin-right:110px; +} +.format-gallery .postfoot, +.format-image .postfoot { + clear:none; + float:left; +} +.format-chat .postcontent { + margin:20px 0; + padding:2px 5px 3px; + line-height:20px; +} +.format-chat .postcontent p { + margin:0; +} +.format-image .postcontent { + text-align:center; + margin:20px auto; + padding:0; +} +.format-link .post-title a { + display:inline-block; + min-height:32px; + padding-right:40px; +} +.format-link .postcontent a { + font-size:1.2em; +} +.format-quote .postcontent { + min-height: 60px; + margin:20px 0; + padding: 0 0 0 70px; +} +.format-quote .postcontent .inner { + min-height: 60px; + margin:0; + padding:0 70px 0 0; +} +.format-quote .postcontent blockquote { + min-height:0; + padding:0; +} +.format-quote .postcontent blockquote cite { + display:block; + font-size: 0.86em; + font-style: normal; + padding-bottom: 15px; +} +.format-video .more-link a { + padding-top:100px; + display:inline-block; +} +.single .format-video embed { + margin-left:auto; + margin-right:auto; + display:block; +} + +/* page tree */ +.pagetree { + float:right; + width:15em; + margin:0 0 20px 20px; + padding:3px 5px 0; +} +.pagetree h3 { + font-size:1.1em; + margin:5px 0; + padding:0; +} +.pagetree ul { + margin:0; + padding:0 .3em; +} +.pagetree li ul { + margin-left:1em; +} +.pagetree li:before { + content: " \BB\ "; +} +.pagetree li.current_page_item { + font-weight:bold; +} +.pagetree li.current_page_item li { + font-weight:normal; +} +.pagetree li.current_page_item a { + text-decoration:none; +} +.pagetree li.current_page_item a:hover { + text-decoration:underline; +} + +/* pagination */ +.prevnext { + clear:both; + margin:20px 3px 20px 0; + padding:0; + text-align:center; + font-size:.9em; +} +.prevnext:after { + content: "."; + display: block; + height: 0; + clear: both; + visibility: hidden; +} +.prevnext li { + margin:0; + padding:0; +} +.prevnext a { + text-decoration:none; +} +.prevnext a:hover { + text-decoration:underline; +} +.prevnext .next a { + float:left; + padding:0 10px 0 20px; +} +.prevnext .prev a { + float:right; + padding:0 20px 0 10px; +} +.image-nav li { + display:inline; +} +.pagelist { + clear:both; + margin:0 0 10px; + padding:0; +} +.pagelist ul,.pagelist li { + margin:0; + padding:0; + display:inline; +} +.pagelist a { + padding:0 2px; +} +.page-numbers { + width:80%; + margin:20px auto; + padding:0; + text-align:center; +} +.page-numbers li { + display:inline; +} +.page-numbers a { + padding:0 5px; +} +.page-numbers a, +.pagelist a { + text-decoration:none; + margin: 0 2px; + padding:0 3px 2px; +} +.page-numbers a:hover, +.page-numbers a:active, +.page-numbers a:focus, +.pagelist a:hover, +.pagelist a:active, +.pagelist a:focus{ + text-decoration:underline; +} + +/* gallery */ +.gallery { + margin:20px auto; + padding:0; +} +.gallery .gallery-icon { + font-weight:normal; + margin:0; + padding:0; +} +.gallery .gallery-item { + float:left; + margin:0 0 20px; + padding:0; + text-align:center; + width:33%; +} +#content .gallery .gallery img { + float:none; + margin:0; + padding:0; +} +.gallery .gallery-caption { + margin:0; + padding:0; + text-align:center; + font-size:.9em; + line-height:1.2em; +} + +/* images */ +.alignleft, +.wp-post-image { + float:left; } .alignright { - float: right; + float:right; +} +.aligncenter { + float:none; + display:block; +} +.alignnone { + float:none; +} +.alignleft, +img.alignleft, +.wp-post-image { + margin:0 20px 20px 0; +} +.alignright, +img.alignright { + margin:0 0 20px 20px; +} +.aligncenter, +img.aligncenter { + margin:10px auto; +} +.main-img { + text-align:center; + margin:20px auto 0; + padding:0; +} +.img-attachment .postcontent { + text-align:center; + margin-bottom:20px; +} +.img-attachment h3.more-images { + font-size:.8em; + text-align:center; + margin:40px 0 5px; + padding:0; +} +.img-attachment img.attachment-thumbnail { + display:inline; +} +.attachment .attachment-caption, +.attachment .attachment-content { + clear:both; +} +.attachment .posted-under { + clear:both; + text-align:center; + font-size:.8em; +} + +/* captions */ +.wp-caption img { + margin:0 auto; + padding:0; } .wp-caption-text { + margin:0; + padding:0; + text-align:center; + font-size:.8em; +} + +/* comments */ +#comments { + margin:0; + padding:20px 0 0; + font-size:1em; + font-weight:bold; +} +#commentlist .commentdata, +#commentlist,#commentlist ul { + margin:0; + padding:0; +} +#commentlist li { + margin:0 0 10px; + padding:0 0 5px; + list-style:none; +} +#commentlist .children li { + margin:10px 20px; +} +#commentlist .comment-author { + float:left; +} +#commentlist img { + float:left; + margin:1px 0 5px 1px; + padding:0; +} +#commentlist .commentmetadata { + min-height:32px; + margin:0 5px 0 0; + text-align:right; + font-size:.9em; +} +#commentlist .comment-author cite { + display:inline; + margin:0 0 0 4px; + padding:0 0 0 5px; + text-align:left; + font-style:normal; +} +#commentlist .bypostauthor > .comment-body cite { + padding-left:20px; +} +#commentlist .comment-author + em { + clear:left; + display:block; +} +#commentlist .comment-edit-link { + font-size:x-small; +} +#commentlist .comment_text { + clear:left; + margin:0; + padding:0 10px; +} +#commentlist .comment p, +#commentlist .trackback p, +#commentlist .pingback p { + clear:both; + padding:0 10px; +} +#commentlist blockquote, +#commentlist blockquote cite { + font-style:italic; +} +#commentlist blockquote { + margin:0 0 0 20px; + padding:0; + min-height:0; +} +#commentlist blockquote cite { + padding-bottom:0; +} +#commentlist .reply { + text-align:right; + margin-right:5px; + font-size:.9em; +} +#commentlist #respond { + width:96%; + margin:0 auto; +} +.comment-links { + margin:0 0 20px; + padding:0; +} +.comment-links li { + margin:0; + padding:0; +} +#commentform { + width:95%; +} +#commentform label.text { + display:inline-block; + width:3.7em; +} +#commentform .comment-form-comment { + margin:0; +} +#commentform .form-allowed-tags { + margin:0; + line-height:1.2em; + font-size:.8em; +} +#commentform .form-submit { + text-align:right; + width:99%; +} +#commentform .form-allowed-tags code { + font-family:Tahoma,Verdana,Arial,Helvetica,sans-serif; + font-size:1em; +} + +/* search results */ +.result-list { + margin:30px 0; + padding:0; +} +.result-list .post-title { + margin:0; + font-size:1.4em; +} +.result-list li { + margin-top:20px; +} +.result-list li li { margin-top:0; - padding-top:0; } -*/ +.result-list .postcontent p { + margin:0; + padding:0; +} +.result-list .format-aside .postcontent p { + margin:0; + padding:0; +} + +/* widget areas */ +.error404 #content .widget-area { + margin:20px 0; +} +#footer .widget-area { + margin-bottom:30px; + font-size:.9em; +} +/* clear all floats */ +.widget-area:after { + content: "."; + display: block; + height: 0; + clear: both; + visibility: hidden; +} +.widget-area .widget { + float:left; + width:22%; + margin-top:20px; + margin-right:3%; +} +.widgettitle { + margin:0; + font-size:1.2em; +} +.widget-area ul { + margin:5px 0 0; + padding:0; +} +.widget-area li { + list-style-position:inside; +} + +/* tag cloud */ +.navbar .widget_tag_cloud a { + display:inline; + padding:0 3px; + white-space:nowrap; +} +.wp-tag-cloud { + padding:10px; +} +.wp-tag-cloud li { + display:inline; + list-style:none; + margin:0; + padding:0; +} +.wp-tag-cloud li a { + letter-spacing:.01em; + text-decoration:none; + white-space:nowrap; +} +.wp-tag-cloud li a:hover { + text-decoration:underline; +} + +/* calendar */ +.navbar #wp-calendar { + display:none; +} +#wp-calendar caption { + margin:0 0 3px; + padding:0; + font-size:.8em; +} +#wp-calendar th { + font-size:.9em; + text-transform:capitalize; +} +#wp-calendar th, +#wp-calendar td { + margin:0; + padding:2px; +} +#wp-calendar #next a { + text-align:right; +} +#wp-calendar #prev a { + text-align:left; +} +#wp-calendar a { + display:block; + text-decoration:none; +} +#wp-calendar tbody, +#wp-calendar tfoot { + font-size:.8em; +} +#wp-calendar #today a { + font-weight:bold; +} +#wp-calendar a { + text-decoration:underline; +} +#wp-calendar a:hover, +#wp-calendar a:active, +#wp-calendar a:focus { + text-decoration:none; +} + +/* password form */ +.password-form br { + display:none; +} + +/* FOOTER */ +#footer { + clear:both; + padding-bottom:5px; +} +#footer .site-links { + clear:both; + margin:0; + padding:0; + font-size:.8em; + text-align:center; +} +#footer .site-links li { + display:inline; + margin:0; + padding:0 5px; +} +#footer .site-links .rss { + position:relative; + top:3px; +} +#footer .credits { + font-size:.8em; + text-align:center; +} + +/* Offsets */ +.navbar h2, +.offset { + position:absolute; + left:-9999px; + top:-9999px; +} + +/* COLOURS */ +body { + color:#fff; +} +blockquote { + background:url(images/quotes.png) no-repeat left top; +} +acronym, abbr { + border-bottom:1px dashed #ddd; +} +ins { + background-color:#f3f3fb; + color:#606060; +} +pre { + background: url(images/paper.png); + color:#606060; + border:1px solid #f3f3fb; + -moz-box-shadow:2px 2px 2px rgba(0,0,0,0.2); + -webkit-box-shadow:2px 2px 2px rgba(0,0,0,0.2); + box-shadow:2px 2px 2px rgba(0,0,0,0.2); +} +fieldset { + background:#dee2e9; +} +fieldset fieldset { + background:#f3f3fb; +} +legend { + background:#B1B4BE; + color:#000; +} +input, textarea { + background:#F0F3F5; + color:#404040; + border:1px solid #ddd; +} +input:focus, +input.focus, +textarea:focus, +textarea.focus { + background:#fff; + color:#606060; + border-color:#407096; +} +input.submit, +input.button, +input[type=submit] { + background:#505050; + color:#fff; + -moz-box-shadow:2px 2px 2px rgba(0,0,0,0.3); + -webkit-box-shadow:2px 2px 2px rgba(0,0,0,0.3); + box-shadow:2px 2px 2px rgba(0,0,0,0.3); +} +input.checkbox { + border:none; +} +table,th,td { + border:1px solid #C6CCD4; +} +th { + background:#dee2e9; +} +tr { + background:#fff; + color:#606060; +} +tr.alt { + background:#f3f3fb; +} +a { + color:#407096; +} +a:visited { + color:#5F487E; +} +a:hover { + color:#407096; +} +a:active, +a:focus { + background-color:#f93; + color:#000; +} +a img { + border:1px solid #fff; + -moz-box-shadow:2px 2px 2px rgba(0,0,0,0.2); + -webkit-box-shadow:2px 2px 2px rgba(0,0,0,0.2); + box-shadow:2px 2px 2px rgba(0,0,0,0.2); +} +a:hover img, +a:active img, +a:focus img { + -moz-box-shadow:2px 2px 2px rgba(0,0,0,0.3); + -webkit-box-shadow:2px 2px 2px rgba(0,0,0,0.2); + box-shadow:2px 2px 2px rgba(0,0,0,0.2); +} +a:hover img { + border-color:#f8f8f8; +} +a:active img, +a:focus img { + border-color:#f93; +} + +/* WRAPPER */ +#wrapper { + background:#fff; + color:#606060; +} +.jumplinks a:active,.jumplinks a:focus { + background:#f93; + color:#000; +} + +/* HEADER */ +#header h1, +#header h1 a { + color:#606060; +} +#header { + border-bottom:3px double #aaa; +} +#header h1 a:hover { + color:#407096; +} +#header h1 a:focus, +#header h1 a:active { + background-color:#f93; + color:#000; +} +#header h1 small { + color:#707070; +} + +/* MENU */ +.navbar { + border-top:3px double #aaa; + border-bottom:3px double #aaa; +} +.navbar ul ul, +.navbar ul li:hover, +.navbar ul a:hover { + background:#dee2e9; + color:#606060; +} +.navbar ul li.widget_tag_cloud:hover, +.navbar .widget_tag_cloud a:hover { + background:transparent; +} +.navbar ul ul { + -moz-box-shadow:2px 2px 2px rgba(0,0,0,0.3); + -webkit-box-shadow:2px 2px 2px rgba(0,0,0,0.3); + box-shadow:2px 2px 2px rgba(0,0,0,0.3); +} +.navbar ul a { + color:#606060; +} +.navbar .current_page_item > a, +.navbar .current-cat > a, +.navbar .current-menu-item > a { + background:#505050; + color:#fff; +} +.navbar ul ul a:hover { + background:#eaeef1; + color:#606060; +} +.navbar a:active, +.navbar a:focus { + background:#f93; + color:#404040; +} + +/* CONTENT */ +#content { + background:#fff; + color:#606060; +} +#content .hentry, +.search-results #content .hentry .hentry { + border-bottom:3px double #aaa; +} +.single #content .hentry, +.page #content .hentry { + border-bottom:none; +} +.sticky .post-title a { + background:url(images/star.png) no-repeat right center; +} +.single { + border:none; +} +#content ul li { + list-style-image:url(images/bullet.jpg); +} +#content ul li ul li { + list-style-image:url(images/bullet2.jpg); +} +#content ul li ul li ul li { + list-style-image:none; +} +#content .prevnext li, +#content .meta li { + list-style-image:none; + list-style:none; +} + +/* no bullets */ +#content #commentlist li, +#content .comment-links li, +#content .result-list li, +#content .pagetree ul li, +#content .widget-area { + list-style-image:none; + list-style:none; +} + +/* Post Formats */ +.format-audio a img, +.format-gallery a img, +.format-image a img, +.format-status a img { + border:none; + -moz-box-shadow:0 0 0 rgba(0,0,0,0); + -webkit-box-shadow:0 0 0 rgba(0,0,0,0); + box-shadow:0 0 0 rgba(0,0,0,0); +} +.single .format-audio { + background:url(images/audio.png) no-repeat right top; +} +.format-link .post-title a { + background:url(images/link.png) no-repeat right top; +} +.format-video .more-link a { + background:url(images/video.png) no-repeat right top; +} +.format-quote .postcontent { + background:#f8fafd url(images/quotes.png) no-repeat left top; + border:4px solid #f8fafd; + -moz-border-radius:20px; + -webkit-border-radius:20px; + border-radius:20px; +} +.format-quote .postcontent .inner { + background:url(images/quotes2.png) no-repeat right bottom; +} +.format-quote .postcontent blockquote { + background-image:none; +} +.format-chat .postcontent { + background:url(images/paper.png); + border:1px solid #f3f3fb; + -moz-box-shadow:2px 2px 2px rgba(0,0,0,0.2); + -webkit-box-shadow:2px 2px 2px rgba(0,0,0,0.2); + box-shadow:2px 2px 2px rgba(0,0,0,0.2); +} +.single .format-image img { + border:10px solid #f3f3fb; + -moz-border-radius:3px; + -khtml-border-radius:3px; + -webkit-border-radius:3px; + border-radius:3px; +} +.single .format-image a:hover img { + border-color:#dee2e9; +} +.single .format-image a:active img, +.single .format-image a:focus img { + border-color:#f93; +} +.format-gallery .more-link img, +.format-image .more-link img { + border-width:5px; +} + +/* pagination */ +.prevnext .next a, +.prevnext .prev a { + background-repeat:no-repeat; +} +.prevnext .next a { + background-image:url(images/left.png); + background-position:left center; +} +.prevnext .prev a { + background-image:url(images/right.png); + background-position:right center; +} +.page-numbers a, +.pagelist a { + background-color:#f3f3fb; + border:1px solid #dee2e9; +} +.page-numbers a:hover, +.pagelist a:hover { + background-color:#505050; + color:#fff; + border-color:#505050; +} +.page-numbers a:active, +.page-numbers a:focus, +.pagelist a:active, +.pagelist a:focus { + background-color:#f93; + color:#000; + border-color:#f93; +} + +/* page tree */ +.pagetree { + background-color:#f8fafd; + border:1px solid #f0f4fb; + -moz-border-radius:10px; + -webkit-border-radius:10px; + border-radius:10px; + -moz-box-shadow:2px 2px 2px rgba(0,0,0,0.2); + -webkit-box-shadow:2px 2px 2px rgba(0,0,0,0.2); + box-shadow:2px 2px 2px rgba(0,0,0,0.2); +} + +/* COMMENTS */ +#comments { + border-top:3px double #aaa; +} +#commentlist .even { + background-color:#f3f3fb; +} +#commentlist .odd { + background:#fff; +} +#commentlist .even, +#commentlist .odd { + border:1px solid #dee2e9; + -moz-border-radius:3px; + -khtml-border-radius:3px; + -webkit-border-radius:3px; + border-radius:3px; + -moz-box-shadow:2px 2px 2px rgba(0,0,0,0.1); + -webkit-box-shadow:2px 2px 2px rgba(0,0,0,0.1); + box-shadow:2px 2px 2px rgba(0,0,0,0.1); +} +#commentlist .bypostauthor > .comment-body cite { + background:url(images/author-comment.png) no-repeat; +} +#commentlist .comment-author-admin > .comment-body cite { + background:url(images/admin-comment.png) no-repeat; +} +#commentlist blockquote { + background:transparent; +} +#commentlist .comment-author + em { + color:#900; +} + +/* gallery & captions */ +.wp-caption img, +#content .gallery img { + border:10px solid #f3f3fb; + -moz-border-radius:3px; + -khtml-border-radius:3px; + -webkit-border-radius:3px; + border-radius:3px; +} +.wp-caption a:hover img, +#content .gallery a:hover img { + border-color:#dee2e9; +} +.wp-caption a:active img, +.wp-caption a:focus img, +#content .gallery a:active img, +#content .gallery a:focus img { + border-color:#f93; +} + +/* wp-calendar */ +#wp-calendar tbody td a { + background:#E9ECF1; +} +#wp-calendar td a:hover { + background:#407096; + color:#fff; +} +#wp-calendar tbody td a:active, +#wp-calendar tbody td a:focus { + background:#f93; + color:#000; +} +#wp-calendar #today, +#wp-calendar #today a { + background:#F5E6F5; +} + +/* BROWSER SPECIFIC css */ +/* fixes any HasLayout issue in IE */ +body.ie #content, +body.ie #left_sidebar, +body.ie #right_sidebar, +body.ie #footer { + height:50%; +}