Making WordPress.org


Ignore:
Timestamp:
03/10/2017 03:13:53 AM (8 years ago)
Author:
SergeyBiryukov
Message:

Support Theme: Make single page template consistent with the rest of the forums.

Fixes #2574.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-support/sass/site/_site.scss

    r5041 r5139  
    77
    88main#main {
    9     padding: 0 1rem 1rem;
     9    margin-top: 2rem;
     10    padding: 0 10px 10px;
     11    font-size: ms(-2);
     12
     13    @extend .clear;
     14
     15    .entry-content,
     16    .entry-meta {
     17        padding: 0;
     18
     19        @media(min-width:568px) {
     20            padding: 0 ms(4);
     21        }
     22    }
     23
     24    > .entry-content {
     25        max-width: 48rem;
     26
     27        @media screen and ( min-width: $ms-breakpoint ) {
     28            float: left;
     29            padding: 0;
     30            width: 65%;
     31        }
     32    }
     33
     34    @media screen and ( min-width: $ms-breakpoint ) {
     35        .entry-content,
     36        .entry-meta {
     37            padding-left: 0;
     38            padding-right: 0;
     39        }
     40
     41        .entry-meta {
     42            float: right;
     43            width: 30%;
     44        }
     45    }
    1046}
    1147
Note: See TracChangeset for help on using the changeset viewer.