Making WordPress.org


Ignore:
Timestamp:
06/19/2016 10:47:04 AM (9 years ago)
Author:
obenland
Message:

Plugin Directory: Show plugin banner in full width on small screens.

See #1719.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/sass/site/primary/_plugin-single.scss

    r3454 r3459  
    1717        vertical-align: middle;
    1818        width: 100%;
    19     }
    20 
    21     .plugin-banner + .plugin-header {
    22         padding-top: 0;
     19
     20        @media screen and ( min-width: 60em ) {
     21            margin-top: ms(4);
     22        }
    2323    }
    2424
     
    2626        @extend .clear;
    2727        border-bottom: 2px solid #eee;
    28         padding-bottom: ms(1);
     28        padding: ms(1) ms(4);
    2929
    3030        .plugin-thumbnail {
     
    6363    }
    6464
     65    .plugin-banner + .plugin-header {
     66        padding-top: 0;
     67    }
     68
     69    .entry-content,
     70    .entry-meta {
     71        padding: 0 ms(4);
     72    }
     73
    6574    .entry-content {
    6675        max-width: 768px;
     
    256265
    257266    @media screen and ( min-width: $ms-breakpoint ) {
     267        .plugin-header,
     268        .entry-content,
     269        .entry-meta {
     270            padding-left: 0;
     271            padding-right: 0;
     272        }
     273
    258274        .entry-meta {
    259275            float: right;
Note: See TracChangeset for help on using the changeset viewer.