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.

Location:
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/client/styles/base
Files:
1 added
1 copied

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/client/styles/base/_headings.scss

    r6230 r6231  
    1 @import "../variables-site/variables-site";
    2 @import "../mixins/mixins-master";
    3 
    4 h1, h2, h3, h4, h5, h6 {
    5         clear: both;
    6 
    7         // Override wp4.css.
    8         font-family: inherit;
    9         line-height: $font__line-height-body;
    10         margin: 2rem 0 1rem;
    11 }
    12 
    13 h1 {
    14         font-size: ms( 12 );
    15         font-weight: 300;
    16 }
    17 
    181h1.title {
    192        font-size: ms( -2 );
     
    236        text-transform: uppercase;
    247}
    25 
    26 h2 {
    27         font-size: ms( 8 );
    28         font-weight: 300;
    29 }
    30 
    31 h3 {
    32         font-size: ms( 4 );
    33         font-weight: 400;
    34 }
    35 
    36 h4 {
    37         font-size: ms( 2 );
    38 
    39         // Override wp4.css.
    40         border: none;
    41         color: $color__text-main;
    42         font-weight: 600;
    43         padding: 0;
    44 }
    45 
    46 h5 {
    47         font-size: ms( 0 );
    48         font-weight: 600;
    49         letter-spacing: 0.01rem;
    50         text-transform: uppercase;
    51 }
    52 
    53 h6 {
    54         font-size: ms( -2 );
    55         font-weight: 600;
    56         letter-spacing: 0.8px;
    57         text-transform: uppercase;
    58 }
Note: See TracChangeset for help on using the changeset viewer.