diff --git a/wp-content/themes/noblogs-home/header.php b/wp-content/themes/noblogs-home/header.php new file mode 100644 index 0000000000000000000000000000000000000000..45d5f9d1b8ba968e832dce0bb52ef4906c980553 --- /dev/null +++ b/wp-content/themes/noblogs-home/header.php @@ -0,0 +1,79 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> + +<html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>> + <head profile="http://gmpg.org/xfn/11"> + <meta http-equiv="Content-Type" content="<?php bloginfo( 'html_type' ) ?>; charset=<?php bloginfo( 'charset' ) ?>" /> + <title><?php wp_title( '|', true, 'right' ); bloginfo( 'name' ); ?></title> + + <?php do_action( 'bp_head' ) ?> + + <link rel="pingback" href="<?php bloginfo( 'pingback_url' ) ?>" /> + + <?php + if ( is_singular() && bp_is_blog_page() && get_option( 'thread_comments' ) ) + wp_enqueue_script( 'comment-reply' ); + + wp_head(); + ?> + </head> + + <body <?php body_class() ?> id="bp-default"> + + <?php do_action( 'bp_before_header' ) ?> + + <div id="header"> + + <h1 id="logo"><a href="<?php echo site_url() ?>" title="<?php _e( 'Home', 'buddypress' ) ?>">Information disorder was not enough</a></h1> + + <ul id="nav"> + <li<?php if ( bp_is_front_page() ) : ?> class="selected"<?php endif; ?>> + <a href="<?php echo site_url() ?>" title="<?php _e( 'Home', 'buddypress' ) ?>"><?php _e( 'Home', 'buddypress' ) ?></a> + </li> + + <?php if ( 'activity' != bp_dtheme_page_on_front() && bp_is_active( 'activity' ) ) : ?> + <li<?php if ( bp_is_page( BP_ACTIVITY_SLUG ) ) : ?> class="selected"<?php endif; ?>> + <a href="<?php echo site_url() ?>/<?php echo BP_ACTIVITY_SLUG ?>/" title="<?php _e( 'Activity', 'buddypress' ) ?>"><?php _e( 'Activity', 'buddypress' ) ?></a> + </li> + <?php endif; ?> + + <li<?php if ( bp_is_page( BP_MEMBERS_SLUG ) || bp_is_member() ) : ?> class="selected"<?php endif; ?>> + <a href="<?php echo site_url() ?>/<?php echo BP_MEMBERS_SLUG ?>/" title="<?php _e( 'Members', 'buddypress' ) ?>"><?php _e( 'People', 'buddypress' ) ?></a> + </li> + + <?php if ( bp_is_active( 'groups' ) ) : ?> + <li<?php if ( bp_is_page( BP_GROUPS_SLUG ) || bp_is_group() ) : ?> class="selected"<?php endif; ?>> + <a href="<?php echo site_url() ?>/<?php echo BP_GROUPS_SLUG ?>/" title="<?php _e( 'Groups', 'buddypress' ) ?>"><?php _e( 'Groups', 'buddypress' ) ?></a> + </li> + + <?php if ( bp_is_active( 'forums' ) && ( function_exists( 'bp_forums_is_installed_correctly' ) && !(int) bp_get_option( 'bp-disable-forum-directory' ) ) && bp_forums_is_installed_correctly() ) : ?> + <li<?php if ( bp_is_page( BP_FORUMS_SLUG ) ) : ?> class="selected"<?php endif; ?>> + <a href="<?php echo site_url() ?>/<?php echo BP_FORUMS_SLUG ?>/" title="<?php _e( 'Forums', 'buddypress' ) ?>"><?php _e( 'Forums', 'buddypress' ) ?></a> + </li> + <?php endif; ?> + <?php endif; ?> + + <?php if ( bp_is_active( 'blogs' ) && bp_core_is_multisite() ) : ?> + <li<?php if ( bp_is_page( BP_BLOGS_SLUG ) ) : ?> class="selected"<?php endif; ?>> + <a href="<?php echo site_url() ?>/<?php echo BP_BLOGS_SLUG ?>/" title="<?php _e( 'Blogs', 'buddypress' ) ?>"><?php _e( 'Blogs', 'buddypress' ) ?></a> + </li> + <?php endif; ?> + + <!--<?php wp_list_pages( 'title_li=&depth=1&exclude=' . bp_dtheme_page_on_front() ); ?> --> + + <?php do_action( 'bp_nav_items' ); ?> + </ul> <!-- #nav --> + + <div id="search-bar"> + <div class="padder"> + <?php echo "<p align='right' style='color:black;'><i>“The environment is so full of television, party political broadcasts and<br /> advertising campaigns that you hardly need to do anything.”</i> (JG Ballard)</p>" ; ?> + </div><!-- .padder --> + </div> <!-- #search-bar --> + + <?php do_action( 'bp_header' ) ?> + + </div><!-- #header --> + + <?php do_action( 'bp_after_header' ) ?> + <?php do_action( 'bp_before_container' ) ?> + + <div id="container"> diff --git a/wp-content/themes/noblogs-home/images/noblogs-bp1.png b/wp-content/themes/noblogs-home/images/noblogs-bp1.png new file mode 100644 index 0000000000000000000000000000000000000000..647b3a1ac5f22bb1596fc7329413cc9bd6fa5f4f Binary files /dev/null and b/wp-content/themes/noblogs-home/images/noblogs-bp1.png differ diff --git a/wp-content/themes/noblogs-home/images/sidebar_back.gif b/wp-content/themes/noblogs-home/images/sidebar_back.gif new file mode 100644 index 0000000000000000000000000000000000000000..0a0142d101f829fcc906702badbe7a519d806704 Binary files /dev/null and b/wp-content/themes/noblogs-home/images/sidebar_back.gif differ diff --git a/wp-content/themes/noblogs-home/style.css b/wp-content/themes/noblogs-home/style.css index 439a7047e2262b646f332d9ff6bd8795331e4766..dc25c8c74ed4685e5458aea3def6c295ddbfb87c 100644 --- a/wp-content/themes/noblogs-home/style.css +++ b/wp-content/themes/noblogs-home/style.css @@ -10,12 +10,24 @@ Tags: buddypress, two-column, grey, dark */ -/* Inherit the default theme styles */ +/* Inherit the default theme styles @import url( ../../plugins/buddypress/bp-themes/bp-default/_inc/css/default.css ); -/* Inherit the default theme adminbar styles */ -@import url( ../../plugins/buddypress/bp-themes/bp-default/_inc/css/adminbar.css ); + Inherit the default theme adminbar styles +@import url( ../../plugins/buddypress/bp-themes/bp-default/_inc/css/adminbar.css );*/ +h1 { font-size: 28px; margin-bottom: 25px; } +h2 { font-size: 24px; margin-bottom: 20px; } +h3 { font-size: 20px; } +h4 { font-size: 16px; margin-bottom: 15px; } +h5 { font-size: 14px; margin-bottom: 0; } +h6 { font-size: 12px; margin-bottom: 0; } + +a { color: #000; text-decoration: none; } +a:hover { color: #ff0000; } +a:active { color: #888; } +a:focus { outline: 1px dotted #ccc; } + #noblogs_about { height: 200px; background: url(/wp-content/themes/noblogs-home/images/animation.gif) no-repeat; @@ -40,3 +52,45 @@ Tags: buddypress, two-column, grey, dark color: #666; vertical-align: bottom; } + +#header { + background-image: url(images/noblogs-bp1.png); +} +#header h1 a, #desc { + color:#FFFFFF; +} +div#container { + position: relative; + width: 100%; + -moz-border-radius: 6px; + -webkit-border-radius: 6px; + border-right: 1px solid #e0e0e0; + border-bottom: 1px solid #e0e0e0; + background: #fff; + overflow: hidden; +} + body.activity-permalink div#container { + background: none; + border: none; + } + +div#content .padder { + margin-right: 225px; + border-right: 1px solid #ddd; + -moz-border-radius-topleft: 6px; + -webkit-border-top-left-radius: 6px; + -moz-border-radius-bottomleft: 6px; + -webkit-border-bottom-left-radius: 6px; +} + +div#sidebar { + float: left; + width: 224px; + margin-left: -226px; + margin-top: 1px; + border-left: 1px solid #ddd; + -moz-border-radius-topright: 3px; + -webkit-border-top-right-radius: 3px; + background: url( images/sidebar_back.gif ) top left repeat-x; +} +