Making WordPress.org

Changeset 5679


Ignore:
Timestamp:
07/17/2017 06:10:36 PM (9 years ago)
Author:
coffee2code
Message:

developer.wordpress.org: Constrain responsive styles that should only apply when three-columns class is used.

Location:
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer
Files:
2 edited

Legend:

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

    r5593 r5679  
    208208
    209209    @media ( min-width: 43em ) and ( max-width: 915px ) {
    210         a.button {
     210        .three-columns a.button {
    211211            max-width: 100%;
    212212            padding: .6em 1em;
     
    214214            font-size: 1.4rem;
    215215        }
    216         .dashicons {
     216        .three-columns .dashicons {
    217217            width: 16px;
    218218            height: 16px;
     
    580580                margin: 0 auto;
    581581            }
     582        }
     583        .three-columns .widget-title {
    582584            @media ( min-width: 43em ) and ( max-width: 915px ) {
    583585                font-size: 35px;
     
    699701        float: left;
    700702        clear: none;
     703    }
     704    .three-columns .box {
    701705        @media ( min-width: 43em ) and ( max-width: 915px ) {
    702706            padding: 30px 20px;
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/stylesheets/main.css

    r5593 r5679  
    548548
    549549@media (min-width: 43em) and (max-width: 915px) {
    550   .devhub-wrap a.button {
     550  .devhub-wrap .three-columns a.button {
    551551    max-width: 100%;
    552552    padding: .6em 1em;
     
    554554    font-size: 1.4rem;
    555555  }
    556   .devhub-wrap .dashicons {
     556  .devhub-wrap .three-columns .dashicons {
    557557    width: 16px;
    558558    height: 16px;
     
    932932
    933933@media (min-width: 43em) and (max-width: 915px) {
    934   .devhub-wrap .section.blue .widget-title {
     934  .devhub-wrap .section.blue .three-columns .widget-title {
    935935    font-size: 35px;
    936936    font-size: 3.5rem;
     
    10581058
    10591059@media (min-width: 43em) and (max-width: 915px) {
    1060   .devhub-wrap .box {
     1060  .devhub-wrap .three-columns .box {
    10611061    padding: 30px 20px;
    10621062    padding: 3rem 2rem;
Note: See TracChangeset for help on using the changeset viewer.