Making WordPress.org


Ignore:
Timestamp:
12/04/2017 05:42:22 PM (9 years ago)
Author:
obenland
Message:

Plugins: Inherit from WPorg styles.

Short of converting wporg-plugins to a wporg child theme, this combines their styles at least.
This also makes wporg-plugins adopt the ITCSS model.

A product of WCUS' contributor day.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/client/components/page/style.scss

    r5856 r6231  
    33                margin-top: 2rem;
    44
     5                @include breakpoint( $ms-breakpoint ) {
     6                        padding: 0 2rem;
     7                }
     8
    59                .entry-title {
    610                        font-size: ms( 4 );
    711                        font-weight: 400;
    8                         margin: 0 auto;
    9                         max-width: ms(32);
    10 
    11                         @media screen and ( min-width: $ms-breakpoint ) {
    12                                 padding: 0 2rem;
    13                         }
    1412                }
    1513        }
    1614
    1715        .entry-content {
     16                @include breakpoint( $ms-breakpoint ) {
     17                        padding: 0 2rem;
     18                }
     19
    1820                h2 {
    1921                        font-size: ms( 4 );
     
    2830                }
    2931
    30                 a {
    31                         text-decoration: underline;
    32                 }
    33 
    3432                section {
    3533                        padding: 2rem 0;
    36 
    37                         .container {
    38                                 margin: 0 auto;
    39                                 max-width: ms(32);
    40 
    41                                 @media screen and ( min-width: $ms-breakpoint ) {
    42                                         padding: 0 2rem;
    43                                 }
    44                         }
    4534
    4635                        &:first-of-type {
Note: See TracChangeset for help on using the changeset viewer.