diff --git a/wp-content/themes/old-school/functions.php b/wp-content/themes/old-school/functions.php new file mode 100644 index 0000000000000000000000000000000000000000..62a3003d052fc2dbb5c1a15e9005706ced9aa17c --- /dev/null +++ b/wp-content/themes/old-school/functions.php @@ -0,0 +1,183 @@ +<?php + +/** +* This is your child theme's functions.php file. +* You should make edits and add additional code above this point. +* Only change the functions below if you know what you're doing. +*/ + +/********************************************************/ + +/* Load child theme textdomain. */ +load_child_theme_textdomain( 'old-school', get_stylesheet_directory() ); + +/* Actions. */ +add_action( 'init', 'old_school_admin_initialize' ); +add_action( 'init', 'old_school_remove_actions' ); +add_action( 'widgets_init', 'old_school_register_sidebars' ); +add_action( 'template_redirect', 'old_school_enqueue_script' ); +add_action( 'template_redirect', 'old_school_enqueue_style' ); +add_action( 'hybrid_header', 'get_search_form' ); + +/* Filters. */ +add_filter( 'hybrid_post_meta_box', 'old_school_post_meta_box' ); + +/** + * Removes Hybrid-specific default actions. + * + * @since 0.2 + */ +function old_school_remove_actions() { + remove_action( 'hybrid_before_content', 'hybrid_breadcrumb' ); +} + +/** + * Registers additional widget areas for the child theme. + * + * @since 0.3 + */ +function old_school_register_sidebars() { + register_sidebar( array( 'name' => __( 'Utility: Feature', 'old-school'), 'id' => 'utility-feature', 'description' => __( 'A widget area used on the Showcase page template in the feature area.', 'old-school' ), '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>' ) ); +} + +/** + * Adds additional meta box settings for the post settings on the post editor. + * + * @since 0.3 + */ +function old_school_post_meta_box( $meta ) { + $meta['full'] = array( 'name' => 'Full', 'title' => __( 'Feature/Full:', 'old-school'), 'type' => 'text' ); + return $meta; +} + +/** + * Loads JavaScript required by the theme. + * + * @since 0.2 + */ +function old_school_enqueue_script() { + if ( is_page_template( 'page-showcase.php' ) || is_page_template( 'showcase.php' ) ) + wp_enqueue_script( 'old-school', get_stylesheet_directory_uri() . '/js/old-school.js', array( 'jquery' ), 0.1 ); +} + +/** + * Loads CSS required by the theme. + * + * @since 0.2 + */ +function old_school_enqueue_style() { + if ( is_page_template( 'page-showcase.php' ) || is_page_template( 'showcase.php' ) ) + wp_enqueue_style( 'page-showcase', get_stylesheet_directory_uri() . '/page-showcase.css', false, 0.1, 'screen' ); +} + +/* == The functions below deal with internal functionality to Old School and should not be tampered with. == */ + +/** + * Intializes extra admin actions. + * + * @since 0.2 + */ +function old_school_admin_initialize() { + if ( is_admin() ) { + add_action( 'admin_menu', 'old_school_settings_meta_box' ); + add_action( 'hybrid_update_settings_page', 'old_school_save_settings_meta_box' ); + } +} + +/** + * Adds child theme-specific meta boxes to the theme settings page. + * + * @since 0.2 + */ +function old_school_settings_meta_box() { + add_meta_box( 'old-school-showcase', __( 'Showcase page template settings', 'old-school' ), 'old_school_showcase_meta_box', 'appearance_page_theme-settings', 'normal', 'low' ); +} + +/** + * Saves the Old School theme settings on the theme settings page. + * + * @since 0.2 + */ +function old_school_save_settings_meta_box() { + + /* Verify the nonce, so we know this is secure. */ + if ( !wp_verify_nonce( $_POST['old_school_meta_box_nonce'], basename( __FILE__ ) ) ) + return false; + + $options = get_option( 'old_school_theme_settings' ); + + $options['feature_cat'] = strip_tags( $_POST['feature_cat'] ); + $options['tab_1_cat'] = strip_tags( $_POST['tab_1_cat'] ); + $options['tab_2_cat'] = strip_tags( $_POST['tab_2_cat'] ); + $options['tab_3_cat'] = strip_tags( $_POST['tab_3_cat'] ); + $options['tab_4_cat'] = strip_tags( $_POST['tab_4_cat'] ); + $options['tab_5_cat'] = strip_tags( $_POST['tab_5_cat'] ); + $options['tab_6_cat'] = strip_tags( $_POST['tab_6_cat'] ); + + $updated = update_option( 'old_school_theme_settings', $options ); +} + +/** + * Displays the showcase meta box for the theme settings page. + * + * @since 0.2 + */ +function old_school_showcase_meta_box() { + $settings = get_option( 'old_school_theme_settings' ); + $cats = get_categories( array( 'type' => 'post' ) ); ?> + + <!-- Security! Very important! --> + <input type="hidden" name="old_school_meta_box_nonce" value="<?php echo wp_create_nonce( basename( __FILE__ ) ); ?>" /> + + <table class="form-table"> + <tr> + <th><label for="feature_cat"><?php _e( 'Feature:', 'old-school' ); ?></label></th> + <td> + <?php _e( 'Category:', 'old-school' ); ?> + <select id="feature_cat" name="feature_cat"> + <option value=""></option> + <?php foreach ( $cats as $cat ) { ?> + <option <?php if ( $cat->term_id == $settings['feature_cat'] ) echo ' selected="selected"'; ?> value="<?php echo $cat->term_id; ?>"><?php echo $cat->name; ?></option> + <?php } ?> + </select> + </td> + </tr> + <tr> + <th><label for="tab_1_cat"><?php _e( 'Tabs:', 'old-school' ); ?></label></th> + <td> + + <?php $tabs = array( 1, 2, 3, 4, 5, 6 ); + + foreach ( $tabs as $tab ) { ?> + <?php printf( __( 'Tab %1$s Category:', 'old-school' ), $tab ); ?> + <select id="tab_<?php echo $tab; ?>_cat" name="tab_<?php echo $tab; ?>_cat"> + <option value=""></option> + <?php foreach ( $cats as $cat ) { ?> + <option <?php if ( $cat->term_id == $settings["tab_{$tab}_cat"] ) echo ' selected="selected"'; ?> value="<?php echo $cat->term_id; ?>"><?php echo $cat->name; ?></option> + <?php } ?> + </select> + <br /> + <?php } + + ?></td> + </tr> + </table><?php +} + +/** + * Displays an unorderd list of "tabs" for the Showcase page template's tabbed category section. + * + * @since 0.2 + */ +function old_school_tabs_loop( $tabs ) { + $j = 1; + foreach ( $tabs as $tab ) { + if ( !empty( $tab ) ) { + $term = get_term( $tab, 'category' ); + echo '<li class="t' . $j . '"><a class="t' . $j . '" title="' . esc_attr( $term->name ) . '">' . $term->name . '</a></li>'; + ++$j; + } + } +} + +?> \ No newline at end of file diff --git a/wp-content/themes/old-school/images/blockquote-comments.gif b/wp-content/themes/old-school/images/blockquote-comments.gif new file mode 100644 index 0000000000000000000000000000000000000000..291cea056889c9cd7e9deeb54e5a0a49d087d6ca Binary files /dev/null and b/wp-content/themes/old-school/images/blockquote-comments.gif differ diff --git a/wp-content/themes/old-school/images/blockquote.gif b/wp-content/themes/old-school/images/blockquote.gif new file mode 100644 index 0000000000000000000000000000000000000000..8701f58a8bb116b7b8c682715c5f59436f1f698c Binary files /dev/null and b/wp-content/themes/old-school/images/blockquote.gif differ diff --git a/wp-content/themes/old-school/images/bullet.gif b/wp-content/themes/old-school/images/bullet.gif new file mode 100644 index 0000000000000000000000000000000000000000..d6203a64546399e0b1d4b7c6720745cdf708b289 Binary files /dev/null and b/wp-content/themes/old-school/images/bullet.gif differ diff --git a/wp-content/themes/old-school/images/comments-bottom.gif b/wp-content/themes/old-school/images/comments-bottom.gif new file mode 100644 index 0000000000000000000000000000000000000000..765e46458959e2fdc515c459ba79462eb222207b Binary files /dev/null and b/wp-content/themes/old-school/images/comments-bottom.gif differ diff --git a/wp-content/themes/old-school/images/comments-top.gif b/wp-content/themes/old-school/images/comments-top.gif new file mode 100644 index 0000000000000000000000000000000000000000..03820192bad205985d618d6a86dc496252638b12 Binary files /dev/null and b/wp-content/themes/old-school/images/comments-top.gif differ diff --git a/wp-content/themes/old-school/images/content-inside.gif b/wp-content/themes/old-school/images/content-inside.gif new file mode 100644 index 0000000000000000000000000000000000000000..f4fca210519993d083426ebc6289dad2fb7e1e0f Binary files /dev/null and b/wp-content/themes/old-school/images/content-inside.gif differ diff --git a/wp-content/themes/old-school/images/content.gif b/wp-content/themes/old-school/images/content.gif new file mode 100644 index 0000000000000000000000000000000000000000..ef33081d23ec78b4395ff1474aa31157ce69878e Binary files /dev/null and b/wp-content/themes/old-school/images/content.gif differ diff --git a/wp-content/themes/old-school/images/feature-bottom.jpg b/wp-content/themes/old-school/images/feature-bottom.jpg new file mode 100644 index 0000000000000000000000000000000000000000..b959e458b33f1de23940bc89764902fcc2de13e1 Binary files /dev/null and b/wp-content/themes/old-school/images/feature-bottom.jpg differ diff --git a/wp-content/themes/old-school/images/feature-default.jpg b/wp-content/themes/old-school/images/feature-default.jpg new file mode 100644 index 0000000000000000000000000000000000000000..c49934afe3d666e02e2f1fb05b3e10ef08ad9299 Binary files /dev/null and b/wp-content/themes/old-school/images/feature-default.jpg differ diff --git a/wp-content/themes/old-school/images/feature-list-current.gif b/wp-content/themes/old-school/images/feature-list-current.gif new file mode 100644 index 0000000000000000000000000000000000000000..9a5d90e328197c8130b405555702ad892c42c5b5 Binary files /dev/null and b/wp-content/themes/old-school/images/feature-list-current.gif differ diff --git a/wp-content/themes/old-school/images/feature-list.gif b/wp-content/themes/old-school/images/feature-list.gif new file mode 100644 index 0000000000000000000000000000000000000000..bae37864754fb006a846b7c40c8bf76ee537b516 Binary files /dev/null and b/wp-content/themes/old-school/images/feature-list.gif differ diff --git a/wp-content/themes/old-school/images/feature-widget.jpg b/wp-content/themes/old-school/images/feature-widget.jpg new file mode 100644 index 0000000000000000000000000000000000000000..e4917efded3e98e2bd06f0ce017cf8876bcbd001 Binary files /dev/null and b/wp-content/themes/old-school/images/feature-widget.jpg differ diff --git a/wp-content/themes/old-school/images/feature.jpg b/wp-content/themes/old-school/images/feature.jpg new file mode 100644 index 0000000000000000000000000000000000000000..ac31f7eba430eec6baa4b9a057cd5bc60b9e608d Binary files /dev/null and b/wp-content/themes/old-school/images/feature.jpg differ diff --git a/wp-content/themes/old-school/images/gray-bullet.gif b/wp-content/themes/old-school/images/gray-bullet.gif new file mode 100644 index 0000000000000000000000000000000000000000..6c0d03394f50c9305efdf9f2f2413dfdabbdda7a Binary files /dev/null and b/wp-content/themes/old-school/images/gray-bullet.gif differ diff --git a/wp-content/themes/old-school/images/header-container-bg.gif b/wp-content/themes/old-school/images/header-container-bg.gif new file mode 100644 index 0000000000000000000000000000000000000000..e7ce428b8a20c8647cf8eeb53966cfa2d4e0dc5b Binary files /dev/null and b/wp-content/themes/old-school/images/header-container-bg.gif differ diff --git a/wp-content/themes/old-school/images/header.jpg b/wp-content/themes/old-school/images/header.jpg new file mode 100644 index 0000000000000000000000000000000000000000..be1bb549186ada8685c405a394ab23fc04f652e4 Binary files /dev/null and b/wp-content/themes/old-school/images/header.jpg differ diff --git a/wp-content/themes/old-school/images/navigation.gif b/wp-content/themes/old-school/images/navigation.gif new file mode 100644 index 0000000000000000000000000000000000000000..ba2c48276f4257fb9163caab09510231284ee887 Binary files /dev/null and b/wp-content/themes/old-school/images/navigation.gif differ diff --git a/wp-content/themes/old-school/images/orange-bullet.gif b/wp-content/themes/old-school/images/orange-bullet.gif new file mode 100644 index 0000000000000000000000000000000000000000..9acad4be71605253e20d6497685940818feabaa3 Binary files /dev/null and b/wp-content/themes/old-school/images/orange-bullet.gif differ diff --git a/wp-content/themes/old-school/images/rss-icon.gif b/wp-content/themes/old-school/images/rss-icon.gif new file mode 100644 index 0000000000000000000000000000000000000000..6a31921e8e462f7dedde7da5e22e740126b7bae4 Binary files /dev/null and b/wp-content/themes/old-school/images/rss-icon.gif differ diff --git a/wp-content/themes/old-school/images/search.gif b/wp-content/themes/old-school/images/search.gif new file mode 100644 index 0000000000000000000000000000000000000000..3171ada2462065e26bad60e6933322fbda7f31a2 Binary files /dev/null and b/wp-content/themes/old-school/images/search.gif differ diff --git a/wp-content/themes/old-school/images/sidebar-footer.gif b/wp-content/themes/old-school/images/sidebar-footer.gif new file mode 100644 index 0000000000000000000000000000000000000000..ead7aecbda1841ac4a5554b82684f6e6f25d2187 Binary files /dev/null and b/wp-content/themes/old-school/images/sidebar-footer.gif differ diff --git a/wp-content/themes/old-school/images/textarea.gif b/wp-content/themes/old-school/images/textarea.gif new file mode 100644 index 0000000000000000000000000000000000000000..ba4a5abe901c20b681f32dd0fe0305ccdbd1e70a Binary files /dev/null and b/wp-content/themes/old-school/images/textarea.gif differ diff --git a/wp-content/themes/old-school/images/widget.gif b/wp-content/themes/old-school/images/widget.gif new file mode 100644 index 0000000000000000000000000000000000000000..801084da6eb9b83325355d762695ab14efeeb9e2 Binary files /dev/null and b/wp-content/themes/old-school/images/widget.gif differ diff --git a/wp-content/themes/old-school/js/old-school.js b/wp-content/themes/old-school/js/old-school.js new file mode 100644 index 0000000000000000000000000000000000000000..e4ea916e3d2333814ed8a9e74fcafcf6dd55472a --- /dev/null +++ b/wp-content/themes/old-school/js/old-school.js @@ -0,0 +1 @@ +eval(function(p,a,c,k,e,r){e=function(c){return c.toString(a)};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('i $j=u.v();$j(w).x(k(){$j(\'3.5-6 d.6 7.l a\').e(\'8-9\');$j(\'3.5-6 d.6 7 a\').m(\'n\',\'o\');$j(\'3.b 3.8-y\').f();$j(\'3.b 3.5\').c();$j(\'3.b 3.z\').c();$j(\'#4 3.5\').f();$j(\'#4 3.5-1\').c();$j(\'3.l\').c();$j(\'#4 .4-g 7.l a\').e(\'8-9\');$j(\'#4 .4-g d 7 a\').m(\'n\',\'o\');$j(\'#4 .4-g 7 a\').p(k(){i a=h.q.r(0,2);$j(\'#4 3.5\').f();$j(\'#4 3.\'+a).c();$j(\'#4 .4-g 7 a\').s(\'8-9\');$j(h).e(\'8-9\')});$j(\'#5-6 3.b d.6 7 a\').p(k(){i a=h.q.r(0,2);$j(\'#5-6 3.b 3.t\').f();$j(\'#5-6 3.\'+a).c();$j(\'#5-6 3.b d.6 7 a\').s(\'8-9\');$j(h).e(\'8-9\')})});',36,36,'|||div|feature|post|tabs|li|tab|current||tabbed|show|ul|addClass|hide|list|this|var||function|t1|css|cursor|pointer|click|className|slice|removeClass||jQuery|noConflict|document|ready|content|entry'.split('|'),0,{})) \ No newline at end of file diff --git a/wp-content/themes/old-school/languages/en_EN.mo b/wp-content/themes/old-school/languages/en_EN.mo new file mode 100644 index 0000000000000000000000000000000000000000..a5365db79a8912216c66348fd012ed78bae31132 Binary files /dev/null and b/wp-content/themes/old-school/languages/en_EN.mo differ diff --git a/wp-content/themes/old-school/languages/en_EN.po b/wp-content/themes/old-school/languages/en_EN.po new file mode 100644 index 0000000000000000000000000000000000000000..125d76420ff88058e50de3dc7e77598439558c67 --- /dev/null +++ b/wp-content/themes/old-school/languages/en_EN.po @@ -0,0 +1,56 @@ +msgid "" +msgstr "" +"Project-Id-Version: Old School Child Theme\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2010-07-06 19:22-0600\n" +"PO-Revision-Date: 2010-07-06 19:23-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:40 +msgid "Utility: Feature" +msgstr "" + +#: functions.php:40 +msgid "A widget area used on the Showcase page template in the feature area." +msgstr "" + +#: functions.php:49 +msgid "Feature/Full:" +msgstr "" + +#: functions.php:93 +msgid "Showcase page template settings" +msgstr "" + +#: functions.php:134 +msgid "Feature:" +msgstr "" + +#: functions.php:136 +msgid "Category:" +msgstr "" + +#: functions.php:146 +msgid "Tabs:" +msgstr "" + +#: functions.php:152 +#, php-format +msgid "Tab %1$s Category:" +msgstr "" + +#: searchform.php:18 +msgid "Search this site..." +msgstr "" + +#: searchform.php:19 +msgid "Go" +msgstr "" + diff --git a/wp-content/themes/old-school/languages/old-school.pot b/wp-content/themes/old-school/languages/old-school.pot new file mode 100644 index 0000000000000000000000000000000000000000..fe1ed9ed7ff26012e2d5336a4de75874817c544b --- /dev/null +++ b/wp-content/themes/old-school/languages/old-school.pot @@ -0,0 +1,56 @@ +msgid "" +msgstr "" +"Project-Id-Version: Old School Child Theme\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2010-07-06 19:22-0600\n" +"PO-Revision-Date: 2010-07-06 19:22-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:40 +msgid "Utility: Feature" +msgstr "" + +#: functions.php:40 +msgid "A widget area used on the Showcase page template in the feature area." +msgstr "" + +#: functions.php:49 +msgid "Feature/Full:" +msgstr "" + +#: functions.php:93 +msgid "Showcase page template settings" +msgstr "" + +#: functions.php:134 +msgid "Feature:" +msgstr "" + +#: functions.php:136 +msgid "Category:" +msgstr "" + +#: functions.php:146 +msgid "Tabs:" +msgstr "" + +#: functions.php:152 +#, php-format +msgid "Tab %1$s Category:" +msgstr "" + +#: searchform.php:18 +msgid "Search this site..." +msgstr "" + +#: searchform.php:19 +msgid "Go" +msgstr "" + diff --git a/wp-content/themes/old-school/page-showcase.css b/wp-content/themes/old-school/page-showcase.css new file mode 100644 index 0000000000000000000000000000000000000000..b7f3b7a5f34c4c0dae4128ee7b2d6107116be850 --- /dev/null +++ b/wp-content/themes/old-school/page-showcase.css @@ -0,0 +1,176 @@ +/** +* Feature +************************************************/ +#feature { + float: left; + overflow: hidden; + width: 940px; + height: 283px; + margin: -40px 0 20px -20px; + padding: 20px 20px 0 20px; + font-family: arial, verdana, sans-serif; + background: #111; + background: #111 url(images/feature-bottom.jpg) no-repeat 0 bottom; + } +#feature .feature { + overflow: hidden; + float: left; + width: 610px; + height: 250px; + padding: 10px; + background: url(images/feature.jpg) no-repeat 0 0; + } +#feature .hentry { + overflow: hidden; + float: left; + width: 380px; + margin: 0; + padding: 0; + } +#feature img { + overflow: hidden; + float: left; + width: 360px; + height: 210px; + border: 10px solid #000; + } +#feature .post-2, #feature .post-3, #feature .post-4 { display: none; } +.feature-list { + float: left; + width: 220px; + background: #2e2e2e url(images/feature-list.gif) no-repeat 0 bottom; + } +.feature-list ul { + list-style: none; + line-height: 15px; + height: 230px; + margin: 0; + font: 12px/18px arial, verdana, sans-serif; + font-weight: bold; + } +.feature-list li { + border-bottom: 1px solid #3c3c3c; + } +.feature-list li a { + display: block; + width: 185px; + padding: 10px 15px 10px 20px; + color: #fff; + } +.feature-list li a:hover { + background: #222; + text-decoration: none; + } +.feature-list li a.tab-current { + background: url(images/feature-list-current.gif) no-repeat left; + } +#feature .widget { + float: right; + width: 270px; + height: 230px; + padding: 10px 15px; + color: #f7f7f7; + background: url(images/feature-widget.jpg) no-repeat 0 0; + } +#feature .widget-title { + margin: 0; + padding: 0 0 5px 0; + font-size: 16px; + color: #fec002; + border-bottom: 1px solid #333; + } +#feature .widget ul { + list-style: none; + line-height: 15px; + margin: 0; + } +#feature .widget li { + padding: 7px 10px; + background: url(images/gray-bullet.gif) no-repeat 0 12px; + border-bottom: 1px solid #333; + } +#feature .widget a { + color: #ccc; + } + +/** +* Post tabs +************************************************/ +.post-tabs { + overflow: hidden; + height: 100%; + margin-bottom: 20px; + background: #09415f url(images/content-inside.gif) repeat-x right bottom; + border-top: 5px solid #042b40; + } +.content .post-tabs ul.tabs { + overflow: hidden; + position: relative; + top: 0; + left: 0; + z-index: 5; + list-style: none; + margin: 0 0 10px 0; + padding: 0; + background: transparent url(images/content.gif) repeat-x right 0; + } +.content .post-tabs ul.tabs li { + height: 100%; + margin: 0; + padding: 0; + background: none; + display: inline; + float: left; + } +.content .post-tabs ul.tabs li a, .content .post-tabs ul.tabs li a:hover { + display: block; + float: left; + font: 18px arial, verdana, sans-serif; + font-weight: bold; + padding: 15px 15px 20px 15px; + } +.post-tabs ul.tabs li a.tab-current { + overflow: hidden; + color: #fec002 !important; + background: #09415f; + } +.post-tabs .tabbed { + width: 100%; + float: left; + overflow: hidden; + clear: left; + z-index: 0; + margin-top: -1px; + } +.post-tabs .tab-content { + overflow: hidden; + clear: left; + float: left; + padding: 15px 0 20px 0; + } +.home .latest { + color: #fec002; + font: 18px arial, verdana, sans-serif; + font-weight: bold; + padding: 0 0 20px 0; + } +.hentry { + margin: 0 20px 0 20px; + background: transparent; + border: none; + } +.entry-title { + margin: 0; + padding: 0; + font-size: 14px; + background: none; + border: none; + } +.entry-summary, .entry-content { + margin: 0 0 20px 0; + } +.entry-meta { + width: 560px; + clear: left; + margin: 0 0 20px 0; + } \ No newline at end of file diff --git a/wp-content/themes/old-school/page-showcase.php b/wp-content/themes/old-school/page-showcase.php new file mode 100644 index 0000000000000000000000000000000000000000..579cef666178b4d8a04c8083ae79490d42a8a111 --- /dev/null +++ b/wp-content/themes/old-school/page-showcase.php @@ -0,0 +1,134 @@ +<?php +/** + * Template Name: Showcase + * + * This template has a tabbed section of posts by category. Plus, a feature section and widget are + * attached to any page using this. You can choose your settings from the Hybrid Settings page. + * + * @package OldSchool + * @subpackage Template + */ + +get_header(); + +/* Get Old School theme settings. */ +$settings = get_option( 'old_school_theme_settings' ); + +/* Set up some default variable for iteration. */ +$tab_iterator = 1; +$feature_post_iterator = 1; +$feature_list_iterator = 1; + +/* Add the individual tabs to the $tabs array. */ +$tabs = array( $settings['tab_1_cat'], $settings['tab_2_cat'], $settings['tab_3_cat'], $settings['tab_4_cat'], $settings['tab_5_cat'], $settings['tab_6_cat'] ); ?> + + <!-- Featured Area. --> + <?php $loop = new WP_Query( array( 'cat' => $settings['feature_cat'], 'posts_per_page' => 4 ) ); ?> + + <?php if ( $loop->have_posts() ) : ?> + + <div id="feature"> + + <div class="feature"> + + <!-- Featured images. --> + <?php while ( $loop->have_posts() ) : $loop->the_post(); ?> + + <div class="<?php hybrid_entry_class( "t{$feature_post_iterator}" ); ?>"> + <?php get_the_image( array( 'custom_key' => array( 'Feature Image', 'Medium', 'Full' ), 'size' => 'medium', 'default_image' => get_stylesheet_directory_uri() . '/images/feature-default.jpg' ) ); ?> + </div> + + <?php ++$feature_post_iterator; ?> + + <?php endwhile; ?> + + <!-- Featured post list. --> + <?php $loop = new WP_Query( array( 'cat' => $settings['feature_cat'], 'posts_per_page' => 4 ) ); ?> + + <?php if ( $loop->have_posts() ) : ?> + + <div class="feature-list"> + <ul> + + <?php while ( $loop->have_posts() ) : $loop->the_post(); ?> + + <?php the_title( '<li class="t' . $feature_list_iterator . '"><a class="t' . $feature_list_iterator . '" title="' . the_title_attribute( 'echo=0' ) . '">', '</a></li>' ); ?> + + <?php ++$feature_list_iterator; ?> + + <?php endwhile; ?> + + </ul> + </div> + + <?php endif; ?> + + </div> + + <?php dynamic_sidebar( 'utility-feature' ); ?> + </div> + + <?php endif; ?> + <!-- End featured area. --> + + <div id="content" class="hfeed content"> + + <?php hybrid_before_content(); // Before content hook ?> + + <!-- Tabbed posts area. --> + <div id="post-tabs" class="post-tabs"> + + <div class="tabbed"> + + <ul class="tabs"> + <?php old_school_tabs_loop( $tabs ); ?> + </ul> + + <?php foreach ( $tabs as $category ) : ?> + + <?php if ( $category ) : ?> + + <?php $loop = new WP_Query( array( 'cat' => $category, 'showposts' => 5 ) ); ?> + + <div class="t t<?php echo $tab_iterator; ?> tab-content"> + + <?php while ( $loop->have_posts() ) : $loop->the_post(); ?> + + <div class="<?php hybrid_entry_class(); ?>"> + + <?php get_the_image( array( 'custom_key' => array( 'Thumbnail', 'thumbnail' ), 'size' => 'thumbnail' ) ); ?> + + <?php hybrid_before_entry(); ?> + + <div class="entry-summary"> + <?php the_excerpt(); ?> + </div> + + <?php hybrid_after_entry(); ?> + + </div> + + <?php endwhile; ?> + + </div> + + <?php ++$tab_iterator; ?> + + <?php endif; ?> + + <?php endforeach; ?> + + </div> + + </div> + <!-- End tabbed posts area. --> + + <?php wp_reset_query(); // Reset the query ?> + + <?php hybrid_after_singular(); // After page 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/old-school/readme.html b/wp-content/themes/old-school/readme.html new file mode 100644 index 0000000000000000000000000000000000000000..bc14d050dd84f146f17c1d003d585d1182d3b965 --- /dev/null +++ b/wp-content/themes/old-school/readme.html @@ -0,0 +1,46 @@ +<!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 Old School</title> + +<link rel="stylesheet" href="../hybrid/library/css/18px.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 Old School</h1> + +<p class="first"><em>Old School</em> is about showing off your content in way that looks good.</p> + +<p class="second">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>Old School</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. Nothing more. Nothing less.</p> + +<h2>Showcase 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>Showcase</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 a feature image and thumbnails to your posts to make them look good. For your convenience both of these are located under the <em>Hybrid post settings</em> meta box when you write a post.</p> + +<h2>Widgets</h2> + +<p><em>Old School</em> comes with an extra widget section labeled <em>Feature</em>. The contents of this widget section will be displayed when using the <em>Showcase</em> page template. I would only suggest adding one widget to this section as it's a bit small.</p> + +<h2>Theme Support & Community</h2> + +<p>The most authoritative source for finding out how to use the theme or do some nifty stuff is the <a href="http://themehybrid.com/themes/old-school" title="Old School WordPress theme">Old School</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>Old School</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 (<acronym title="GNU General Public License">GPL</acronym>).</p> + +<p>This theme is copyrighted to <a href="http://justintadlock.com" title="Justin Tadlock">Justin Tadlock</a>, Tung Do, and <a href="http://themehybrid.com" title="Theme Hybrid">Theme Hybrid</a>.</p> + +<p>2008 – 2010 © Justin Tadlock, Tung Do. All rights reserved.</p> + +</body> +</html> \ No newline at end of file diff --git a/wp-content/themes/old-school/screenshot.png b/wp-content/themes/old-school/screenshot.png new file mode 100644 index 0000000000000000000000000000000000000000..47bbfb41eba42e3b504c5db7151159ee55e38603 Binary files /dev/null and b/wp-content/themes/old-school/screenshot.png differ diff --git a/wp-content/themes/old-school/searchform.php b/wp-content/themes/old-school/searchform.php new file mode 100644 index 0000000000000000000000000000000000000000..d1c358185af91d8e4ab2e74668d8a2da90f4ee11 --- /dev/null +++ b/wp-content/themes/old-school/searchform.php @@ -0,0 +1,23 @@ +<?php +/** + * Search Form Template + * + * The search form template displays the search form. + * + * @package OldSchool + * @subpackage Template + */ + + global $search_num; + ++$search_num; +?> + <div id="search<?php if ( $search_num ) echo '-' . $search_num; ?>" class="search"> + + <form method="get" class="search-form" id="search-form<?php if ( $search_num ) echo '-' . $search_num; ?>" action="<?php bloginfo( 'home' ); ?>/"> + <div> + <input class="search-text" type="text" name="s" id="search-text<?php if ( $search_num) echo '-' . $search_num; ?>" tabindex="7" value="<?php if ( is_search() ) echo esc_attr( get_search_query() ); else esc_attr_e( 'Search this site...', 'hybrid' ); ?>" onfocus="if(this.value==this.defaultValue)this.value='';" onblur="if(this.value=='')this.value=this.defaultValue;" /> + <input class="search-submit button" name="submit" type="submit" id="search-submit<?php if ( $search_num ) echo '-' . $search_num; ?>" tabindex="8" value="<?php esc_attr_e( 'Go', 'hybrid' ); ?>" /> + </div> + </form><!-- .search-form --> + + </div><!-- .search --> \ No newline at end of file diff --git a/wp-content/themes/old-school/style.css b/wp-content/themes/old-school/style.css new file mode 100644 index 0000000000000000000000000000000000000000..5926353e31003f2897a266a686a06135c0d2abf3 --- /dev/null +++ b/wp-content/themes/old-school/style.css @@ -0,0 +1,1025 @@ +/** + * Theme Name: Old School + * Theme URI: http://themehybrid.com/themes/old-school + * Description: Know your roots. A stylish child theme of Hybrid. + * Version: 0.3 + * Author: Tung Do and Justin Tadlock + * Author URI: http://justintadlock.com + * Tags: blue, theme-options, threaded-comments, sticky-post, microformats, two-columns, fixed-width + * Template: hybrid + * + * Copyright (c) 2008 - 2010 Justin Tadlock. All rights reserved. + * http://justintadlock.com + * + * Old School 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('tabs.css'); */ + +/** +* Body +************************************************/ +body { + padding: 10px 0 25px 0; + background: #a6cde2; + font: 12px/22px Verdana, Arial, sans-serif; + } + +#body-container { + overflow: hidden; + width: 980px; + margin: 0 auto; + background: #d7f1ff; + border-top: 5px solid #000; + border-bottom: 5px solid #000; + } + +/** +* Elements +************************************************/ +/* Links */ +a { + color: #fff; + } +a:hover { + text-decoration: underline; + } + +/* Headers */ +.hentry h2, .hentry h3, .hentry h4, .hentry h5, .hentry h6 { + color: #b2b141; + } + +/* Blockquotes */ +blockquote { + overflow: hidden; + height: 100%; + margin: 0; + padding-left: 30px; + color: #b2b141; + background: url(images/blockquote.gif) no-repeat 0 0; + } +blockquote blockquote { + margin-right: 20px; + } +blockquote.pullquote { + width: 210px; + margin-top: 6px; + margin-bottom: 3px; + padding: 6px 9px; + font-size: 18px; + text-align: center; + background: transparent; + border-top: 3px double #0b5177; + border-bottom: 3px double #0b5177; + } +.pullquote p { + margin: 0; + } + +/* Code */ +code { + font-size: 1em; + } +pre { + overflow: auto; + width: 96.5%; + font-size: 1em; + background: #07364F; + } +pre, code { + color: #b2b141; + } + +/* Lists */ +.content ul { + list-style: none; + } +.content ul li { + overflow: hidden; + height: 100%; + padding-left: 15px; + background: url(images/gray-bullet.gif) no-repeat 0 8px; + } + +/* Tables */ +table { + width: 100%; + background: #1a5676; + border: 1px solid #06344d; + } +caption { + font-style: italic; + text-align: right; + color: #88bfdd; + } +td { + padding: .3em; + border: 1px solid #06344d; + } +th { + padding: .3em; + color: #fff; + background: #06344d; + border: 1px solid #06344d; + } + +/* Other elements */ +acronym { + border-bottom: 1px dashed #88bfdd; + } +ins, dfn { + border-bottom: 1px solid #88bfdd; + } + +/* Drop caps */ +.drop-cap { + float: left; + line-height: 30px; + margin: 6px 6px 0 0; + padding: 0 9px 3px 9px; + font-size: 36px; + font-family: "Warnock Pro", "Goudy Old Style", Palatino,"Book Antiqua", Cambria, Georgia, serif; + background: #0E4D6F; + } + +/* Notes */ +.note { + padding: 6px 9px; + background: #0E4D6F; + } + +/* Warnings/Alerts */ +.warning, .alert { + padding: 6px 9px; + color: #b2b141 !important; + background: #0E4D6F; + } + +/* Errors */ +.error { + padding: 6px 9px; + background: #07364F; + } + +/* Downloads */ +.download { + padding: 6px 9px; + background: #0E4D6F; + } + +/* Forms */ +input { + font-family: verdana, arial, sans-serif; + } +.text-input { + display: block; + width: 210px; + margin: 0; + padding: 3px 5px; + font-weight: bold; + } +textarea { + width: 98%; + font: 12px/22px verdana, arial, sans-serif; + font-weight: bold; + } +.button { + margin-right: 15px; + padding: 7px 35px; + font: 12px/22px verdana, arial, sans-serif; + font-weight: bold; + color: #fff; + background: #07364F; + border: none; + } +.button:hover { + cursor: pointer; + } + +/* Alignment */ +.alignleft, .left { + float: left; + margin-right: 15px; + } +.alignright, .right { + float: right; + margin-left: 15px; + } +.aligncenter, .center { + 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 +************************************************/ +.hentry img, .hentry a img { + max-width: 570px; + border: 5px solid #06344d; + } + +/* Captions */ +.wp-caption { + max-width: 574px; + padding: 3px 0 0 0; + background: #06344d; + border: 3px solid #06344d; + text-align: center; + } +.wp-caption p.wp-caption-text { + margin: 0; + padding: 0 5px; + text-align: right; + font-size: .8em; + } +.wp-caption img, .wp-caption a img { + max-width: 562px; + margin: 0 auto; + padding: 0; + border: 1px solid #09415f; + } + +/* Gallery */ +.gallery { + margin-bottom: 20px !important; + } + +/* Thumbnails */ +.thumbnail { + float: left; + width: 110px; + height: 80px; + margin: 0 15px 10px 0; + border: 5px solid #06344d; + } + +.avatar { + float: left; + width: 70px; + height: 70px; + margin: 0 15px 0 0; + border: 5px solid #06344d; + } + +/** +* Header +************************************************/ +#header-container { + height: 130px; + background: #fff url(images/header-container-bg.gif) repeat-x 0 0; + border-bottom: 1px solid #eee; + } +#site-title { + margin: 0 0 0 15px; + } +#site-title a { + float: left; + display: block; + width: 455px; + height: 130px; + background: url(images/header.jpg) no-repeat 0 0; + } +#site-title a span, #site-description { + display: none; + } + +/* Search */ +#header .search { + float: right; + width: 220px; + margin: 40px 40px 0 0; + } +#header .search form { + width: 220px; + height: 30px; + padding: 0; + background: url(images/search.gif) no-repeat 0 0; + } +#header .search input { + float: left; + overflow: hidden; + margin: 0; + border: none; + background: none; + } +#header .search input.search-text { + font-family: arial, verdana, sans-serif; + width: 155px; + padding: 7px 5px 6px 10px; + color: #777; + } +#header .search input.search-submit { + width: 49px; + margin: 0; + padding: 6px 6px 0 0; + text-transform: uppercase; + letter-spacing: 0.1em; + font: .9em georgia, times, 'times new roman', serif; + font-weight: bold; + color: #000; + } +#header .search input.search-submit:hover { + cursor: pointer; + } + +/** +* Navigation +************************************************/ +#primary-menu { + float: left; + width: 940px; + height: 100%; + padding: 0 20px; + background: #f4f4f4 url(images/navigation.gif) no-repeat 0 0; + } +#primary-menu a { + text-transform: uppercase; + font-family: georgia, times, 'times new roman', serif; + font-weight: bold; + } + +/* Page navigation */ +#primary-menu ul { + list-style: none; + margin: 15px 0 0 0; + } +#primary-menu li { + display: inline; + margin: 0; + } +#primary-menu li a { + float: left; + padding: 14px 20px; + color: #666; + border-right: 1px solid #e4e4e4; + } +#primary-menu li.current_page_item a { + color: #fff; + background: #111; + } +#primary-menu li.current_page_item li a { + color: #666; + background: transparent; + } + +/* Drop-down controls */ +#primary-menu ul ul { + width: 180px; + margin: 0; + background: #f4f4f4; + background: #111; + } +#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: 40px; + } +#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 li li { + border-bottom: 1px solid #151515; + } +#primary-menu li li a { + padding: 7px 10px; + font-size: 11px; + color: #666; + border-right: none; + } + +/* Subscribe */ +#primary-menu li.feed { + float: right; + padding: 9px 0; + color: #666; + } +#primary-menu li.feed a { + padding-right: 15px; + background: url(images/rss-icon.gif) no-repeat right 16px; + } + +/** +* Containers +************************************************/ +#container { + overflow: hidden; + clear: both; + padding: 40px 20px 0 20px; + background: url(images/feature-bottom.jpg) no-repeat 0 0; + } +.content { + overflow: hidden; + float: left; + width: 620px; + color: #88bfdd; + } +.archive .content, .search .content { + background: url(images/content-inside.gif) repeat-x right bottom; + } + +/** +* Posts +************************************************/ +.hentry, .series, .related { + overflow: hidden; + height: 100%; + margin: 0 0 20px 0; + font: 12px/22px verdana, arial, sans-serif; + background: #09415f url(images/content-inside.gif) repeat-x left bottom; + } +.archive .hentry, .search .hentry { + margin: 0; + padding: 0 20px 20px 20px; + background: #09415f; + } +.page .hentry { + padding-bottom: 20px; + } + +/* Post title */ +.entry-title, .post-title, .page-title, .category-title, .tag-title, .author-title, .archive-title, .date-title, +.search-title, .series-title, .related-title { + margin-bottom: 20px; + padding: 15px 20px 20px 20px; + font: 18px/18px arial, verdana, sans-serif; + font-weight: bold; + color: #fec002 !important; + background: transparent url(images/content.gif) repeat-x right 0; + border-top: 5px solid #042b40; + } +.archive .entry-title, .search .entry-title { + margin: 0; + padding: 0; + font-size: 14px; + background: none; + border: none; + } + +/* Byline */ +.byline { + display: none; + } + +/* Entry */ +.entry-content, .entry-summary, .page .entry-content { + margin: 0 20px; + } +.archive .entry-content, .archive .entry-summary, +.search .entry-content, .search .entry-summary { + margin: 0 0 20px 0; + } + +/* Post meta data */ +.entry-meta { + overflow: hidden; + margin: 0 20px 40px 20px; + padding: 5px 10px; + font-style: italic; + border-top: 1px solid #0b5177; + border-bottom: 1px solid #0b5177; + } +.archive .entry-meta, .search .entry-meta { + clear: left; + margin: 0 0 20px 0; + } +.page-template-widgets .entry-meta { + display: none; + } +.entry-meta .tags, .entry-meta a.comments-link, .entry-meta .categories { + margin-right: 10px; + padding-left: 15px; + background: url(images/bullet.gif) no-repeat 0 3px; + } +.entry-meta .separator { + display: none; + } + +p.no-data { + margin: 0 20px 20px 20px; + } + +/* Using <!--nextpage--> */ +p.pages { + color: #eee; + font-style: italic; + } +p.pages a { + margin-left: 3px; + padding: 3px 6px; + background: #0E4D6F; + } + +/* Archive and search */ +.category-info, .tag-info, .author-info, .archive-info, .date-info, .search-info { + overflow: hidden; + margin: 0; + padding: 0 0 20px 0; + background: #09415f; + } +.category-description, .tag-description, .author-description, .archive-description, .date-description, .search-description { + overflow: hidden; + margin: 0 20px; + } +.search .content form { + margin: 0 20px 20px 20px; + } +.error-404 .content form { + margin: 0 0 20px 0; + } +.search .content input, .error-404 .content input { + font-weight: bold; + } +.search .content .button, .error-404 .content .button { + margin-left: 10px; + } + +/* Page templates */ +.page-template-authors .author-name, .page-template-page-authors .author-name { + margin: 0; + font-size: 14px; + font-weight: bold; + } + +/* Navigation links */ +.navigation-attachment { + overflow: hidden; + height: 100%; + margin: 0 20px 20px 20px; + } +.navigation-links { + overflow: hidden; + height: 100%; + padding: 10px 0 0 0; + font: 14px/22px georgia, times, 'times new roman', serif; + font-weight: bold; + color: #000; + background: #d7f1ff; + } +.archive .navigation-links, .search .navigation-links { + padding-top: 70px; + background: #d7f1ff url(images/content-inside.gif) repeat-x right top; + } +.navigation-links a { + color: #000; + } +.navigation-links .previous { + float: left; + max-width: 49%; + margin-left: 1%; + } +.navigation-links .next { + float: right; + max-width: 49%; + margin-right: 1%; + text-align: right; + } +.navigation-links .previous { + padding-left: 15px; + } +.navigation-links a .previous { + background-position: 0 5px; + } +.navigation-links .next { + padding-right: 15px; + } +.navigation-links a .next { + background-position: right 5px; + } + +/* Navigation attachment */ +.navigation-attachment { + overflow: hidden; + } + +/* WP PageNavi */ +.wp-pagenavi { + overflow: hidden; + text-align: center; + padding: 20px 15px 10px 15px; + color: #88bfdd; + background: #d7f1ff; + } +.archive .wp-pagenavi, .search .wp-pagenavi { + padding-top: 70px; + background: #d7f1ff url(images/content-inside.gif) repeat-x right top; + } +.wp-pagenavi .pages, .wp-pagenavi .current, .wp-pagenavi a, .wp-pagenavi .extend { + color: #88bfdd !important; + padding: 10px !important; + background: #09415F !important; + border: none !important; + } +.wp-pagenavi a { + font-style: italic !important; + color: #fff !important; + } + +/** +* Primary and secondary widgets (sidebar) +************************************************/ +#primary, #secondary { + overflow: hidden; + float: right; + width: 300px; + margin: 0; + color: #88bfdd; + font: 12px verdana, arial, sans-serif; + } +#secondary { + clear: right; + } +#primary .widget, #secondary .widget { + overflow: hidden; + height: 100%; + margin: 0 0 20px 0; + background: #09415f url(images/widget.gif) repeat-x 0 bottom; + border-top: 5px solid #042b40; + } +#primary .widget-inside, #secondary .widget-inside { + overflow: hidden; + height: 100%; + padding: 15px 20px 20px 20px; + background: transparent url(images/content.gif) repeat-x 0 0; + } +#primary .widget-title, #secondary .widget-title { + font: 18px arial, verdana, sans-serif; + font-weight: bold; + color: #fec002; + margin-bottom: 35px; + } +#primary .widget a, #secondary .widget a { + font-family: verdana, arial, sans-serif; + font-weight: bold; + color: #fff; + } +#primary .widget ul, #secondary .widget ul { + list-style: none; + margin-left: 0; + } +#primary .widget ul ul, #secondary .widget ul ul { + margin: 10px 0 0 0; + } +#primary .widget ul li, #secondary .widget ul li { + overflow: hidden; + height: 100%; + padding: 0 0 15px 10px; + margin-bottom: 15px; + background: url(images/orange-bullet.gif) no-repeat 0 4px; + border-bottom: 1px solid #0b5177; + } +#primary .widget ul li li, #secondary .widget ul li li { + margin: 0; + padding: 6px 5px 5px 10px; + background: url(images/orange-bullet.gif) no-repeat 0 10px; + border: none; + } + +/* Content widgets */ +.content .widget { + overflow: hidden; + margin: 0 0 20px 0; + background: #09415f url(images/content-inside.gif) repeat-x right bottom; + border-top: 5px solid #042b40; + } +.content .widget-title { + font: 18px arial, verdana, sans-serif; + font-weight: bold; + color: #fec002; + margin-bottom: 35px; + } +.content .widget-inside { + overflow: hidden; + padding: 15px 20px 20px 20px; + background: transparent url(images/content.gif) repeat-x right 0; + } +.archive #utility-after-content .widget, .search #utility-after-content .widget, +.archive #utility-after-content .widget-inside, .search #utility-after-content .widget-inside { + background: #09415f; + border: none; + margin: 0; + } + +/** +* Comments template +************************************************/ +#comments-template { + overflow: hidden; + height: 100%; + margin-bottom: 20px; + font-family: verdana, arial, sans-serif; + color: #ccc; + background: #d7f1ff url(images/comments-bottom.gif) repeat-x right bottom; + } +#comments { + margin-bottom: 20px; + background: #343434 url(images/comments-bottom.gif) repeat-x right bottom; + border-top: 5px solid #222; + } +#comments-number { + padding: 15px 20px 20px 20px; + background: #343434 url(images/comments-top.gif) repeat-x right 0; + } +#respond { + margin: 0 0 30px 0; + background: #343434 url(images/comments-top.gif) repeat-x right 0; + border-top: 5px solid #222; + } +#comments #respond { + margin: 0; + background: #343434; + border: none; + } +#comments .comment-list { + overflow: hidden; + list-style: none; + height: 100%; + margin: 0; + padding: 0 20px 30px 20px; + } +.comment-list ol { + list-style: none; + margin: 0 10px; + } +#comments li { + overflow: hidden; + height: 100%; + clear: left; + margin-bottom: 10px; + padding: 10px; + background: #414141; + } +#comments li li, #comments li li li li { + padding: 10px; + background: #343434; + } +#comments li li li, #comments li li li li li { + padding: 10px; + background: #484848; + } + +/* Comment text */ +#comments-template .comment-text { + clear: left; + overflow: hidden; + height: 100%; + padding: 0 10px; + } +#comments-template li blockquote { + color: #eee; + background: url(images/blockquote-comments.gif) no-repeat 0 0; + } +#comments-template a { + color: #fff; + } + +/* Avatar */ +#comments-template .avatar { + float: left; + width: 50px; + height: 50px; + margin: 2px 15px 5px 0; + border: 5px solid #292929; + } + +/* Comment metadata */ +.comment-meta { + margin-top: 15px; + font-family: arial, verdana, sans-serif; + font-style: italic; + } +.comment-time { + padding-left: 15px; + background: url(images/bullet.gif) no-repeat 0 4px; + } + +.comments-closed { + display: none; + } + +/* Comment form */ +#reply, #comments-number { + font: 1.3em arial, verdana, sans-serif; + font-weight: bold; + color: #fff; + } +#reply { + margin: 15px 20px; + } +#comments #reply { + margin-left: 0; + } +#respond form { + overflow: hidden; + height: 100%; + padding: 20px; + } +#comments #respond form, #comments ol #respond, #comments ol ol ol #respond { + padding: 0; + } +#comments ol ol #respond, #comments ol ol ol ol #respond { + padding: 10px 20px; + } +#respond p.logged-in { + position: relative; + z-index: 2; + } +#respond .form-author, #respond .form-email, #respond .form-url, #respond .logged-in-out { + position: relative; + z-index: 2; + margin-bottom: 10px; + } +#respond .logged-in-out { + overflow: hidden; + float: left; + } +#respond .form-author label, #respond .form-email label, #respond .form-url label { + overflow: hidden; + float: left; + width: 60px; + margin-right: 10px; + padding: 5px 10px; + background: #2a2a2a; + } +#respond .text-input { + width: 210px; + margin: 0; + padding: 9px 5px; + font-weight: bold; + color: #fff; + background: #2a2a2a; + border: none; + } +#respond .text-input:focus { + color: #333; + background: #f7f7f7; + } +#respond .form-textarea { + position: relative; + top: -24px; + margin-bottom: -15px; + padding: 0; + z-index: 0; + overflow: hidden; + height: 200px; + padding-top: 35px; + background: #222 url(images/textarea.gif) no-repeat 0 0; + } +#respond .form-textarea label { + display: none; + } +#respond textarea { + margin: 0; + padding: 5px; + width: 570px; + height: 190px; + font: 12px verdana, arial, sans-serif; + font-weight: bold; + color: #ccc; + background: transparent; + border: none; + } +#respond textarea:focus { + color: #333; + background: #f7f7f7; + } +#respond .button { + margin-right: 15px; + padding: 7px 35px; + font: 12px/22px verdana, arial, sans-serif; + font-weight: bold; + color: #fff; + background: #2a2a2a; + border: none; + } + +/* Paged comments */ +#comments-template .paged-navigation { + overflow: hidden; + height: 100%; + text-align: center; + padding-bottom: 30px; + } +#comments-template .paged-navigation .page-numbers { + margin: 0 2px; + padding: 3px 6px; + font-style: italic !important; + background: #414141; + } +#comments-template .paged-navigation .next, #comments-template .paged-navigation .prev { + float: none; + margin: 0 2px; + text-align: left; + } + +/** +* Subsidiary widgets (footer) +************************************************/ +#subsidiary { + overflow: hidden; + height: 100%; + margin: 20px; + padding-top: 20px; + font-family: arial, verdana, sans-serif; + color: #333; + background: #f9f9f9 url(images/sidebar-footer.gif) repeat-x 0 0; + border-top: 5px solid #bbb; + } +#subsidiary .widget { + overflow: hidden; + height: 100%; + float: left; + width: 210px; + padding-left: 20px; + } +#subsidiary .widget-title { + padding-bottom: 5px; + margin: 0; + font: 16px arial, verdana, sans-serif; + font-weight: bold; + border-bottom: 1px solid #ccc; + } +#subsidiary a { + color: #116d9f; + } +#subsidiary ul { + list-style: none; + margin-left: 0; + } +#subsidiary li { + overflow: hidden; + height: 100%; + padding: 3px 10px; + background: url(images/gray-bullet.gif) no-repeat 0 10px; + border-bottom: 1px solid #ccc; + } +#subsidiary li li { + padding: 0 10px; + background: url(images/gray-bullet.gif) no-repeat 0 7px; + border: none; + } + +/** +* Footer +************************************************/ +#footer-container { + clear: both; + float: left; + overflow: hidden; + width: 980px; + height: 100%; + margin-top: 20px; + background: #f9f9f9; + border-top: 1px solid #c5e4f4; + } +#footer { + overflow: hidden; + height: 100%; + margin-bottom: 1px; + padding: 20px 20px 0 20px; + font-family: arial, verdana, sans-serif; + background: #fff; + border-top: 1px solid #eee; + border-bottom: 1px solid #eee; + } +#footer a { + color: #666; + } +#footer .copyright { + width: 50%; + float: left; + font-weight: bold; + } +#footer .credit { + width: 50%; + float: right; + font-weight: bold; + text-align: right; + } \ No newline at end of file diff --git a/wp-content/themes/old-school/tabs.css b/wp-content/themes/old-school/tabs.css new file mode 100644 index 0000000000000000000000000000000000000000..f3ad5cfc952e3bcdf6d15d1df992125b6ab9a397 --- /dev/null +++ b/wp-content/themes/old-school/tabs.css @@ -0,0 +1,118 @@ +/** +* Primary widget tabs +************************************************/ +#primary .widget-tabs { + padding: 0 !important; + } +#primary .widget-tabs .widget-inside { + padding: 0; + } +#primary .widget-tabs ul.tabs { + overflow: hidden; + list-style: none; + width: 300px; + margin: 0 0 20px 0; + } +#primary .widget-tabs li.t { + display: inline; + margin: 0; + padding: 0; + float: left; + width: 100px; + background: transparent; + border: none; + text-align: center; + } +#primary .widget-tabs li.t a { + display: block; + font: 18px arial, verdana, sans-serif; + font-weight: bold; + padding: 12px 0 20px 0; + } +#primary .widget-tabs li.t a.tab-current { + color: #fec002 !important; + background: #09415f; + } +#primary .widget-tabs .tab-content { + clear: left; + overflow: hidden; + height: 100%; + margin: 0 20px 20px 20px; + } +/** +* Secondary widget tabs +************************************************/ +#secondary .widget-tabs ul.tabs { + overflow: hidden; + list-style: none; + margin: 0; + border-bottom: 1px solid #ccc; + } +#secondary .widget-tabs li.t { + display: inline; + margin: 0 10px 0 0; + padding: 0; + float: left; + background: transparent; + border: none; + } +#secondary .widget-tabs li.t a { + display: block; + padding-bottom: 5px; + margin: 0; + font: 16px arial, verdana, sans-serif; + font-weight: bold; + color: #bbb; + } +#secondary .widget-tabs li.t a.tab-current { + color: #333; + } +#secondary .widget-tabs .tab-content { + clear: left; + overflow: hidden; + height: 100%; + } + +/** +* Widgets template widget tabs +************************************************/ +#content .widget-tabs { + overflow: hidden; + height: 100%; + padding: 0 !important; + background: transparent url(images/content.gif) repeat-x right 0; + border-top: 5px solid #042b40; + } +#content .widget-tabs .widget-inside { + margin: 0; + padding: 0 !important; + } +#content .widget-tabs ul.tabs { + overflow: hidden; + list-style: none; + margin: 0 0 20px 0; + } +#content .widget-tabs ul.tabs li.t { + display: inline; + margin: 0 10px 0 0; + padding: 0; + float: left; + background: transparent; + border: none; + } +#content .widget-tabs ul.tabs li.t a, #content .widget-tabs ul.tabs li.t a:hover { + display: block; + font: 18px arial, verdana, sans-serif; + font-weight: bold; + padding: 15px 15px 20px 15px; + } +#content .widget-tabs ul.tabs li.t a.tab-current { + color: #fec002 !important; + background: #09415f; + } +#content .widget-tabs .tab-content { + overflow: hidden; + clear: left; + height: 100%; + margin: 0 20px 10px 20px; + } \ No newline at end of file