WordPress.org

Making WordPress.org


Ignore:
Timestamp:
09/27/2017 09:27:52 PM (2 years ago)
Author:
obenland
Message:

Main: Improve mobile styles for blog

Includes a clever way to avoid having the posts navigation wrap on two lines.

See #2861.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg/css/components/_site-content.scss

    r5945 r5969  
    11.site-content {
    22    margin: 0 auto;
    3     max-width: 960px;
     3    max-width: $size__site-main;
     4    padding: 0 ms( 4 );
    45
    56    @media screen and (min-width: $ms-breakpoint) {
    67        padding: 0 10px ms( 10 );
     8    }
     9
     10    @media screen and (max-width: $ms-breakpoint) {
     11        .site-main {
     12            float: none;
     13            margin: 0;
     14            width: auto;
     15        }
    716    }
    817
Note: See TracChangeset for help on using the changeset viewer.