Twenty Eleven fixes, props matveb - see #17198

- Add padding to the menu when the search input is in menu bar
- Improve search input behavior when located in menu bar (also props ocean90)
- i18n for post formats headings (also props nickbohle)
- Small style fix for images

git-svn-id: http://svn.automattic.com/wordpress/trunk@17845 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
lancewillett 2011-05-09 22:08:05 +00:00
parent b4f8a1d0c4
commit c5b106de63
7 changed files with 13 additions and 7 deletions

View File

@ -14,7 +14,7 @@
<header class="entry-header"> <header class="entry-header">
<hgroup> <hgroup>
<h1 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h1> <h1 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h1>
<h2 class="entry-format">Aside</h2> <h2 class="entry-format"><?php _e( 'Aside', 'twentyeleven' ); ?></h2>
</hgroup> </hgroup>
<?php if ( 'post' == $post->post_type ) : ?> <?php if ( 'post' == $post->post_type ) : ?>

View File

@ -14,7 +14,7 @@
<header class="entry-header"> <header class="entry-header">
<hgroup> <hgroup>
<h1 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h1> <h1 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h1>
<h2 class="entry-format">Gallery</h2> <h2 class="entry-format"><?php _e( 'Gallery', 'twentyeleven' ); ?></h2>
</hgroup> </hgroup>
<div class="entry-meta"> <div class="entry-meta">

View File

@ -14,7 +14,7 @@
<header class="entry-header"> <header class="entry-header">
<hgroup> <hgroup>
<h1 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h1> <h1 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h1>
<h2 class="entry-format">Image</h2> <h2 class="entry-format"><?php _e( 'Image', 'twentyeleven' ); ?></h2>
</hgroup> </hgroup>
<?php if ( comments_open() ) : ?> <?php if ( comments_open() ) : ?>

View File

@ -14,7 +14,7 @@
<header class="entry-header"> <header class="entry-header">
<hgroup> <hgroup>
<h1 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h1> <h1 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h1>
<h2 class="entry-format">Link</h2> <h2 class="entry-format"><?php _e( 'Link', 'twentyeleven' ); ?></h2>
</hgroup> </hgroup>
<?php if ( 'post' == $post->post_type ) : ?> <?php if ( 'post' == $post->post_type ) : ?>

View File

@ -12,7 +12,7 @@
<header class="entry-header"> <header class="entry-header">
<hgroup> <hgroup>
<h1 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h1> <h1 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h1>
<h2 class="entry-format">Quote</h2> <h2 class="entry-format"><?php _e( 'Quote', 'twentyeleven' ); ?></h2>
</hgroup> </hgroup>
<?php if ( 'post' == $post->post_type ) : ?> <?php if ( 'post' == $post->post_type ) : ?>

View File

@ -13,7 +13,7 @@
<header class="entry-header"> <header class="entry-header">
<hgroup> <hgroup>
<h1 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h1> <h1 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h1>
<h2 class="entry-format">Status</h2> <h2 class="entry-format"><?php _e( 'Status', 'twentyeleven' ); ?></h2>
</hgroup> </hgroup>
<?php if ( 'post' == $post->post_type ) : ?> <?php if ( 'post' == $post->post_type ) : ?>

View File

@ -617,6 +617,10 @@ a:hover {
border-color: #000; border-color: #000;
color: #222; color: #222;
} }
#branding .only-search #s,
#branding .only-search #s:focus {
width: 85%;
}
#branding .only-search #s:focus { #branding .only-search #s:focus {
background-color: #bbb; background-color: #bbb;
} }
@ -624,6 +628,9 @@ a:hover {
top: auto; top: auto;
bottom: -27px; bottom: -27px;
} }
#branding .only-search + #access div {
padding-right: 160px;
}
/* =Content /* =Content
@ -1033,7 +1040,6 @@ article.format-status .entry-content {
} }
.format-image footer.entry-meta { .format-image footer.entry-meta {
background: #e0e6e8; background: #e0e6e8;
margin-right: 2px;
margin-top: -6px; margin-top: -6px;
padding: 20px 30px; padding: 20px 30px;
overflow: hidden; overflow: hidden;