Making WordPress.org


Ignore:
Timestamp:
01/13/2017 07:13:32 PM (10 years ago)
Author:
coffee2code
Message:

developer.wordpress.org: Responsive improvements for the homepage.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/scss/main.scss

    r4659 r4660  
    202202                        }
    203203                }
    204         }
     204                .dashicons {
     205                        vertical-align: text-bottom;
     206                }
     207        }
     208
     209        @media ( min-width: 43em ) and ( max-width: 915px ) {
     210                a.button {
     211                        max-width: 100%;
     212                        padding: .6em 1em;
     213                        font-size: 14px;
     214                        font-size: 1.4rem;
     215                }
     216                .dashicons {
     217                        width: 16px;
     218                        height: 16px;
     219                        font-size: 16px;
     220                }
     221        }
     222
    205223        input[type="checkbox"],
    206224        input[type="radio"] {
    … …  
    562580                                margin: 0 auto;
    563581                        }
     582                        @media ( min-width: 43em ) and ( max-width: 915px ) {
     583                                font-size: 35px;
     584                                font-size: 3.5rem;
     585                        }
    564586                }
    565587
    … …  
    616638                .widget-title {
    617639                        font-weight: 300;
    618                         font-size: 40px;
     640                        font-size: 50px;
    619641                        font-size: 5rem;
    620642                        line-height: 68px;
    … …  
    630652                                width: 6.8rem;
    631653                        }
     654                        @media ( min-width: 43em ) and ( max-width: 915px ) {
     655                                font-size: 35px;
     656                                font-size: 3.5rem;
     657                        }
    632658                }
    633659                .widget-description {
    … …  
    666692                float: left;
    667693                clear: none;
     694                @media ( min-width: 43em ) and ( max-width: 915px ) {
     695                        padding: 30px 20px;
     696                        padding: 3rem 2rem;
     697                }
    668698        }
    669699
    … …  
    926956                width: 31%;
    927957                margin: 1.15%;
     958                @media ( min-width: 43em ) and ( max-width: 915px ) {
     959                        margin: 1% 0;
     960                }
    928961        }
    929962
Note: See TracChangeset for help on using the changeset viewer.