WordPress.org

Make WordPress Core

Changeset 17845


Ignore:
Timestamp:
05/09/2011 10:08:05 PM (9 years ago)
Author:
lancewillett
Message:

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
Location:
trunk/wp-content/themes/twentyeleven
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-content/themes/twentyeleven/content-aside.php

    r17788 r17845  
    1515            <hgroup>
    1616                <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>
    17                 <h2 class="entry-format">Aside</h2>
     17                <h2 class="entry-format"><?php _e( 'Aside', 'twentyeleven' ); ?></h2>
    1818            </hgroup>
    1919
  • trunk/wp-content/themes/twentyeleven/content-gallery.php

    r17791 r17845  
    1515        <hgroup>
    1616            <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>
    17             <h2 class="entry-format">Gallery</h2>
     17            <h2 class="entry-format"><?php _e( 'Gallery', 'twentyeleven' ); ?></h2>
    1818        </hgroup>
    1919
  • trunk/wp-content/themes/twentyeleven/content-image.php

    r17791 r17845  
    1515            <hgroup>
    1616                <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>
    17                 <h2 class="entry-format">Image</h2>
     17                <h2 class="entry-format"><?php _e( 'Image', 'twentyeleven' ); ?></h2>
    1818            </hgroup>
    1919
  • trunk/wp-content/themes/twentyeleven/content-link.php

    r17788 r17845  
    1515            <hgroup>
    1616                <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>
    17                 <h2 class="entry-format">Link</h2>
     17                <h2 class="entry-format"><?php _e( 'Link', 'twentyeleven' ); ?></h2>
    1818            </hgroup>
    1919
  • trunk/wp-content/themes/twentyeleven/content-quote.php

    r17791 r17845  
    1313            <hgroup>
    1414                <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>
    15                 <h2 class="entry-format">Quote</h2>
     15                <h2 class="entry-format"><?php _e( 'Quote', 'twentyeleven' ); ?></h2>
    1616            </hgroup>
    1717
  • trunk/wp-content/themes/twentyeleven/content-status.php

    r17788 r17845  
    1414            <hgroup>
    1515                <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>
    16                 <h2 class="entry-format">Status</h2>
     16                <h2 class="entry-format"><?php _e( 'Status', 'twentyeleven' ); ?></h2>
    1717            </hgroup>
    1818
  • trunk/wp-content/themes/twentyeleven/style.css

    r17830 r17845  
    618618    color: #222;
    619619}
     620#branding .only-search #s,
     621#branding .only-search #s:focus {
     622    width: 85%;
     623}
    620624#branding .only-search #s:focus {
    621625    background-color: #bbb;
     
    624628    top: auto;
    625629    bottom: -27px;
     630}
     631#branding .only-search + #access div {
     632    padding-right: 160px;
    626633}
    627634
     
    10341041.format-image footer.entry-meta {
    10351042    background: #e0e6e8;
    1036     margin-right: 2px;
    10371043    margin-top: -6px;
    10381044    padding: 20px 30px;
Note: See TracChangeset for help on using the changeset viewer.