Making WordPress.org

Changeset 619


Ignore:
Timestamp:
05/15/2014 06:07:45 PM (9 years ago)
Author:
samuelsidler
Message:

P2 child theme: More responsive styles for handbook. See #467

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-p2/style.css

    r617 r619  
    193193    }
    194194}
     195
    195196@media (max-width: 480px) {
    196197    .post-type-archive-handbook .sleeve_main,
     
    295296        padding-bottom: 0!important;
    296297    }
     298
    297299    .post-type-archive-handbook #sidebar,
    298300    .single-handbook #sidebar {
     
    300302        padding: 5px 0 0 0;
    301303        display: block !important;
     304    }
     305
     306    .post-type-archive-handbook #sidebar ul li,
     307    .single-handbook #sidebar ul li {
     308        padding: 4px 0 10px 0;
     309    }
     310
     311    .post-type-archive-handbook #sidebar ul li ul li,
     312    .single-handbook #sidebar ul li ul li {
     313        padding: 4px 0;
     314    }
     315
     316    .post-type-archive-handbook h2.widgettitle,
     317    .single-handbook h2.widgettitle {
     318        background-color: #267db2; /* #d6d6d6 when collapsed */
     319        color: white; /* #666 when collapsed */
     320    }
     321
     322    .post-type-archive-handbook h2.widgettitle:after,
     323    .single-handbook h2.widgettitle:after {
     324        font-family: "dashicons";
     325        font-size: 2em;
     326        content: "\f140";
     327        position: absolute;
     328        right: 2px;
     329        top: -2px;
    302330    }
    303331}
Note: See TracChangeset for help on using the changeset viewer.