Making WordPress.org


Ignore:
Timestamp:
10/04/2017 06:38:13 PM (7 years ago)
Author:
obenland
Message:

Main: Introduce cube grid to manage small sceens

Adds a comfortable way to manage page structure and widget arrangement on small
screens.

See #2861.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-main/css/objects/_site-header.scss

    r5939 r5998  
    22    .home & {
    33        background: #0073aa;
    4         padding: 18px 36px;
    54
    6         @media (min-width: 737px) {
    7             padding: 1.5625rem
     5        @include breakpoint( $ms-breakpoint ) {
     6            padding: ms( 10 ) ms( 4 );
    87        }
    98
     
    1110            color: #fff;
    1211            display: block;
    13             font-size: ms( 12 );
     12            font-size: ms( 10 );
    1413            font-weight: 300;
    1514            line-height: 1;
    1615            margin: 2rem 0 1rem;
    1716            text-align: center;
     17
     18            @include breakpoint( $ms-breakpoint ) {
     19                font-size: ms( 12 );
     20            }
    1821        }
    1922
Note: See TracChangeset for help on using the changeset viewer.