Making WordPress.org


Ignore:
Timestamp:
06/17/2016 06:47:28 PM (9 years ago)
Author:
obenland
Message:

Plugin Directory: More accurate styles for about pages.

See #1719.

File:
1 edited

Legend:

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

    r3398 r3419  
    22
    33.page {
    4     .type-page {
    5         margin: 0 auto;
    6         max-width: ms(32);
    7         padding: 0 2rem;
     4    .entry-header {
     5        margin-top: 32px;
     6        margin-top: 2rem;
     7
     8        .entry-title {
     9            @include font-size(ms-unitless(ms(4)));
     10            font-weight: 400;
     11            margin: 0 auto;
     12            max-width: ms(32);
     13            padding: 0 32px;
     14            padding: 0 2rem;
     15        }
    816    }
    917
    10     h1 {
    11         @include font-size( ms-unitless( ms(4) ) );
    12         font-weight: 400;
    13     }
    1418
    15     h2 {
    16         @include font-size( ms-unitless( ms(0) ) );
    17         font-weight: 600;
    18         letter-spacing: 0.01rem;
    19         text-transform: uppercase;
    20     }
     19    .entry-content {
     20        h2 {
     21            @include font-size(ms-unitless(ms(4)));
     22            font-weight: 400;
     23        }
    2124
    22     hr {
    23         margin-left: -6.5rem;
    24         margin-right: -6.5rem;
     25        h3 {
     26            @include font-size(ms-unitless(ms(0)));
     27            font-weight: 600;
     28            letter-spacing: 0.01rem;
     29            text-transform: uppercase;
     30        }
     31
     32        section {
     33            padding: 32px 0;
     34            padding: 2rem 0;
     35
     36            .container {
     37                margin: 0 auto;
     38                max-width: ms(32);
     39                padding: 0 32px;
     40                padding: 0 2rem;
     41            }
     42
     43            &:first-of-type {
     44                padding-top: 0;
     45            }
     46
     47            & + section {
     48                border-top: 2px solid $color__background-hr;
     49            }
     50        }
    2551    }
    2652}
Note: See TracChangeset for help on using the changeset viewer.