diff --git a/wp-content/themes/hybrid-news/css/front-page.css b/wp-content/themes/hybrid-news/css/front-page.css new file mode 100644 index 0000000000000000000000000000000000000000..7b9e2ab273d22074f3b0851a8a3de3bb5d951569 --- /dev/null +++ b/wp-content/themes/hybrid-news/css/front-page.css @@ -0,0 +1,179 @@ +/** + * Front Page Stylesheet + * This is only loaded when using the front-page.php page template + * + * @since 0.1 + */ + +/** +* Featured slider +************************************************/ +#slider-container { + overflow: hidden; + width: 600px; + height: 250px; + margin: 0 0 30px 0; + background: #093653; + } +#slider { + overflow: hidden; + width: 580px; + height: 230px; + } +.feature { + overflow: hidden; + width: 560px; + height: 210px; + padding: 10px 10px 0 10px; + color: #ccc; + background: #093653; + border: none !important; + } +#slider-container a { + color: #ddd; + font-weight: bold; + } +.feature img { + float: left; + max-width: 230px; + max-height: 200px; + width: 230px; + height: 200px; + margin: 0 15px 0 0; + border: 5px solid #001838; + } +#slider .feature .entry-title { + font-size: 21px; + } +#slider .feature .entry-title a { + color: #eee; + } +.feature .byline { + color: #aaa; + margin-bottom: 15px; + } +.more-link { + float: left; + text-indent: -9999px; + width: 100px; + height: 20px; + display: block; + background: url(../images/more-link.gif) no-repeat 0 0; + } +.more-link:hover { + background: url(../images/more-link.gif) no-repeat 0 -20px; + } + +/* Slider controls */ +.slider-controls { + float: left; + width: 66px; + height: 20px; + overflow: hidden; + clear: both; + line-height: 15px; + margin: 0 0 0; + padding: 0 10px 0 524px; + background: #062f4a; + border-top: 2px solid #03273f; + } +.slider-controls .slider-prev { + text-indent: -9999px; + float: left; + width: 22px; + height: 20px; + background: #062F4A url(../images/slider-prev.gif) no-repeat 0 0; + border: none !important; + } +.slider-controls .slider-prev:hover { + background: #062F4A url(../images/slider-prev.gif) no-repeat left -20px; + } +.slider-controls .slider-pause { + text-indent: -9999px; + float: left; + width: 22px; + height: 20px; + background: #062F4A url(../images/pause.gif) no-repeat center 0; + border: none !important; + } +.slider-controls .slider-pause:hover, .slider-controls a.paused { + background: #062F4A url(../images/pause.gif) no-repeat center -20px; + } +.slider-controls .slider-next { + text-indent: -9999px; + float: right; + width: 22px; + height: 20px; + background: #062F4A url(../images/slider-next.gif) no-repeat right 0; + border: none !important; + } +.slider-controls .slider-next:hover { + background: #062F4A url(../images/slider-next.gif) no-repeat right -20px; + } + +/** +* Featured excerpts +************************************************/ +.content .entry-title, #content .entry-title { + margin-bottom: 3px; + font: 15px/18px georgia, times, 'times new roman', serif; + font-weight: bold; + } +.byline { + margin-bottom: 3px; + } + +.post { + border-bottom: 1px solid #ddd; + } + +.page-template-front-page .entry-meta { + display: none; + } + +/** +* Headlines +************************************************/ +.section-title { + font-size: 15px; + font-weight: bold; + margin: 0 0 5px 0; + padding: 0 0 5px 0; + border-bottom: 1px solid #ddd; + } +#headlines .section-title { + } +#headlines { + overflow: hidden; + } + +#headlines .odd { + float: left; + overflow: hidden; + width: 280px; + clear: both; + } +#headlines .even { + float: right; + overflow: hidden; + width: 280px; + clear: none; + } +#headlines ul { + font-size: 11px; + margin-left: 5px; + } +#headlines ul li { + background: url(../images/bullet.gif) no-repeat 0 7px; + } +#headlines ul li a { + font-weight: bold; + } + +#content .post, .content .post { + clear: both; + margin-bottom: 20px; + } +.wp-pagenavi, .navigation-links { + display: none; + } \ No newline at end of file diff --git a/wp-content/themes/hybrid-news/css/tabs.css b/wp-content/themes/hybrid-news/css/tabs.css new file mode 100644 index 0000000000000000000000000000000000000000..f99692c93478437072dad6746feec1841210e33e --- /dev/null +++ b/wp-content/themes/hybrid-news/css/tabs.css @@ -0,0 +1,77 @@ +/** + * Tabs Stylesheet + * For use with the Hybrid Tabs plugin + * + * @since 0.1 + */ + +.tab-content { + display: none; + } +.t1 { + display: block; + } + +/** +* Primary tabs and content-area widget tabs +***********************************************/ +#content .widget-tabs, #primary .widget-tabs { + margin: 0 0 20px 0 !important; + padding: 0 !important; + background: transparent !important; + border: none !important; + } + +#content .widget-tabs .widget-inside, #primary .widget-tabs .widget-inside { + padding: 0 !important; + background: transparent !important; + border: none !important; + } +#content .widget-tabs ul.tabs, #primary .widget-tabs ul.tabs { + overflow: hidden; + list-style: none; + margin: 0 0 7px 0; + } +#content .widget-tabs li.t, #primary .widget-tabs li.t { + float: left; + display: inline; + margin: 0 7px 0 0; + padding: 0; + background: transparent; + border: 1px solid #ddd !important; + text-align: center; + } +#content .widget-tabs li.t a, #primary .widget-tabs li.t a { + display: block; + padding: 7px 12px; + font-weight: bold; + color: #666; + background: #fff; + } +#content .widget-tabs li.t a:hover, #primary .widget-tabs li.t a:hover { + background: #eee; + text-decoration: none; + } +#content .widget-tabs li.t a.tab-current, #primary .widget-tabs li.t a.tab-current { + color: #4b6e85; + background: #fff; + color: #f7f7f7; + background: #093653; + } +#content .widget-tabs .tab-content, #primary .widget-tabs .tab-content { + overflow: hidden; + clear: left; + padding: 9px 9px 0 9px; + background: #fff; + border: 1px solid #ddd; + } + +/** +* Primary widget tabs +************************************************/ +#primary .widget-tabs ul.tabs { + width: 320px; + } +#primary .widget-tabs li.t4 { + margin: 0; + } \ No newline at end of file diff --git a/wp-content/themes/hybrid-news/functions.php b/wp-content/themes/hybrid-news/functions.php new file mode 100644 index 0000000000000000000000000000000000000000..c93f4a500102c07d56d9905e1d9f7d211377c522 --- /dev/null +++ b/wp-content/themes/hybrid-news/functions.php @@ -0,0 +1,260 @@ +<?php +/** + * Functions File + * + * This is your child theme's functions.php file. It is here for adding custom functions and + * setting up default functionality for this child theme. You are free to modify this file in + * any way you like. Note that if you change the functions already within this file, you run + * the risk of losing theme functionality. Alter the functions below only if you know what + * you're doing. + * + * @package HybridNews + * @subpackage Functions + */ + +/* Set up the Hybrid News child theme and its default functionality. */ +add_action( 'after_setup_theme', 'hybrid_news_setup' ); + +/** + * Adds all the default actions and filters to their appropriate hooks and sets up anything + * else needed by the theme. + * + * @since 0.3 + */ +function hybrid_news_setup() { + + /* Get the parent theme prefix for use with its hooks. */ + $prefix = hybrid_get_prefix(); + + /* Load any translation files for the user. */ + load_child_theme_textdomain( 'hybrid-news', get_stylesheet_directory() ); + + /* Register additional menus. */ + add_action( 'init', 'hybrid_news_register_menus', 11 ); + + /* Register additional sidebars. */ + add_action( 'init', 'hybrid_news_register_sidebars', 11 ); + + /* Perform specific functions for the front page template. */ + add_action( 'template_redirect', 'hybrid_news_front_page_template' ); + + /* Add the secondary menu before the header. */ + add_action( "{$prefix}_before_header", 'hybrid_news_get_secondary_menu' ); + + /* Add the header sidebar to the header. */ + add_action( "{$prefix}_header", 'hybrid_news_get_utility_header', 11 ); + + /* Add the post author box after singular posts. */ + add_action( "{$prefix}_singular-post_after_singular", 'hybrid_news_author_box' ); + + /* Add the tertiary sidebar after the secondary sidebar. */ + add_action( "{$prefix}_after_container", 'hybrid_news_get_tertiary', 11 ); + + /* Set up the theme settings meta box. */ + add_action( 'admin_menu', 'hybrid_news_create_meta_box' ); + + /* Save the theme settings meta box settings. */ + add_action( "{$prefix}_update_settings_page", 'hybrid_news_save_meta_box' ); + + /* Additional arguments for the post meta box of the parent theme. */ + add_filter( "{$prefix}_post_meta_box_args", 'hybrid_news_post_meta_box_args' ); +} + +/** + * Registers additional nav menus for use with this theme. + * + * @since 0.3 + */ +function hybrid_news_register_menus() { + register_nav_menu( 'secondary-menu', __( 'Secondary Menu', 'hybrid-news' ) ); +} + +/** + * Loads the menu-secondary.php template, which displays the Secondary Menu. + * + * @since 0.3 + */ +function hybrid_news_get_secondary_menu() { + locate_template( array( 'menu-secondary.php', 'menu.php' ), true ); +} + +/** + * Register additional widget areas + * + * @since 0.3 + */ +function hybrid_news_register_sidebars() { + register_sidebar( array( 'name' => __( 'Tertiary', 'hybrid-news' ), 'id' => 'tertiary', 'before_widget' => '<div id="%1$s" class="widget %2$s widget-%2$s"><div class="widget-inside">', 'after_widget' => '</div></div>', 'before_title' => '<h3 class="widget-title">', 'after_title' => '</h3>' ) ); + register_sidebar( array( 'name' => __( 'Utility: Header', 'hybrid-news' ), 'id' => 'utilityheader', 'before_widget' => '<div id="%1$s" class="widget %2$s widget-%2$s"><div class="widget-inside">', 'after_widget' => '</div></div>', 'before_title' => '<h3 class="widget-title">', 'after_title' => '</h3>' ) ); +} + +/** + * Loads the sidebar-header.php template, which loads the Utility: Header sidebar. + * + * @since 0.3 + */ +function hybrid_news_get_utility_header() { + get_sidebar( 'header' ); +} + +/** + * Loads the sidebar-tertiary.php template, which displays the Tertiary sidebar. + * + * @since 0.3 + */ +function hybrid_news_get_tertiary() { + get_sidebar( 'tertiary' ); +} + +/** + * Adds JavaScript and CSS to Front Page page template. + * Also removes the breadcrumb menu. + * + * @since 0.3 + */ +function hybrid_news_front_page_template() { + + /* If we're not looking at the front page template, return. */ + if ( !is_page_template( 'page-front-page.php' ) ) + return; + + /* Load the jQuery Cycle plugin JavaScript and custom JavaScript for it. */ + wp_enqueue_script( 'slider', get_stylesheet_directory_uri() . '/js/jquery.cycle.js', array( 'jquery' ), 0.1, true ); + + /* Load the front page stylesheet. */ + wp_enqueue_style( 'front-page', get_stylesheet_directory_uri() . '/css/front-page.css', false, '0.1', 'screen' ); + + /* Remove the breadcrumb trail. */ + remove_action( 'hybrid_before_content', 'hybrid_breadcrumb' ); +} + +/** + * Shows an author description after the post but before the comments section on + * singular post views. + * + * @since 0.3 + */ +function hybrid_news_author_box() { ?> + <div class="author-profile vcard"> + <?php echo get_avatar( get_the_author_email(), '96' ); ?> + <h4 class="author-name fn n"><?php the_author_posts_link(); ?></h4> + <?php the_author_meta( 'description' ); ?> + </div><?php +} + +/** + * Adds a medium/feature image setting to the post meta box. + * + * @since 0.3 + */ +function hybrid_news_post_meta_box_args( $meta_boxes ) { + $meta_boxes['medium'] = array( 'name' => 'Medium', 'default' => '', 'title' => __( 'Medium/Feature:', 'hybrid-news' ), 'type' => 'text', 'show_description' => false, 'description' => false ); + return $meta_boxes; +} + +/** + * Saves the theme settings for Hybrid News if the user has added any. + * + * @since 0.3 + */ +function hybrid_news_save_meta_box() { + + /* Verify the nonce, so we know this is secure. */ + if ( !wp_verify_nonce( $_POST['front_page_meta_box_nonce'], basename( __FILE__ ) ) ) + return false; + + $settings = get_option( 'hybrid_news_theme_settings' ); + + $settings['feature_category'] = absint( $_POST['feature_category'] ); + $settings['excerpt_category'] = absint( $_POST['excerpt_category'] ); + $settings['feature_num_posts'] = absint( $_POST['feature_num_posts'] ); + $settings['excerpt_num_posts'] = absint( $_POST['excerpt_num_posts'] ); + $settings['headlines_num_posts'] = absint( $_POST['headlines_num_posts'] ); + $settings['headlines_category'] = (array)$_POST['headlines_category']; + + $updated = update_option( 'hybrid_news_theme_settings', $settings ); +} + +/** + * Adds a meta box to the theme settings page in the admin. + * + * @since 0.3 + */ +function hybrid_news_create_meta_box() { + add_meta_box( 'hybrid-news-front-page-box', __( 'Front Page template settings', 'hybrid-news' ), 'hybrid_news_front_page_meta_box', 'appearance_page_theme-settings', 'normal', 'low' ); +} + +/** + * Outputs the meta box and its form for the theme settings page. + * + * @since 0.3 + */ +function hybrid_news_front_page_meta_box() { + $categories = get_categories(); + $settings = get_option( 'hybrid_news_theme_settings' ); ?> + + <input type="hidden" name="front_page_meta_box_nonce" value="<?php echo wp_create_nonce( basename( __FILE__ ) ); ?>" /> + + <table class="form-table"> + + <tr> + <th><label for="feature_category"><?php _e( 'Feature Category:', 'hybrid-news' ); ?></label></th> + <td> + <select id="feature_category" name="feature_category"> + <option value="" <?php selected( $settings['feature_category'], '' ); ?>></option> + <?php foreach ( $categories as $cat ) { ?> + <option value="<?php echo $cat->term_id; ?>" <?php selected( $settings['feature_category'], $cat->term_id ); ?>><?php echo esc_html( $cat->name ); ?></option> + <?php } ?> + </select> + <?php _e( 'Leave blank to use sticky posts.', 'hybrid-news' ); ?> + </td> + </tr> + <tr> + <th><label for="feature_num_posts"><?php _e( 'Featured Posts:', 'hybrid-news' ); ?></label></th> + <td> + <input type="text" id="feature_num_posts" name="feature_num_posts" value="<?php echo esc_attr( $settings['feature_num_posts'] ); ?>" size="2" maxlength="2" /> + <label for="feature_num_posts"><?php _e( 'How many feature posts should be shown?', 'hybrid-news' ); ?></label> + </td> + </tr> + <tr> + <th><label for="excerpt_category"><?php _e( 'Excerpts Category:', 'hybrid-news' ); ?></label></th> + <td> + <select id="excerpt_category" name="excerpt_category"> + <option value="" <?php selected( $settings['excerpt_category'], '' ); ?>></option> + <?php foreach( $categories as $cat ) { ?> + <option value="<?php echo $cat->term_id; ?>" <?php selected( $settings['excerpt_category'], $cat->term_id ); ?>><?php echo esc_html( $cat->name ); ?></option> + <?php } ?> + </select> + </td> + </tr> + <tr> + <th><label for="excerpt_num_posts"><?php _e( 'Excerpts Posts:', 'hybrid-news' ); ?></label></th> + <td> + <input type="text" id="excerpt_num_posts" name="excerpt_num_posts" value="<?php echo esc_attr( $settings['excerpt_num_posts'] ); ?>" size="2" maxlength="2" /> + <label for="excerpt_num_posts"><?php _e('How many excerpts should be shown?', 'hybrid-news' ); ?></label> + </td> + </tr> + <tr> + <th><label for="headlines_category"><?php _e( 'Headline Categories:', 'hybrid-news' ); ?></label></th> + <td> + <label for="headlines_category"><?php _e( 'Multiple categories may be chosen by holding the <code>Ctrl</code> key and selecting.', 'hybrid-news' ); ?></label> + <br /> + <select id="headlines_category" name="headlines_category[]" multiple="multiple" style="height:150px;"> + <?php foreach( $categories as $cat ) { ?> + <option value="<?php echo $cat->term_id; ?>" <?php if( is_array( $settings['headlines_category'] ) && in_array( $cat->term_id, $settings['headlines_category'] ) ) echo ' selected="selected"'; ?>><?php echo esc_html( $cat->name ); ?></option> + <?php } ?> + </select> + </td> + </tr> + <tr> + <th><label for="headlines_num_posts"><?php _e('Headlines Posts:', 'hybrid-news' ); ?></label></th> + <td> + <input type="text" id="headlines_num_posts" name="headlines_num_posts" value="<?php echo esc_attr( $settings['headlines_num_posts'] ); ?>" size="2" maxlength="2" /> + <label for="headlines_num_posts"><?php _e( 'How many posts should be shown per headline category?', 'hybrid-news' ); ?></label> + </td> + </tr> + + </table><!-- .form-table --><?php +} + +?> \ No newline at end of file diff --git a/wp-content/themes/hybrid-news/images/bg-header.png b/wp-content/themes/hybrid-news/images/bg-header.png new file mode 100644 index 0000000000000000000000000000000000000000..e924a098d572f68654b5bb2c2553bddaa82788ed Binary files /dev/null and b/wp-content/themes/hybrid-news/images/bg-header.png differ diff --git a/wp-content/themes/hybrid-news/images/bg-primary-menu.png b/wp-content/themes/hybrid-news/images/bg-primary-menu.png new file mode 100644 index 0000000000000000000000000000000000000000..f259b6b8658d5384ec6e02458d5a66cb0f8d0ec0 Binary files /dev/null and b/wp-content/themes/hybrid-news/images/bg-primary-menu.png differ diff --git a/wp-content/themes/hybrid-news/images/bg.png b/wp-content/themes/hybrid-news/images/bg.png new file mode 100644 index 0000000000000000000000000000000000000000..a35f09be66a4347acb1df038c373248b7e2e8e57 Binary files /dev/null and b/wp-content/themes/hybrid-news/images/bg.png differ diff --git a/wp-content/themes/hybrid-news/images/bullet.gif b/wp-content/themes/hybrid-news/images/bullet.gif new file mode 100644 index 0000000000000000000000000000000000000000..4d6e3efaab49f513ca7956b5a8f83cf2a27be651 Binary files /dev/null and b/wp-content/themes/hybrid-news/images/bullet.gif differ diff --git a/wp-content/themes/hybrid-news/images/cat-nav-border.png b/wp-content/themes/hybrid-news/images/cat-nav-border.png new file mode 100644 index 0000000000000000000000000000000000000000..a9c293bca847c5fae544f3a52c3283ea540b4afc Binary files /dev/null and b/wp-content/themes/hybrid-news/images/cat-nav-border.png differ diff --git a/wp-content/themes/hybrid-news/images/code.png b/wp-content/themes/hybrid-news/images/code.png new file mode 100644 index 0000000000000000000000000000000000000000..e3cfc2ae52d6d99dc9e4525208cd4b579102cdb5 Binary files /dev/null and b/wp-content/themes/hybrid-news/images/code.png differ diff --git a/wp-content/themes/hybrid-news/images/container-bg.png b/wp-content/themes/hybrid-news/images/container-bg.png new file mode 100644 index 0000000000000000000000000000000000000000..2db43e07f381c036bbc483c3592bb559cb869571 Binary files /dev/null and b/wp-content/themes/hybrid-news/images/container-bg.png differ diff --git a/wp-content/themes/hybrid-news/images/feed-icon.png b/wp-content/themes/hybrid-news/images/feed-icon.png new file mode 100644 index 0000000000000000000000000000000000000000..ab5d65f1b6d5e8729090fe6dbe1369584408f8b2 Binary files /dev/null and b/wp-content/themes/hybrid-news/images/feed-icon.png differ diff --git a/wp-content/themes/hybrid-news/images/more-link.gif b/wp-content/themes/hybrid-news/images/more-link.gif new file mode 100644 index 0000000000000000000000000000000000000000..ce863eee2d0d052b9692ece2934589510c872349 Binary files /dev/null and b/wp-content/themes/hybrid-news/images/more-link.gif differ diff --git a/wp-content/themes/hybrid-news/images/pause.gif b/wp-content/themes/hybrid-news/images/pause.gif new file mode 100644 index 0000000000000000000000000000000000000000..ec4da353ee19a2b95b9d5cacece3e950ade03f2a Binary files /dev/null and b/wp-content/themes/hybrid-news/images/pause.gif differ diff --git a/wp-content/themes/hybrid-news/images/pingback.jpg b/wp-content/themes/hybrid-news/images/pingback.jpg new file mode 100644 index 0000000000000000000000000000000000000000..a9cf71e42b5b927a143cc70a5b9aeb0c982b667f Binary files /dev/null and b/wp-content/themes/hybrid-news/images/pingback.jpg differ diff --git a/wp-content/themes/hybrid-news/images/quotes.gif b/wp-content/themes/hybrid-news/images/quotes.gif new file mode 100644 index 0000000000000000000000000000000000000000..67138eeb5cf0e1f03e6a0fd55caf505c11912609 Binary files /dev/null and b/wp-content/themes/hybrid-news/images/quotes.gif differ diff --git a/wp-content/themes/hybrid-news/images/search-icon.png b/wp-content/themes/hybrid-news/images/search-icon.png new file mode 100644 index 0000000000000000000000000000000000000000..ae7b14f14b815b67f2402ce217616c9a836db8a0 Binary files /dev/null and b/wp-content/themes/hybrid-news/images/search-icon.png differ diff --git a/wp-content/themes/hybrid-news/images/slider-next.gif b/wp-content/themes/hybrid-news/images/slider-next.gif new file mode 100644 index 0000000000000000000000000000000000000000..9f7907ff9077ffa1f7153f9f86e0204c8e37f2db Binary files /dev/null and b/wp-content/themes/hybrid-news/images/slider-next.gif differ diff --git a/wp-content/themes/hybrid-news/images/slider-prev.gif b/wp-content/themes/hybrid-news/images/slider-prev.gif new file mode 100644 index 0000000000000000000000000000000000000000..5046a568e2eb38bba6a7cf86ae8351066f71bb31 Binary files /dev/null and b/wp-content/themes/hybrid-news/images/slider-prev.gif differ diff --git a/wp-content/themes/hybrid-news/images/trackback.jpg b/wp-content/themes/hybrid-news/images/trackback.jpg new file mode 100644 index 0000000000000000000000000000000000000000..a9cf71e42b5b927a143cc70a5b9aeb0c982b667f Binary files /dev/null and b/wp-content/themes/hybrid-news/images/trackback.jpg differ diff --git a/wp-content/themes/hybrid-news/images/widget-title.png b/wp-content/themes/hybrid-news/images/widget-title.png new file mode 100644 index 0000000000000000000000000000000000000000..bd1031fdcda76e13be247872abf88a965d3339da Binary files /dev/null and b/wp-content/themes/hybrid-news/images/widget-title.png differ diff --git a/wp-content/themes/hybrid-news/js/jquery.cycle.js b/wp-content/themes/hybrid-news/js/jquery.cycle.js new file mode 100644 index 0000000000000000000000000000000000000000..d1d5b5afbefaaffe12431c565173a555f12183ac --- /dev/null +++ b/wp-content/themes/hybrid-news/js/jquery.cycle.js @@ -0,0 +1,44 @@ +eval(function(p,a,c,k,e,r){e=function(c){return(c<62?'':e(parseInt(c/62)))+((c=c%62)>35?String.fromCharCode(c+29):c.toString(36))};if('0'.replace(0,e)==0){while(c--)r[e(c)]=k[c];k=[function(e){return r[e]||e}];e=function(){return'([47-9yA-Z]|[12]\\w)'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}(';(4(j){8 u="2.30";8 t=j.21.22&&/MSIE 6.0/.1t(navigator.userAgent);4 r(){7(23.24&&23.24.2p){23.24.2p("[D] "+Array.prototype.join.call(2q,""))}}j.G.D=4(l){8 s=2q[1];Q A.1r(4(){7(l===undefined||l===R){l={}}7(l.25==2r){switch(l){26"stop":7(A.U){1u(A.U)}A.U=0;j(A).1C("D.1K","");Q;26"27":A.1h=1;Q;26"2s":A.1h=0;7(s===28){l=j(A).1C("D.1K");7(!l){r("2t 1n 2u, 2v 1n 2s");Q}7(A.U){1u(A.U);A.U=0}q(l.1L,l,1,1)}Q;default:l={fx:l}}}S{7(l.25==Number){8 i=l;l=j(A).1C("D.1K");7(!l){r("2t 1n 2u, 2v 1n advance 2w");Q}7(i<0||i>=l.1L.N){r("invalid 2w 1D: "+i);Q}l.P=i;7(A.U){1u(A.U);A.U=0}q(l.1L,l,1,i>=l.1b);Q}}7(A.U){1u(A.U)}A.U=0;A.1h=0;8 b=j(A);8 g=l.29?j(l.29,A):b.children();8 k=g.get();7(k.N<2){r("terminating; too few slides: "+k.N);Q}8 a=j.extend({},j.G.D.2x,l||{},j.2y?b.2y():j.meta?b.1C():{});7(a.2a){a.2b=a.2c||k.N}b.1C("D.1K",a);a.1v=A;a.1L=k;a.J=a.J?[a.J]:[];a.1k=a.1k?[a.1k]:[];a.1k.1M(4(){a.2d=0});7(a.1w){a.1k.L(4(){q(k,a,0,!a.1x)})}7(t&&a.1N&&!a.2z){h(g)}8 o=A.className;a.F=V((o.1E(/w:(\\d+)/)||[])[1])||a.F;a.E=V((o.1E(/h:(\\d+)/)||[])[1])||a.E;a.1c=V((o.1E(/t:(\\d+)/)||[])[1])||a.1c;7(b.y("1O")=="static"){b.y("1O","relative")}7(a.F){b.F(a.F)}7(a.E&&a.E!="1P"){b.E(a.E)}7(a.19){a.19=V(a.19)}7(a.1l){a.1p=[];1F(8 n=0;n<k.N;n++){a.1p.L(n)}a.1p.sort(4(e,f){Q Math.1l()-0.5});a.11=0;a.19=a.1p[0]}S{7(a.19>=k.N){a.19=0}}8 m=a.19||0;g.y({1O:"2A",B:0,9:0}).W().1r(4(e){8 f=m?e>=m?k.N-(e-m):m-e:k.N-e;j(A).y("z-1D",f)});j(k[m]).y("1i",1).X();7(j.21.22){k[m].2B.2C("2e")}7(a.1m&&a.F){g.F(a.F)}7(a.1m&&a.E&&a.E!="1P"){g.E(a.E)}7(a.27){b.2D(4(){A.1h=1},4(){A.1h=0})}8 v=j.G.D.O[a.fx];7(j.2E(v)){v(b,g,a)}S{7(a.fx!="2f"){r("unknown transition: "+a.fx)}}g.1r(4(){8 e=j(A);A.12=(a.1m&&a.E)?a.E:e.E();A.14=(a.1m&&a.F)?a.F:e.F()});a.C=a.C||{};a.K=a.K||{};a.I=a.I||{};g.1n(":eq("+m+")").y(a.C);7(a.1g){j(g[m]).y(a.1g)}7(a.1c){a.1c=V(a.1c);7(a.1a.25==2r){a.1a=j.fx.speeds[a.1a]||V(a.1a)}7(!a.1Q){a.1a=a.1a/2}while((a.1c-a.1a)<250){a.1c+=a.1a}}7(a.2h){a.1R=a.1S=a.2h}7(!a.1y){a.1y=a.1a}7(!a.1G){a.1G=a.1a}a.2F=k.N;a.1b=m;7(a.1l){a.P=a.1b;7(++a.11==k.N){a.11=0}a.P=a.1p[a.11]}S{a.P=a.19>=(k.N-1)?0:a.19+1}8 p=g[m];7(a.J.N){a.J[0].1T(p,[p,p,a,28])}7(a.1k.N>1){a.1k[1].1T(p,[p,p,a,28])}7(a.1H&&!a.1I){a.1I=a.1H}7(a.1I){j(a.1I).2i("1H",4(){Q w(k,a,a.1x?-1:1)})}7(a.2j){j(a.2j).2i("1H",4(){Q w(k,a,a.1x?1:-1)})}7(a.1q){x(k,a)}a.addSlide=4(e,f){8 c=j(e),d=c[0];7(!a.2c){a.2b++}k[f?"1M":"L"](d);7(a.1d){a.1d[f?"1M":"L"](d)}a.2F=k.N;c.y("1O","2A");c[f?"prependTo":"2G"](b);7(f){a.1b++;a.P++}7(t&&a.1N&&!a.2z){h(c)}7(a.1m&&a.F){c.F(a.F)}7(a.1m&&a.E&&a.E!="1P"){g.E(a.E)}d.12=(a.1m&&a.E)?a.E:c.E();d.14=(a.1m&&a.F)?a.F:c.F();c.y(a.C);7(a.1q){j.G.D.2k(k.N-1,d,j(a.1q),k,a)}7(1U a.Y=="4"){a.Y(c)}};7(a.1c||a.1w){A.U=1V(4(){q(k,a,0,!a.1x)},a.1w?10:a.1c+(a.2H||0))}})};4 q(c,d,i,b){7(d.2d){Q}8 g=d.1v,k=c[d.1b],a=c[d.P];7(g.U===0&&!i){Q}7(!i&&!g.1h&&((d.2a&&(--d.2b<=0))||(d.1W&&!d.1l&&d.P<d.1b))){7(d.2l){d.2l(d)}Q}7(i||!g.1h){7(d.J.N){j.1r(d.J,4(e,f){f.1T(a,[k,a,d,b])})}8 o=4(){7(j.21.22&&d.1N){A.2B.2C("2e")}j.1r(d.1k,4(e,f){f.1T(a,[k,a,d,b])})};7(d.P!=d.1b){d.2d=1;7(d.1X){d.1X(k,a,d,o,b)}S{7(j.2E(j.G.D[d.fx])){j.G.D[d.fx](k,a,d,o)}S{j.G.D.2f(k,a,d,o,i&&d.2I)}}}7(d.1l){d.1b=d.P;7(++d.11==c.N){d.11=0}d.P=d.1p[d.11]}S{8 n=(d.P+1)==c.N;d.P=n?0:d.P+1;d.1b=n?c.N-1:d.P-1}7(d.1q){j.G.D.2m(d.1q,d.1b)}}7(d.1c&&!d.1w){g.U=1V(4(){q(c,d,0,!d.1x)},d.1c)}S{7(d.1w&&g.1h){g.U=1V(4(){q(c,d,0,!d.1x)},10)}}}j.G.D.2m=4(e,f){j(e).find("a").removeClass("2J").2e("a:eq("+f+")").addClass("2J")};4 w(e,f,c){8 d=f.1v,i=d.U;7(i){1u(i);d.U=0}7(f.1l&&c<0){f.11--;7(--f.11==-2){f.11=e.N-2}S{7(f.11==-1){f.11=e.N-1}}f.P=f.1p[f.11]}S{7(f.1l){7(++f.11==e.N){f.11=0}f.P=f.1p[f.11]}S{f.P=f.1b+c;7(f.P<0){7(f.1W){Q 1Y}f.P=e.N-1}S{7(f.P>=e.N){7(f.1W){Q 1Y}f.P=0}}}}7(f.1Z&&1U f.1Z=="4"){f.1Z(c>0,f.P,e[f.P])}q(e,f,1,c>=0);Q 1Y}4 x(c,d){8 i=j(d.1q);j.1r(c,4(e,f){j.G.D.2k(e,f,i,c,d)});j.G.D.2m(d.1q,d.19)}j.G.D.2k=4(c,d,i,b,g){8 k=(1U g.2n=="4")?j(g.2n(c,d)):j(\'<a href="#">\'+(c+1)+"</a>");7(k.parents("body").N==0){k.2G(i)}k.2i(g.2K,4(){g.P=c;8 e=g.1v,f=e.U;7(f){1u(f);e.U=0}7(1U g.2o=="4"){g.2o(g.P,b[g.P])}q(b,g,1,g.1b<c);Q 1Y});7(g.2L){k.2D(4(){g.1v.1h=1},4(){g.1v.1h=0})}};4 h(d){4 i(e){8 e=V(e).toString(16);Q e.N<2?"0"+e:e}4 b(e){1F(;e&&e.nodeName.toLowerCase()!="html";e=e.parentNode){8 f=j.y(e,"2M-2N");7(f.indexOf("rgb")>=0){8 c=f.1E(/\\d+/g);Q"#"+i(c[0])+i(c[1])+i(c[2])}7(f&&f!="transparent"){Q f}}Q"#ffffff"}d.1r(4(){j(A).y("2M-2N",b(A))})}j.G.D.2f=4(e,f,c,d,i){8 b=j(e),g=j(f);g.y(c.C);8 k=i?1:c.1y;8 a=i?1:c.1G;8 o=i?R:c.1R;8 n=i?R:c.1S;8 m=4(){g.20(c.K,k,o,d)};b.20(c.I,a,n,4(){7(c.M){b.y(c.M)}7(!c.1Q){m()}});7(c.1Q){m()}};j.G.D.O={2O:4(f,c,d){c.1n(":eq("+d.19+")").y("1i",0);d.J.L(4(){j(A).X()});d.K={1i:1};d.I={1i:0};d.C={1i:0};d.M={T:"Z"};d.Y=4(e){e.W()}}};j.G.D.ver=4(){Q u};j.G.D.2x={fx:"2O",1c:4000,1w:0,1a:1000,1y:R,1G:R,1I:R,2j:R,1Z:R,1q:R,2o:R,2K:"1H",2n:R,J:R,1k:R,2l:R,2h:R,1R:R,1S:R,1J:R,K:R,I:R,C:R,M:R,1X:R,E:"1P",19:0,1Q:1,1l:0,1m:0,27:0,2L:0,2a:0,2c:0,2H:0,29:R,1N:0,1W:0,2I:0}})(2P);(4(h){h.G.D.O.scrollUp=4(d,i,b){d.y("18","1e");b.J.L(4(e,f,c){h(A).X();c.C.B=f.1z;c.I.B=0-e.1z});b.1g={B:0};b.K={B:0};b.M={T:"Z"}};h.G.D.O.scrollDown=4(d,i,b){d.y("18","1e");b.J.L(4(e,f,c){h(A).X();c.C.B=0-f.1z;c.I.B=e.1z});b.1g={B:0};b.K={B:0};b.M={T:"Z"}};h.G.D.O.scrollLeft=4(d,i,b){d.y("18","1e");b.J.L(4(e,f,c){h(A).X();c.C.9=f.1A;c.I.9=0-e.1A});b.1g={9:0};b.K={9:0}};h.G.D.O.scrollRight=4(d,i,b){d.y("18","1e");b.J.L(4(e,f,c){h(A).X();c.C.9=0-f.1A;c.I.9=e.1A});b.1g={9:0};b.K={9:0}};h.G.D.O.scrollHorz=4(g,k,a){g.y("18","1e").F();a.J.L(4(e,f,c,d){h(A).X();8 i=e.1A,b=f.1A;c.C=d?{9:b}:{9:-b};c.K.9=0;c.I.9=d?-i:i;k.1n(e).y(c.C)});a.1g={9:0};a.M={T:"Z"}};h.G.D.O.scrollVert=4(g,k,a){g.y("18","1e");a.J.L(4(e,f,c,d){h(A).X();8 i=e.1z,b=f.1z;c.C=d?{B:-b}:{B:b};c.K.B=0;c.I.B=d?i:-i;k.1n(e).y(c.C)});a.1g={B:0};a.M={T:"Z"}};h.G.D.O.slideX=4(d,i,b){b.J.L(4(e,f,c){h(e).y("H",1)});b.Y=4(e){e.W()};b.C={H:2};b.K={F:"X"};b.I={F:"W"}};h.G.D.O.slideY=4(d,i,b){b.J.L(4(e,f,c){h(e).y("H",1)});b.Y=4(e){e.W()};b.C={H:2};b.K={E:"X"};b.I={E:"W"}};h.G.D.O.1J=4(o,n,m){8 v=o.y("18","2Q").F();n.y({9:0,B:0});m.J.L(4(){h(A).X()});m.1a=m.1a/2;m.1l=0;m.1J=m.1J||{9:-v,B:15};m.1d=[];1F(8 p=0;p<n.N;p++){m.1d.L(n[p])}1F(8 p=0;p<m.19;p++){m.1d.L(m.1d.2R())}m.1X=4(d,i,b,g,k){8 a=k?h(d):h(i);a.20(b.1J,b.1y,b.1R,4(){k?b.1d.L(b.1d.2R()):b.1d.1M(b.1d.pop());7(k){1F(8 e=0,f=b.1d.N;e<f;e++){h(b.1d[e]).y("z-1D",f-e)}}S{8 c=h(d).y("z-1D");a.y("z-1D",V(c)+1)}a.20({9:0,B:0},b.1G,b.1S,4(){h(k?A:d).W();7(g){g()}})})};m.Y=4(e){e.W()}};h.G.D.O.turnUp=4(d,i,b){b.J.L(4(e,f,c){h(A).X();c.C.B=f.12;c.K.E=f.12});b.Y=4(e){e.W()};b.1g={B:0};b.C={E:0};b.K={B:0};b.I={E:0};b.M={T:"Z"}};h.G.D.O.turnDown=4(d,i,b){b.J.L(4(e,f,c){h(A).X();c.K.E=f.12;c.I.B=e.12});b.Y=4(e){e.W()};b.1g={B:0};b.C={B:0,E:0};b.I={E:0};b.M={T:"Z"}};h.G.D.O.turnLeft=4(d,i,b){b.J.L(4(e,f,c){h(A).X();c.C.9=f.14;c.K.F=f.14});b.Y=4(e){e.W()};b.C={F:0};b.K={9:0};b.I={F:0};b.M={T:"Z"}};h.G.D.O.turnRight=4(d,i,b){b.J.L(4(e,f,c){h(A).X();c.K.F=f.14;c.I.9=e.14});b.Y=4(e){e.W()};b.C={9:0,F:0};b.K={9:0};b.I={F:0};b.M={T:"Z"}};h.G.D.O.2S=4(d,i,b){b.1g={B:0,9:0};b.M={T:"Z"};b.J.L(4(e,f,c){h(A).X();c.C={F:0,E:0,B:f.12/2,9:f.14/2};c.M={T:"Z"};c.K={B:0,9:0,F:f.14,E:f.12};c.I={F:0,E:0,B:e.12/2,9:e.14/2};h(e).y("H",2);h(f).y("H",1)});b.Y=4(e){e.W()}};h.G.D.O.fadeZoom=4(d,i,b){b.J.L(4(e,f,c){c.C={F:0,E:0,1i:1,9:f.14/2,B:f.12/2,H:1};c.K={B:0,9:0,F:f.14,E:f.12}});b.I={1i:0};b.M={H:0}};h.G.D.O.blindX=4(d,i,b){8 g=d.y("18","1e").F();i.X();b.J.L(4(e,f,c){h(e).y("H",1)});b.C={9:g,H:2};b.M={H:1};b.K={9:0};b.I={9:g}};h.G.D.O.blindY=4(d,i,b){8 g=d.y("18","1e").E();i.X();b.J.L(4(e,f,c){h(e).y("H",1)});b.C={B:g,H:2};b.M={H:1};b.K={B:0};b.I={B:g}};h.G.D.O.blindZ=4(d,i,b){8 g=d.y("18","1e").E();8 k=d.F();i.X();b.J.L(4(e,f,c){h(e).y("H",1)});b.C={B:g,9:k,H:2};b.M={H:1};b.K={B:0,9:0};b.I={B:g,9:k}};h.G.D.O.growX=4(d,i,b){b.J.L(4(e,f,c){c.C={9:A.14/2,F:0,H:2};c.K={9:0,F:A.14};c.I={9:0};h(e).y("H",1)});b.Y=4(e){e.W().y("H",1)}};h.G.D.O.growY=4(d,i,b){b.J.L(4(e,f,c){c.C={B:A.12/2,E:0,H:2};c.K={B:0,E:A.12};c.I={B:0};h(e).y("H",1)});b.Y=4(e){e.W().y("H",1)}};h.G.D.O.curtainX=4(d,i,b){b.J.L(4(e,f,c){c.C={9:f.14/2,F:0,H:1,T:"1B"};c.K={9:0,F:A.14};c.I={9:e.14/2,F:0};h(e).y("H",2)});b.Y=4(e){e.W()};b.M={H:1,T:"Z"}};h.G.D.O.curtainY=4(d,i,b){b.J.L(4(e,f,c){c.C={B:f.12/2,E:0,H:1,T:"1B"};c.K={B:0,E:A.12};c.I={B:e.12/2,E:0};h(e).y("H",2)});b.Y=4(e){e.W()};b.M={H:1,T:"Z"}};h.G.D.O.cover=4(d,i,b){8 g=b.2T||"9";8 k=d.y("18","1e").F();8 a=d.E();b.J.L(4(e,f,c){c.C=c.C||{};c.C.H=2;c.C.T="1B";7(g=="2U"){c.C.9=-k}S{7(g=="up"){c.C.B=a}S{7(g=="2W"){c.C.B=-a}S{c.C.9=k}}}h(e).y("H",1)});7(!b.K){b.K={9:0,B:0}}7(!b.I){b.I={9:0,B:0}}b.M=b.M||{};b.M.H=2;b.M.T="Z"};h.G.D.O.uncover=4(d,i,b){8 g=b.2T||"9";8 k=d.y("18","1e").F();8 a=d.E();b.J.L(4(e,f,c){c.C.T="1B";7(g=="2U"){c.I.9=k}S{7(g=="up"){c.I.B=-a}S{7(g=="2W"){c.I.B=a}S{c.I.9=-k}}}h(e).y("H",2);h(f).y("H",1)});b.Y=4(e){e.W()};7(!b.K){b.K={9:0,B:0}}b.C=b.C||{};b.C.B=0;b.C.9=0;b.M=b.M||{};b.M.H=1;b.M.T="Z"};h.G.D.O.toss=4(d,i,b){8 g=d.y("18","2Q").F();8 k=d.E();b.J.L(4(e,f,c){h(e).y("H",2);c.C.T="1B";7(!c.I.9&&!c.I.B){c.I={9:g*2,B:-k/2,1i:0}}S{c.I.1i=0}});b.Y=4(e){e.W()};b.C={9:0,B:0,H:1,1i:1};b.K={9:0};b.M={H:2,T:"Z"}};h.G.D.O.wipe=4(v,p,l){8 s=v.y("18","1e").F();8 j=v.E();l.C=l.C||{};8 u;7(l.1j){7(/l2r/.1t(l.1j)){u="1s(1f 1f "+j+"px 1f)"}S{7(/r2l/.1t(l.1j)){u="1s(1f "+s+"px "+j+"px "+s+"px)"}S{7(/t2b/.1t(l.1j)){u="1s(1f "+s+"px 1f 1f)"}S{7(/b2t/.1t(l.1j)){u="1s("+j+"px "+s+"px "+j+"px 1f)"}S{7(/2S/.1t(l.1j)){8 t=V(j/2);8 r=V(s/2);u="1s("+t+"px "+r+"px "+t+"px "+r+"px)"}}}}}}l.C.1j=l.C.1j||u||"1s(1f 1f 1f 1f)";8 q=l.C.1j.1E(/(\\d+)/g);8 t=V(q[0]),w=V(q[1]),x=V(q[2]),r=V(q[3]);l.J.L(4(i,b,g){7(i==b){Q}8 k=h(i).y("H",2);8 a=h(b).y({H:3,T:"1B"});8 o=1,n=V((g.1y/13))-1;4 m(){8 e=t?t-V(o*(t/n)):0;8 f=r?r-V(o*(r/n)):0;8 c=x<j?x+V(o*((j-x)/n||1)):j;8 d=w<s?w+V(o*((s-w)/n||1)):s;a.y({1j:"1s("+e+"px "+d+"px "+c+"px "+f+"px)"});(o++<=n)?1V(m,13):k.y("T","Z")}m()});l.M={};l.K={9:0};l.I={9:0}}})(2P);',[],183,'||||function|||if|var|left|||||||||||||||||||||||||css||this|top|cssBefore|cycle|height|width|fn|zIndex|animOut|before|animIn|push|cssAfter|length|transitions|nextSlide|return|null|else|display|cycleTimeout|parseInt|hide|show|onAddSlide|none||randomIndex|cycleH||cycleW||||overflow|startingSlide|speed|currSlide|timeout|els|hidden|0px|cssFirst|cyclePause|opacity|clip|after|random|fit|not||randomMap|pager|each|rect|test|clearTimeout|container|continuous|rev|speedIn|offsetHeight|offsetWidth|block|data|index|match|for|speedOut|click|next|shuffle|opts|elements|unshift|cleartype|position|auto|sync|easeIn|easeOut|apply|typeof|setTimeout|nowrap|fxFn|false|prevNextClick|animate|browser|msie|window|console|constructor|case|pause|true|slideExpr|autostop|countdown|autostopCount|busy|filter|custom||easing|bind|prev|createPagerAnchor|end|updateActivePagerLink|pagerAnchorBuilder|pagerClick|log|arguments|String|resume|options|found|can|slide|defaults|metadata|cleartypeNoBg|absolute|style|removeAttribute|hover|isFunction|slideCount|appendTo|delay|fastOnEvent|activeSlide|pagerEvent|pauseOnPagerHover|background|color|fade|jQuery|visible|shift|zoom|direction|right||down'.split('|'),0,{})) + +var $j = jQuery.noConflict(); + +$j(document).ready( + function() { + + //Slider + $j('div#slider').cycle({ + fx: 'scrollHorz', + prev: 'a.slider-prev', + next: 'a.slider-next', + //pause: 1, + timeout: 8000, + delay: -8000, + speed: 800 + }); + + // Pause the slider + $j('a.slider-pause').click( + function() { + $j('div#slider').cycle('pause'); + $j('a.slider-pause').addClass('paused'); + } + ); + + // Resume slider when previous is clicked, remove pause + $j('a.slider-prev').click( + function() { + $j('div#slider').cycle('resume'); + $j('a.slider-pause').removeClass('paused'); + } + ); + + // Resume slider when next is clicked, remove pause + $j('a.slider-next').click( + function() { + $j('div#slider').cycle('resume'); + $j('a.slider-pause').removeClass('paused'); + } + ); + + } +); \ No newline at end of file diff --git a/wp-content/themes/hybrid-news/languages/en_EN.mo b/wp-content/themes/hybrid-news/languages/en_EN.mo new file mode 100644 index 0000000000000000000000000000000000000000..1e76e1d66182afc25b29eb5ccf76a965fcab489b Binary files /dev/null and b/wp-content/themes/hybrid-news/languages/en_EN.mo differ diff --git a/wp-content/themes/hybrid-news/languages/en_EN.po b/wp-content/themes/hybrid-news/languages/en_EN.po new file mode 100644 index 0000000000000000000000000000000000000000..a35baa6f582650c4d1ee022a8cfe44490b80b63d --- /dev/null +++ b/wp-content/themes/hybrid-news/languages/en_EN.po @@ -0,0 +1,103 @@ +msgid "" +msgstr "" +"Project-Id-Version: Hybrid News Child Theme\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2010-07-06 18:36-0600\n" +"PO-Revision-Date: 2010-07-06 18:37-0600\n" +"Last-Translator: Justin Tadlock <justin@justintadlock.com>\n" +"Language-Team: ThemeHybrid\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Poedit-KeywordsList: _e;__;esc_attr_e;esc_attr__;esc_html_e;esc_html__;_x;_ex;esc_attr_x;esc_html_x;_n;_nx;_n_noop;_nx_noop\n" +"X-Poedit-Basepath: ../\n" +"X-Poedit-SearchPath-0: .\n" + +#: functions.php:69 +msgid "Secondary Menu" +msgstr "" + +#: functions.php:87 +msgid "Tertiary" +msgstr "" + +#: functions.php:88 +msgid "Utility: Header" +msgstr "" + +#: functions.php:151 +msgid "Medium/Feature:" +msgstr "" + +#: functions.php:184 +msgid "Front Page template settings" +msgstr "" + +#: functions.php:201 +msgid "Feature Category:" +msgstr "" + +#: functions.php:209 +msgid "Leave blank to use sticky posts." +msgstr "" + +#: functions.php:213 +msgid "Featured Posts:" +msgstr "" + +#: functions.php:216 +msgid "How many feature posts should be shown?" +msgstr "" + +#: functions.php:220 +msgid "Excerpts Category:" +msgstr "" + +#: functions.php:231 +msgid "Excerpts Posts:" +msgstr "" + +#: functions.php:234 +msgid "How many excerpts should be shown?" +msgstr "" + +#: functions.php:238 +msgid "Headline Categories:" +msgstr "" + +#: functions.php:240 +msgid "Multiple categories may be chosen by holding the <code>Ctrl</code> key and selecting." +msgstr "" + +#: functions.php:250 +msgid "Headlines Posts:" +msgstr "" + +#: functions.php:253 +msgid "How many posts should be shown per headline category?" +msgstr "" + +#: page-front-page.php:42 +msgid "Full Story »" +msgstr "" + +#: page-front-page.php:54 +msgid "Previous Post" +msgstr "" + +#: page-front-page.php:54 +msgid "Previous" +msgstr "" + +#: page-front-page.php:55 +msgid "Pause" +msgstr "" + +#: page-front-page.php:56 +msgid "Next Post" +msgstr "" + +#: page-front-page.php:56 +msgid "Next" +msgstr "" + diff --git a/wp-content/themes/hybrid-news/languages/hybrid-news.pot b/wp-content/themes/hybrid-news/languages/hybrid-news.pot new file mode 100644 index 0000000000000000000000000000000000000000..94abe1ede1210e9b2d119db6f874f7e01ef1f5c2 --- /dev/null +++ b/wp-content/themes/hybrid-news/languages/hybrid-news.pot @@ -0,0 +1,103 @@ +msgid "" +msgstr "" +"Project-Id-Version: Hybrid News Child Theme\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2010-07-06 18:36-0600\n" +"PO-Revision-Date: 2010-07-06 18:36-0600\n" +"Last-Translator: Justin Tadlock <justin@justintadlock.com>\n" +"Language-Team: ThemeHybrid\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Poedit-KeywordsList: _e;__;esc_attr_e;esc_attr__;esc_html_e;esc_html__;_x;_ex;esc_attr_x;esc_html_x;_n;_nx;_n_noop;_nx_noop\n" +"X-Poedit-Basepath: ../\n" +"X-Poedit-SearchPath-0: .\n" + +#: functions.php:69 +msgid "Secondary Menu" +msgstr "" + +#: functions.php:87 +msgid "Tertiary" +msgstr "" + +#: functions.php:88 +msgid "Utility: Header" +msgstr "" + +#: functions.php:151 +msgid "Medium/Feature:" +msgstr "" + +#: functions.php:184 +msgid "Front Page template settings" +msgstr "" + +#: functions.php:201 +msgid "Feature Category:" +msgstr "" + +#: functions.php:209 +msgid "Leave blank to use sticky posts." +msgstr "" + +#: functions.php:213 +msgid "Featured Posts:" +msgstr "" + +#: functions.php:216 +msgid "How many feature posts should be shown?" +msgstr "" + +#: functions.php:220 +msgid "Excerpts Category:" +msgstr "" + +#: functions.php:231 +msgid "Excerpts Posts:" +msgstr "" + +#: functions.php:234 +msgid "How many excerpts should be shown?" +msgstr "" + +#: functions.php:238 +msgid "Headline Categories:" +msgstr "" + +#: functions.php:240 +msgid "Multiple categories may be chosen by holding the <code>Ctrl</code> key and selecting." +msgstr "" + +#: functions.php:250 +msgid "Headlines Posts:" +msgstr "" + +#: functions.php:253 +msgid "How many posts should be shown per headline category?" +msgstr "" + +#: page-front-page.php:42 +msgid "Full Story »" +msgstr "" + +#: page-front-page.php:54 +msgid "Previous Post" +msgstr "" + +#: page-front-page.php:54 +msgid "Previous" +msgstr "" + +#: page-front-page.php:55 +msgid "Pause" +msgstr "" + +#: page-front-page.php:56 +msgid "Next Post" +msgstr "" + +#: page-front-page.php:56 +msgid "Next" +msgstr "" + diff --git a/wp-content/themes/hybrid-news/menu-secondary.php b/wp-content/themes/hybrid-news/menu-secondary.php new file mode 100644 index 0000000000000000000000000000000000000000..30edbc9f604dba7f0fc5c7a4a046d5f6c1262217 --- /dev/null +++ b/wp-content/themes/hybrid-news/menu-secondary.php @@ -0,0 +1,22 @@ +<?php +/** + * Secondary Menu Template + * + * Displays the Secondary Menu if it has active menu items. + * @link http://themehybrid.com/themes/hybrid/menus + * + * @package HybridNews + * @subpackage Template + */ + +if ( has_nav_menu( 'secondary-menu' ) ) : ?> + + <div id="secondary-menu" class="menu-container"> + + <?php wp_nav_menu( array( 'theme_location' => 'secondary-menu', 'container_class' => 'menu', 'menu_class' => '', 'fallback_cb' => '' ) ); ?> + + <?php get_search_form(); ?> + + </div><!-- #secondary-menu .menu-container --> + +<?php endif; ?> \ No newline at end of file diff --git a/wp-content/themes/hybrid-news/page-front-page.php b/wp-content/themes/hybrid-news/page-front-page.php new file mode 100644 index 0000000000000000000000000000000000000000..9f32dee0b3f1023cf9995ff990714f2d13002784 --- /dev/null +++ b/wp-content/themes/hybrid-news/page-front-page.php @@ -0,0 +1,136 @@ +<?php +/** + * Template Name: Front Page + * + * Useful for sites that need a news-type front page. + * + * @package HybridNews + * @subpackage Template + */ + +/* Get the Hybrid News theme settings. */ +$hybrid_news = get_option( 'hybrid_news_theme_settings' ); + +get_header(); ?> + + <div class="hfeed content"> + + <?php hybrid_before_content(); // Before content hook ?> + + <!-- Begin feature slider. --> + <div id="slider-container"> + + <div id="slider"> + + <?php + if ( $hybrid_news['feature_category'] ) + $feature_query = array( 'cat' => $hybrid_news['feature_category'], 'showposts' => $hybrid_news['feature_num_posts'], 'caller_get_posts' => 1 ); + else + $feature_query = array( 'post__in' => get_option( 'sticky_posts' ), 'showposts' => $hybrid_news['feature_num_posts'] ); + ?> + + <?php $loop = new WP_Query( $feature_query ); ?> + + <?php while ( $loop->have_posts() ) : $loop->the_post(); $do_not_duplicate[] = $post->ID; ?> + + <div class="<?php hybrid_entry_class( 'feature' ); ?>"> + + <?php get_the_image( array( 'custom_key' => array( 'Medium', 'Feature Image' ), 'size' => 'medium' ) ); ?> + + <?php hybrid_before_entry(); ?> + + <div class="entry-summary"> + <?php the_excerpt(); ?> + <a class="more-link" href="<?php the_permalink(); ?>" title="<?php the_title_attribute(); ?>"><?php _e('Full Story »', 'news'); ?></a> + </div> + + <?php hybrid_after_entry(); ?> + + </div> + + <?php endwhile; ?> + + </div> + + <div class="slider-controls"> + <a class="slider-prev" title="<?php esc_attr_e( 'Previous Post', 'hybrid-news' ); ?>"><?php _e( 'Previous', 'hybrid-news' ); ?></a> + <a class="slider-pause" title="<?php esc_attr_e( 'Pause', 'hybrid-news' ); ?>"><?php _e( 'Pause', 'hybrid-news' ); ?></a> + <a class="slider-next" title="<?php esc_attr_e( 'Next Post', 'hybrid-news' ); ?>"><?php _e( 'Next', 'hybrid-news' ); ?></a> + </div> + + </div> + <!-- End feature slider. --> + + <!-- Begin excerpts section. --> + <div id="excerpts"> + + <?php $loop = new WP_Query( array( 'cat' => $hybrid_news['excerpt_category'], 'showposts' => $hybrid_news['excerpt_num_posts'], 'caller_get_posts' => 1, 'post__not_in' => $do_not_duplicate ) ); ?> + + <?php while ( $loop->have_posts() ) : $loop->the_post(); $do_not_duplicate[] = $post->ID; ?> + + <div class="<?php hybrid_entry_class(); ?>"> + + <?php get_the_image( array( 'custom_key' => array( 'Thumbnail' ), 'size' => 'thumbnail' ) ); ?> + + <?php hybrid_before_entry(); ?> + + <div class="entry-summary"> + <?php the_excerpt(); ?> + </div> + + <?php hybrid_after_entry(); ?> + + </div> + + <?php endwhile; ?> + + </div> + <!-- End excerpts section. --> + + <?php if ( !empty( $hybrid_news['headlines_category'] ) ) : $alt = 'odd'; ?> + + <!-- Begin category headlines section. --> + <div id="headlines"> + + <?php foreach ( $hybrid_news['headlines_category'] as $category ) : ?> + + <?php $headlines = get_posts( array( + 'numberposts' => $hybrid_news['headlines_num_posts'], + 'category' => $category, + 'post__not_in' => $do_not_duplicate + ) ); ?> + + <?php if ( !empty( $headlines ) ) : ?> + + <div class="section <?php echo $alt; ?>"> + + <?php $cat = get_category( $category ); ?> + + <h3 class="section-title"><a href="<?php echo get_category_link( $category ); ?>" title="<?php echo esc_attr( $cat->name ); ?>"><?php echo $cat->name; ?></a></h3> + + <ul> + <?php foreach ( $headlines as $post ) : $do_not_duplicate[] = $post->ID; ?> + <li><a href="<?php the_permalink(); ?>" title="<?php the_title_attribute(); ?>"><?php the_title(); ?></a></li> + <?php endforeach; ?> + </ul> + + </div> + + <?php $alt = ( ( $i++ % 2 == 0 ) ? 'even' : 'odd' ); ?> + + <?php endif; ?> + + <?php endforeach; ?> + + </div> + <!-- End category headlines section. --> + + <?php endif; // End check if headline categories were selected. ?> + + <?php hybrid_after_singular(); // After singular hook ?> + + <?php hybrid_after_content(); // After content hook ?> + + </div><!-- .content .hfeed --> + +<?php get_footer(); ?> \ No newline at end of file diff --git a/wp-content/themes/hybrid-news/readme.html b/wp-content/themes/hybrid-news/readme.html new file mode 100644 index 0000000000000000000000000000000000000000..14992593e22f7ce8c0dd2b13898403462c2aa8e0 --- /dev/null +++ b/wp-content/themes/hybrid-news/readme.html @@ -0,0 +1,55 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/> +<title>A guide to Hybrid News</title> + +<link rel="stylesheet" href="../hybrid/library/css/21px.css" type="text/css" media="screen" /> +<link rel="stylesheet" href="../hybrid/library/css/readme.css" type="text/css" media="screen" /> + +</head> +<body> + +<h1>A guide to Hybrid News</h1> + +<p><em>Hybrid News</em> is, quite simply, a news theme.</p> + +<p>It is a child theme for the <a href="http://themehybrid.com/themes/hybrid" title="Hybrid WordPress theme">Hybrid theme framework</a>, which means you must have <em>Hybrid</em> installed to use <em>Hybrid News</em>. Don't worry. Just because it uses a framework doesn't mean it's complicated. It just means that your site will be a lot more powerful and all you have to do is have <em>Hybrid</em> installed.</p> + +<p>Nothing more. Nothing less.</p> + +<h2>Front Page Template</h2> + +<p>The theme comes packaged with an extra <a href="http://codex.wordpress.org/Pages#Page_Templates" title="WordPress Page Templates">page template</a> for you to use called <em>Front Page</em>.</p> + +<p>When you write a page, scroll down toward the bottom of the <em>Write Page</em> panel and select the template of your choosing. You can also set this as your home page by going to <em>Settings > Reading</em> and choosing the page you added the template to as your front page.</p> + +<p>You'll also want to add feature images and thumbnails to your posts to make them look good. For your convenience both of these are located under the <em>Hybrid Settings</em> meta box when you write a post. Of course, <em>Hybrid</em> has a built-in image script that will automatically include images for you (if you've attached an image).</p> + +<p>The settings for this page template are located at <em>Appearance > Hybrid News</em>.</p> + +<h2>Widgets</h2> + +<p><em>Hybrid News</em> is packaged with two additional widget sections (aside from the numerous ones already available).</p> + +<dl> + <dt>Tertiary</dt> + <dd>Sits below <em>Primary</em> and beside <em>Secondary</em>, behaving as a sidebar.</dd> + <dt>Utility: Header</dt> + <dd>Located in the header area. It is ideal for placing ads in your header but out of the way of your content.</dd> +</dl> + +<h2>Theme Support & Community</h2> + +<p>The most authoritative sources for finding out how to use the theme or do some nifty stuff are the <a href="http://themehybrid.com/themes/hybrid-news" title="Hybrid News WordPress theme">Hybrid News</a> and <a href="http://themehybrid.com/themes/hybrid" title="Hybrid WordPress theme">Hybrid</a> theme tutorials. I'll constantly update both with tutorials and frequently asked questions.</p> + +<p>We also have a vibrant community at the <a href="http://themehybrid.com/support" title="Theme Hybrid support forums">Theme Hybrid Support Forums</a>. If you ever lose the link, you can find it right from your Hybrid Settings page in your WordPress dashboard.</p> + +<h2>Copyright & License</h2> + +<p><em>Hybrid News</em> is licensed under the <a href="http://www.gnu.org/licenses/old-licenses/gpl-2.0.html" title="GNU GPL">GNU General Public License</a>, version 2 (GPL).</p> + +<p>Copyright © 2008 – 2010 Justin Tadlock, Theme Hybrid</p> + +</body> +</html> \ No newline at end of file diff --git a/wp-content/themes/hybrid-news/screenshot.png b/wp-content/themes/hybrid-news/screenshot.png new file mode 100644 index 0000000000000000000000000000000000000000..8777415161fc203ad724892946ea8e5fb1e23526 Binary files /dev/null and b/wp-content/themes/hybrid-news/screenshot.png differ diff --git a/wp-content/themes/hybrid-news/sidebar-header.php b/wp-content/themes/hybrid-news/sidebar-header.php new file mode 100644 index 0000000000000000000000000000000000000000..82e42d424e279f0a5ac5712dbf7a7cb41b2e84f2 --- /dev/null +++ b/wp-content/themes/hybrid-news/sidebar-header.php @@ -0,0 +1,20 @@ +<?php +/** + * Header Sidebar + * + * The Heder Sidebar template houses the HTML used for the 'Utility: Header' + * widget area. It will first check if the widget area is active before displaying anything. + * + * @package HybridNews + * @subpackage Template + */ + + if ( is_active_sidebar( 'utilityheader' ) ) : ?> + + <div id="utility-header" class="sidebar sidebar-header utility"> + + <?php dynamic_sidebar( 'utilityheader' ); ?> + + </div><!-- #utility-header .utility --> + + <?php endif; ?> \ No newline at end of file diff --git a/wp-content/themes/hybrid-news/sidebar-tertiary.php b/wp-content/themes/hybrid-news/sidebar-tertiary.php new file mode 100644 index 0000000000000000000000000000000000000000..217f3456b5a322802cf0dde5061404ac55c934f5 --- /dev/null +++ b/wp-content/themes/hybrid-news/sidebar-tertiary.php @@ -0,0 +1,20 @@ +<?php +/** + * Tertiary Sidebar + * + * The Tertiary Sidebar template houses the HTML used for the 'Tertiary' widget area. + * It will first check if the widget area is active before displaying anything. + * + * @package HybridNews + * @subpackage Template + */ + + if ( is_active_sidebar( 'tertiary' ) ) : ?> + + <div id="tertiary" class="sidebar sidebar-tertiary aside"> + + <?php dynamic_sidebar( 'tertiary' ); ?> + + </div><!-- #tertiary .aside --> + + <?php endif; ?> \ No newline at end of file diff --git a/wp-content/themes/hybrid-news/style.css b/wp-content/themes/hybrid-news/style.css new file mode 100644 index 0000000000000000000000000000000000000000..073f430888b78362ab26d993ad91bf7e0dc3a216 --- /dev/null +++ b/wp-content/themes/hybrid-news/style.css @@ -0,0 +1,992 @@ +/** + * Theme Name: Hybrid News + * Theme URI: http://themehybrid.com/themes/hybrid-news + * Description: A news-style child theme of the Hybrid theme framework. + * Version: 0.3 + * Author: Justin Tadlock + * Author URI: http://justintadlock.com + * Tags: blue, theme-options, threaded-comments, sticky-post, microformats, two-columns, three-columns, fixed-width + * Template: hybrid + * + * Copyright (c) 2008 - 2010 Justin Tadlock. All rights reserved. + * http://justintadlock.com + * + * Hybrid News is released under the GNU General Public License, version 2 (GPL). + * http://www.gnu.org/licenses/old-licenses/gpl-2.0.html + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + */ + +/* Get base CSS */ +@import url('../hybrid/library/css/20px.css'); + +/* Get plugins CSS */ +@import url('../hybrid/library/css/plugins.css'); + +/* Get drop-downs CSS */ +@import url('../hybrid/library/css/drop-downs.css'); + +/* Get tabs CSS (uncomment below line if using the Hybrid Tabs plugin) */ +/* @import url('css/tabs.css'); */ + +/** +* Body +************************************************/ +body { + font: 12px/22px Verdana, Geneva, Tahoma, sans-serif; + } + +/* Body container */ +#body-container { + background: #fff url(images/bg.png) repeat-x 0 0; + } + +/** +* Elements +************************************************/ + +/* Links */ +a, a:visited { + color: #093754; + text-decoration: none; + } +a:hover, a:active { + text-decoration: underline; + } +.entry-content a { + color: #336699; + } + +/* Headers */ +h1, h2, h3, h4, h5, h6 { + font-family: Georgia, Times, 'Times New Roman', serif; + color: #444; + } + +/* Lists */ +.content ul { + list-style: none; + margin-left: 20px; + } +.content ul li { + overflow: hidden; + padding-left: 15px; + background: url(images/bullet.gif) no-repeat 0 6px; + } + +/* Blockquotes */ +blockquote { + overflow: hidden; + height: 100%; + margin: 0 24px 0 0; + padding: 3px 0 0 24px; + font-style: italic; + color: #444; + background: url(images/quotes.gif) no-repeat 0 0; + border: none; + } +blockquote blockquote { + color: #555; + } +blockquote em { + font-style: normal; + } +blockquote.pullquote { + width: 210px; + margin-top: 6px; + margin-bottom: 3px; + padding: 6px 9px; + text-align: center; + font: italic normal normal 20px/22px Georgia, Times, 'Times New Roman', serif; + color: #444; + background: transparent; + border-top: 3px double #ddd; + border-bottom: 3px double #ddd; + } +.pullquote p { + margin: 0; + } + +/* Code */ +code { + padding: 0 3px; + font-size: 12px; + background: #eee; + } +pre { + overflow: auto; + padding: 9px; + font-size: 12px; + color: #000; + background: url(images/code.png) repeat 0 0; + border: 1px solid #ddd; + } +pre code { + padding: 0; + background: transparent; + } + +/* Tables */ +table { + width: 100%; + background: #ddd; + } +caption { + font: italic normal normal 12px/22px Verdana, Geneva, Tahoma, sans-serif; + text-align: right; + color: #666; + } +tr { + margin: 1px; + border: 1px solid #ddd; + } +td { + padding: 3px; + background: #f7f7f7; + border: 1px solid #ddd; + } +tr.alt td, tr.even td { + background: #eee; + } +th { + padding: 3px; + color: #fff; + background: #093653; + border: 1px solid #ddd; + } +th a { + font-weight: bold; + color: #eee; + } + +/* Acronyms */ +acronym { + border-bottom: 1px dotted #333; + } + +/* Drop caps */ +.drop-cap { + float: left; + margin-right: 3px; + font: normal normal normal 48px/39px "Warnock Pro", "Goudy Old Style", Palatino,"Book Antiqua", Cambria, Georgia, serif; + color: #444; + } + +/* Notes */ +.note { + padding: 6px 9px; + background: #eee; + border: 1px solid #ccc; + } + +/* Warnings/Alerts */ +.warning, .alert { + padding: 6px 9px; + background: #fffbbc; + border: 1px solid #E6DB55; + } + +/* Errors */ +.error { + padding: 6px 9px; + background: #ffebe8; + border: 1px solid #C00; + } + +/* Downloads */ +.download { + padding: 6px 9px; + background: #e7f7d3; + border: 1px solid #6c3; + } + +/* Alignment */ +.left, .alignleft { + float: left; + margin: 0 20px 0 0; + } +.right, .alignright { + float: right; + margin: 0 0 0 20px; + } +.center, .aligncenter { + display: block; + margin: 0 auto 20px auto; + } +.block, .alignnone { + display: block; + margin: 0 0 20px 0; + } +.clear { + clear: both; + } +span.pullquote { + float: none; + margin: 0; + } + +/** +* Images +************************************************/ +.post img { + max-width: 600px; + } + +img.wp-smiley { + max-height: 12px; + margin: 0; + padding: 0; + border: none; + } + +/* Captions */ +.wp-caption { + max-width: 590px; + padding: 4px 4px 4px 4px; + background: #eee; + border: 1px solid #ccc; + text-align: center; + } +.wp-caption .wp-caption-text { + margin: 0; + padding: 0 5px; + text-align: right; + font-size: 11px; + color: #666; + } +.wp-caption img { + max-width: 588px; + margin: 0 auto; + padding: 0; + border: 1px solid #666; + } + +/* Gallery [gallery] */ +.gallery { + display: block; + text-align: center; + margin-bottom: 20px !important; + } +.gallery img { + border: 1px solid #3c738c; + } + +/* Author avatar */ +.avatar { + float: left; + width: 60px; + height: 60px; + margin-right: 20px; + padding: 4px; + background: #eee; + border: 1px solid #ccc; + } + +/* Thumbnail */ +.thumbnail { + float: left; + width: 100px; + height: 100px; + margin: 0 20px 10px 0; + padding: 4px; + background: #eee; + border: 1px solid #ccc; + } +.category img.medium { + float: left; + max-width: 230px; + margin: 0 20px 10px 0; + padding: 4px; + background: #eee; + border: 1px solid #ccc; + } + +/** +* Page Navigation +************************************************/ +#secondary-menu { + width: 960px; + height: 25px; + margin: 0 auto; + background: #00070f; + } +#secondary-menu div.menu { + float: left; + width: 700px; + margin: 0 0 0 -15px; + } +#secondary-menu ul { + list-style: none; + margin: 0; + } +#secondary-menu li { + float: left; + margin: 6px 0 0 0; + padding: 0 0 8px 0; + } +#secondary-menu a { + display: block; + font: normal normal normal 11px/11px Verdana, Geneva, Tahoma, sans-serif; + color: #999; + padding: 0 15px 0 15px; + border-right: 1px solid #353535; + } + +/* Drop-down styles */ +#secondary-menu li:hover ul, #secondary-menu li.sfHover ul { + top: 19px; + } +#secondary-menu li li:hover ul, #secondary-menu li li.sfHover ul, #secondary-menu li li li:hover ul, #secondary-menu li li li.sfHover ul { + top: -1px; + } +#secondary-menu ul ul { + border-top: 1px solid #222; + background: #111; + } +#secondary-menu li li { + margin: 0; + padding: 0; + border-bottom: 1px solid #222; + } +#secondary-menu li li a { + padding: 7px 7px; + border: none; + } + +/** +* Search form (in navigation) +************************************************/ +#secondary-menu .search { + float: right; + width: 200px; + height: 25px; + } +#secondary-menu input { + float: right; + width: 170px; + height: 15px; + margin: 4px 0 0 0; + padding: 1px 8px 1px 22px; + font: normal normal normal 11px/15px Verdana, Geneva, Tahoma, sans-serif; + color: #aaa; + background: #001328 url(images/search-icon.png) no-repeat 5px 0; + border: 1px solid #011e3f; + } +#secondary-menu .search-submit, #secondary-menu .button { + display: none; + } + +/** +* Header +************************************************/ +#header-container { + overflow: hidden; + height: 90px; + background: url(images/bg-header.png) repeat-x 0 0; + border-bottom: 1px solid #021f32; + } +#header { + overflow: hidden; + width: 960px; + height: 60px; + margin: 15px auto; + } +#site-title { + float: left; + width: 450px; + line-height: 35px; + font-size: 28px; + font-family: georgia, serif; + margin: 12px 0 0 0; + } +#site-title a { + color: #fafafa; + } +#site-description { + display: none; + } + +/** +* Header utility widget +************************************************/ +#utility-header { + overflow: hidden; + float: right; + width: 500px; + height: 60px; + } +#utility-header .widget { + line-height: 19px; + margin: 0; + padding: 0; + color: #aaa; + background: transparent; + border: none; + } +#utility-header .widget-inside div, #utility-header .widget-inside img { + float: right; + } + +/** +* Category Navigation +************************************************/ +#primary-menu { + width: 100%; + height: 28px; + margin: 0 auto; + font: normal normal bold 12px/12px Verdana, Geneva, Tahoma, sans-serif; + text-transform: uppercase; + background: url(images/bg-primary-menu.png) repeat-x 0 0; + } +#primary-menu div.menu { + width: 960px; + height: 25px; + margin: 0 auto; + border-left: 1px solid #2b526b; + } +#primary-menu ul { + list-style: none; + margin: 0; + } +#primary-menu li { + float: left; + border-right: 1px solid #2b526b; + } +#primary-menu a { + display: block; + padding: 7px 20px 6px 20px; + text-transform: uppercase; + color: #fafafa; + } +#primary-menu li li a { + width: 160px; + font: normal normal bold 10px/10px Verdana, Geneva, Tahoma, sans-serif; + padding: 8px 10px; + color: #fff; + background: #2b526b; + border-top: 1px solid #244960; + } + +/* Drop-down controls */ +#primary-menu ul ul, #primary-menu ul ul ul { + width: 180px; + } +#primary-menu li li:hover ul, #primary-menu li li li:hover ul { + left: 180px; + } +#primary-menu li:hover ul, #primary-menu li.sfHover ul { + top: 26px; + } +#primary-menu li li:hover ul, #primary-menu li li.sfHover ul, #primary-menu li li li:hover ul, #primary-menu li li li.sfHover ul { + top: 0; + } +#primary-menu ul ul { + background: #2b526b; + } + +/** +* Container (content/primary/secondary) +************************************************/ +#container { + overflow: hidden; + width: 960px; + margin: 0 auto; + padding: 20px 0; + background: #fff url(images/container-bg.png) repeat-y right 0; + } +.page-template-no-widget #container, .primary-inactive.secondary-inactive #container { + background: #fff; + } + +.content { + overflow: hidden; + float: left; + width: 600px; + padding: 0 20px 20px 0; + background: #fff; + } +.page-template-no-widgets .content, .primary-inactive.secondary-inactive .content { + width: 960px; + padding: 0 0 20px 0; + } + +/** +* Posts +************************************************/ +.hentry { + clear: both; + overflow: hidden; + margin-bottom: 20px; + } +.singular .hentry { + margin-bottom: 0; + } +.page-template-blog .hentry, .page-template-page-blog .hentry { + margin-bottom: 20px; + } + +/* Post title */ +.entry-title { + margin-bottom: 3px; + font: 15px/18px georgia, times, 'times new roman', serif; + font-weight: bold; + } +.entry-title a { + color: #222; + } +.blog .entry-title, .singular .entry-title, .error-404-title { + font: normal normal bold 22px/22px georgia, times, 'times new roman', serif; + } +.page-title, .error-404-title { + margin: 0 0 20px 0; + } + +/* Byline */ +.byline { + font-size: .9em; + font-style: italic; + color: #777; + } +.archive .byline, .search .byline { + margin: 0 0 3px 0; + } +.byline a { + font-style: normal; + } + +/* Entry */ +.entry-content, .entry-summary { + overflow: hidden; + font-size: 13px; + } + +/* Post meta data */ +.entry-meta { + clear: both; + display: block; + padding: 9px 0 0 0; + font-size: .9em; + font-style: italic; + color: #777; + border-top: 1px solid #ccc; + } +.entry-meta a { + font-style: normal; + } + +/* Page links */ +p.page-links { + font-weight: bold; + } +p.page-links a { + margin: 0 2px; + padding: 4px 12px; + font-weight: normal; + font-style: italic; + color: #eee !important; + background: #093653; + border: 1px solid #eee; + } + +/* Series */ +.series-title { + font-size: 1.2em; + } + +/* Single-post author box */ +.singular-post .author-profile { + overflow: hidden; + margin: 0 0 20px 0; + padding: 9px 9px 0 9px; + background: #f7f7f7; + border: 1px solid #ccc; + } +.singular-post .author-profile p { + margin: 0 0 9px 0; + } +.singular-post .author-profile .avatar { + margin: 0 20px 9px 0; + } + +/* Page templates */ +.author-profile { + overflow: hidden; + margin-bottom: 20px; + } +.author-profile .author-name { + margin-bottom: 0; + font-size: 1em; + font-weight: bold; + } + +/* Archive templates */ +.archive-title, .search-title { + font: normal normal bold 22px/22px georgia, times, 'times new roman', serif; + } +.archive-info, .search-info { + overflow: hidden; + margin: 0 0 20px 0; + } + +/* Attachments (post meta data) */ +.attachment object { + width: 100%; + height: 100%; + min-height: 400px; + } +.attachment object.video { + width: 100%; + height: 360px; + } +.attachment object.audio { + width: 100%; + } +.attachment-image .entry-meta { + clear: left; + } +.attachment .download { + display: block; + margin-bottom: 20px; + } +.attachment-application-octet-stream .video { + height: 400px; + margin-bottom: 20px; + } + +/* Breadcrumb */ +.breadcrumb { + margin: 0 0 20px 0; + font-size: 11px; + color: #666; + } + +/* WP PageNavi */ +.wp-pagenavi { + overflow: hidden; + } +.wp-pagenavi .pages, .wp-pagenavi .current, .wp-pagenavi a, .wp-pagenavi .extend { + float: left; + margin: 0 6px 0 0; + padding: 4px 12px; + color: #eee !important; + background: #093653; + border: 1px solid #eee; + } + +/* Navigation links */ +.navigation-links { + overflow: hidden; + } +.next, .previous { + max-width: 50%; + font-size: 13px; + } +.previous { + float: left; + } +.next { + float: right; + text-align: right; + } +#comments-template .paged-navigation { + text-align: center; + } +#comments-template .paged-navigation .page-numbers { + padding: 3px 6px; + font-style: italic !important; + border: 1px solid #eee !important; + } +#comments-template .paged-navigation .next, #comments-template .paged-navigation .prev { + float: none; + text-align: left; + border: none !important; + } + +/** +* Widgets in general +************************************************/ +.widget { + overflow: hidden; + margin: 0 0 20px 0; + padding: 9px 9px 0 9px; + background: #fff; + border: 1px solid #ddd; + } +.widget-title { + height: 19px; + margin: 0 0 15px 0; + padding: 3px 10px; + font: 15px/18px georgia, times, 'times new roman', serif; + font-weight: bold; + color: #f7f7f7; + background: #093653 url(images/widget-title.png) repeat-x 0 0; + } +.widget-title a { + color: #f7f7f7; + } +.widget ul { + list-style: none; + margin-left: 0; + } +.widget ul li { + padding: 0 0 0 18px; + background: url(images/bullet.gif) no-repeat 3px 7px; + } + +/* Widget search */ +.widget-search .search-text { + width: 300px; + } + +/* Widget categories */ +.widget-categories img { + position: relative; + max-height: 16px; + top: 1px; + margin: 0; + padding: 0; + } + +/** +* Content-area widgets (mostly utility widgets) +************************************************/ +.content .widget { + margin: 0; + padding: 0; + border: none; + } +.content .widget-title { + margin: 0 0 5px 0; + padding: 0 0 5px 0; + font: normal normal bold 14px/20px georgia, times, 'times new roman', serif; + color: #333; + background: transparent; + border-bottom: 1px solid #ddd; + } +.content .widget-title a { + color: #093653; + } +.page-template-widgets .content .widget, .page-template-page-widgets .content .widget { + margin: 0 0 20px 0; + } + +/** +* Primary, Secondary, and Tertiary +************************************************/ +#primary { + overflow: hidden; + float: right; + width: 320px; + } +#secondary { + overflow: hidden; + clear: right; + float: right; + width: 153px; + margin: 0 0 0 14px; + } +#tertiary { + overflow: hidden; + float: right; + width: 153px; + } +#primary .widget ul li { + margin: 0 0 5px 0; + padding: 0 5px 5px 20px; + background: url(images/bullet.gif) no-repeat 5px 7px; + border-bottom: 1px solid #eee; + } +#primary .widget ul ul { + margin: 5px 0 0 0; + } +#primary .widget ul li li { + margin: 0 0 2px 0; + padding: 0 0 2px 20px; + border: none; + } +#primary object { + float: left; + width: 300px; + padding: 0; + margin: 0 0 9px 0; + } + +/** +* Comments +************************************************/ +#comments-template { + margin-top: 20px; + } + +/* Comment headers */ +#comments-number, #reply { + font-size: 1.2em; + } + +/* Comments are closed */ +.comments-closed { + color: #666; + font-style: italic; + } + +/* Comment list */ +#comments-template ol { + list-style: none; + margin: 0; + } + +/* Individual comments */ +#comments li { + overflow: hidden; + margin: 0 0 15px 0; + padding: 15px 15px 0 15px; + color: #333; + background: #f7f7f7; + border-top: 1px solid #ddd; + border-bottom: 1px solid #ddd; + } +#comments li li, #comments li li li li, #comments li li li li li li { + background: #fff; + } +#comments li li li, #comments li li li li li { + background: #f7f7f7; + } + +/* Avatar */ +#comments li .avatar { + width: 40px; + height: 40px; + float: left; + margin-right: 20px; + padding: 0; + border: 1px solid #666; + } + +/* Comment meta data */ +#comments .comment-author { + font-weight: bold; + } +#comments .comment-meta { + margin-bottom: 15px; + } + +/* Comment text */ +.comment-text { + clear: left; + font-size: 13px; + } + +/* Forms */ +.text-input { + display: block; + padding: 3px 6px; + width: 300px; + font: 13px Arial, 'Helvetica Neue', Helvetica, sans-serif; + } +#comments-template label { + font: 13px Arial, 'Helvetica Neue', Helvetica, sans-serif; + } +textarea { + clear: left; + display: block; + width: 98%; + font: 14px/20px Arial, 'Helvetica Neue', Helvetica, sans-serif; + } +.button, #submit { + width: 100px; + margin-right: 9px; + padding: 6px 9px; + font: 13px Arial, 'Helvetica Neue', Helvetica, sans-serif; + font-weight: bold; + color: #eee; + background: #001838; + border: none; + } +.button:hover, #submit:hover { + cursor: pointer; + background: #093653; + } +.search-form input { + margin-right: 9px; + } + +/** +* Footer container (wraps Subsidiary and Footer) +************************************************/ +#footer-container { + overflow: hidden; + clear: both; + padding: 2px 0 0 0; + background: #001838; + border-top: 3px solid #00070F; + } + +/** +* Subsidiary +************************************************/ +#subsidiary { + overflow: hidden; + width: 1000px; + margin: 0 auto 14px auto; + padding: 2px 0 0 0; + } +#subsidiary .widget { + overflow: hidden; + float: left; + width: 210px; + margin: 0; + padding: 15px 20px 0 20px; + font: 12px/21px Arial, 'Helvetica Neue', Helvetica, sans-serif; + color: #777; + background: transparent; + border: none; + } +#subsidiary .widget-title { + margin: 0 0 3px 0; + padding: 0 0 3px 0; + font-size: 15px; + color: #bbb; + background: transparent; + border-bottom: 1px solid #072145; + } +#subsidiary a { + color: #aaa; + } +#subsidiary .widget ul { + margin-left: 0; + } +#subsidiary .widget ul li { + margin: 0 0 3px 0; + padding: 0 5px 3px 5px; + background: transparent; + border-bottom: 1px solid #072145; + } + +/** +* Footer +************************************************/ +#footer-container { + overflow: hidden; + clear: both; + padding: 2px 0 0 0; + background: #001838; + border-top: 3px solid #00070F; + } +#footer { + overflow: hidden; + width: 960px; + margin: 0 auto; + padding: 20px 0 0 0; + color: #f7f7f7; + } +#footer a { + font-style: normal; + color: #aaa; + } +#footer .copyright { + display: inline; + float: left; + margin-right: 9px; + } \ No newline at end of file