Make WordPress Core

Changeset 18060


Ignore:
Timestamp:
05/27/2011 01:04:05 AM (14 years ago)
Author:
iandstewart
Message:

Twenty Eleven: Improvements to the responsive layout

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-content/themes/twentyeleven/style.css

    r18057 r18060  
    476476}
    477477#site-title {
     478    margin-right: 270px;
    478479    padding: 3.65625em 0 0;
    479480}
     
    493494    color: #7a7a7a;
    494495    font-size: 14px;
    495     margin: 0 0 3.65625em;
     496    margin: 0 270px 3.65625em 0;
    496497}
    497498#branding img {
     
    609610    -moz-transition-property: width, background;
    610611    -moz-transition-timing-function: ease;
    611     width: 26%;
     612    width: 45px;
    612613}
    613614#branding #s:focus {
    614615    background-color: #f9f9f9;
    615     width: 114%;
     616    width: 196px;
    616617}
    617618#branding #searchsubmit {
     
    21422143        padding: 20px 8.8%;
    21432144    }
     2145    .page-link {
     2146        margin: 1.625em 0;
     2147    }
    21442148    /* Make sure we have room for our comment avatars */
    21452149    .commentlist > li.comment,
     
    21712175}
    21722176@media (max-width: 650px) {
     2177    /* Reposition the site title and description slightly */
     2178    #site-title {
     2179        padding: 5.30625em 0 0;
     2180    }
     2181    #site-title,
     2182    #site-description {
     2183        margin-right: 0;
     2184    }
    21732185    /* Make sure the logo and search form don't collide */
    21742186    #branding #searchform {
    2175         right: 1px;
    2176         top: 0;
     2187        top: 1.625em !important;
    21772188    }
    21782189    /* Make sure the post-post navigation doesn't collide with anything */
     
    21982209        position: absolute;
    21992210        top: 2.2em;
     2211    }
     2212    /* Use the available space in the smaller comment form */
     2213    #respond input[type="text"] {
     2214        width: 95%;
     2215    }
     2216    #respond .comment-form-author .required,
     2217    #respond .comment-form-email .required {
     2218        left: 95%;
    22002219    }
    22012220}
Note: See TracChangeset for help on using the changeset viewer.