Making WordPress.org


Ignore:
Timestamp:
06/04/2021 07:18:50 PM (5 years ago)
Author:
ryelle
Message:

Pattern Directory: Sync with git WordPress/pattern-directory@53b4aed1b62b05f8c61798ddc55ea0e02e1c765d

File:
1 edited

Legend:

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

    r10983 r11008  
    1111        }
    1212
    13         .entry-header {
     13        .entry-header,
     14        .pattern-actions__container,
     15        .pattern__meta {
    1416                max-width: $size__site-main;
    1517                padding: 1.5rem;
     
    1820
    1921                @media only screen and (min-width: $breakpoint-large) {
    20                         padding: 1.5rem 0;
     22                        padding-left: 0;
     23                        padding-right: 0;
    2124                }
     25        }
     26
     27        .entry-header {
     28                padding-top: 2.625rem;
     29                padding-bottom: 1.875rem;
    2230
    2331                .entry-title {
    2432                        margin-top: 0;
    2533                        line-height: 1.2;
     34                        font-weight: 600;
    2635                }
    2736        }
    2837
     38        .pattern__categories a {
     39                display: inline-block;
     40                margin-right: 1rem;
     41
     42                &:last-of-type {
     43                        margin-right: 0;
     44                }
     45        }
     46
     47        .pattern__categories-label {
     48                margin-right: 1rem;
     49                font-weight: 600;
     50                font-size: 0.75rem;
     51                line-height: 1.3333;
     52                text-transform: uppercase;
     53        }
     54
    2955        .pattern-actions {
     56                padding: 0 1.5rem 2rem;
     57                background: $color-white;
     58
     59                button {
     60                        margin: 0;
     61                }
     62
     63                @media only screen and (min-width: $breakpoint-large) {
     64                        padding-left: 0;
     65                        padding-right: 0;
     66                }
     67        }
     68
     69        .pattern-actions__container {
     70                padding: 0;
    3071                display: flex;
    3172                justify-content: flex-start;
     
    3374                flex-wrap: wrap;
    3475                gap: 0.5em 2em;
    35 
    36                 button {
    37                         margin: 0;
    38                 }
    3976
    4077                @media (max-width: $breakpoint-mobile) {
     
    106143
    107144        .pattern__meta {
    108                 padding: 2rem 0;
    109                 background: $color-gray-light-200;
    110 
    111                 > div {
    112                         max-width: $size__site-main;
    113                         margin-left: auto;
    114                         margin-right: auto;
    115                         display: flex;
    116                         justify-content: space-between;
    117                 }
    118 
    119                 .pattern-preview__report {
    120                         text-align: right;
    121                 }
     145                display: flex;
     146                justify-content: flex-end;
    122147        }
    123 
    124148}
Note: See TracChangeset for help on using the changeset viewer.