Skip to content

Commit

Permalink
updated header to include a #brand div in place of the hgroup
Browse files Browse the repository at this point in the history
  • Loading branch information
alliswell committed Dec 31, 2012
1 parent 6a2887c commit 25751fb
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 8 deletions.
4 changes: 2 additions & 2 deletions dev/style.less
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ header {
float: right;
}

hgroup {
#brand {
float: left;
width: 80%;
margin-top: 22px;
Expand Down Expand Up @@ -281,7 +281,7 @@ header {

}// h1

}// hgroup
}// #brand

nav {
float: left;
Expand Down
6 changes: 4 additions & 2 deletions index.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,10 @@
echo get_avatar( $admin_email, 100 );
?>
</div><!--/ author -->

<h1 class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a> &mdash; <span><?php echo get_bloginfo( 'description' ); ?></span></h1>

<div id="brand">
<h1 class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a> &mdash; <span><?php echo get_bloginfo( 'description' ); ?></span></h1>
</div><!-- /brand -->

<nav role="navigation" class="site-navigation main-navigation">
<?php wp_nav_menu( array( 'theme_location' => 'primary' ) ); ?>
Expand Down
8 changes: 4 additions & 4 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -478,12 +478,12 @@ header .gravatar {
margin: 0;
float: right;
}
header hgroup {
header #brand {
float: left;
width: 80%;
margin-top: 22px;
}
header hgroup h1 {
header #brand h1 {
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-weight: 900;
color: #565656;
Expand All @@ -494,11 +494,11 @@ header hgroup h1 {
padding: 0;
text-transform: uppercase;
}
header hgroup h1 a {
header #brand h1 a {
color: #565656;
text-decoration: none;
}
header hgroup h1 span {
header #brand h1 span {
font-weight: 200;
color: #888888;
text-transform: lowercase;
Expand Down

0 comments on commit 25751fb

Please sign in to comment.