Making WordPress.org


Ignore:
Timestamp:
08/14/2014 08:08:13 PM (12 years ago)
Author:
coffee2code
Message:

Code Reference: sync SASS and CSS files; minor formatting tweaks

File:
1 edited

Legend:

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

    r784 r798  
    11@import "reset";
    22@import "global";
     3
     4.home .devhub-wrap {
     5        #content {
     6                padding: 0;
     7        }
     8        .site-header {
     9                margin-bottom: 0;
     10        }
     11}
    312
    413.devhub-wrap {
     
    4958        h1 {
    5059                font-size: 28px;
    51                 font-size: 2.8rem;
     60                font-size: 3rem;
    5261                line-height: 32px;
    5362                line-height: 3.2rem;
     63                font-weight: 300;
     64                margin-bottom: 1.5rem;
    5465        }
    5566        h2 {
     
    5869                line-height: 26px;
    5970                line-height: 2.6rem;
     71                font-weight: 300;
    6072        }
    6173        h3 {
     
    6476                line-height: 24px;
    6577                line-height: 2.4rem;
     78                font-weight: 300;
    6679        }
    6780        h4 {
     
    7184                line-height: 2.2rem;
    7285                border-bottom: none;
     86                font-weight: 300;
    7387
    7488                .dashicons {
     
    8296                        width: 2.2rem;
    8397                }
     98        }
     99
     100        main {
     101                font-size: 1.5rem;
    84102        }
    85103
     
    336354        ----------------------------------------------- */
    337355
    338         .widget {
    339                 margin: 0 0 1.5em;
    340         }
    341 
    342356        /* Make sure select elements fit in widgets */
    343357        .widget select {
     
    638652        .reference-landing {
    639653                padding: 1em 0;
     654
    640655                .section {
    641656                        max-width: 700px;
     
    688703        }
    689704        #sidebar {
    690                 padding: 0;
    691                 border: 2px solid #cecece;
    692                 background-color: #f4f3f3;
     705                border: 1px solid #d0d0d0;
     706                box-shadow: 0px 0px 5px #d0d0d0;
     707                background-color: #f0f0f0;
    693708                & > ul {
    694709                        padding: 0;
     
    697712                        li {
    698713                                h2.widgettitle {
    699                                 background-color: #cecece;
     714                                background-color: #d0d0d0;
    700715                                color: #8a8989;
    701716                                text-align: center;
     
    706721                                ul {
    707722                                        list-style-type: none;
    708                                         margin-left: 10px;
     723                                        margin: 0 10px;
    709724                                        padding: 15px 0;
    710725                                        counter-reset: item;
     
    713728                                                        content: counter(item);
    714729                                                        counter-increment: item;
    715                                                         background-color: #cecece;
     730                                                        background-color: #d0d0d0;
    716731                                                        width: 25px;
    717732                                                        display: inline-block;
     
    724739                                                }
    725740                                                a {
    726                                                         font-size: 14px;
     741                                                        font-size: 16px;
    727742                                                        color: #4b4b4b;
    728743                                                        font-weight: bold;
     
    731746                                                        list-style-type: none;
    732747                                                        padding: 0;
    733                                                         margin-left: 44px;
     748                                                        margin: 0 0 0 35px;
    734749                                                        li {
    735750                                                                &:before {
     
    738753                                                                a {
    739754                                                                        font-weight: normal;
     755                                                                        font-size: 14px;
    740756                                                                }
    741757                                                                ul {
     
    748764                        }
    749765                }
     766                .current-menu-item a {
     767                        font-weight: bold !important;
     768                        color: #246998;
     769                }
     770        }
     771
     772        .menu-item-has-children {
     773                padding-bottom: 15px;
    750774        }
    751775
     
    10991123                }
    11001124        }
     1125
     1126        .table-of-contents {
     1127                float: right;
     1128                width: 200px;
     1129                background: #f5f5f5;
     1130                border: 1px solid #d6d6d6;
     1131                margin: 0 0 0 10px;
     1132                z-index: 1;
     1133                position: relative;
     1134
     1135                h2 {
     1136                        margin: 0;
     1137                        padding-bottom: 3px;
     1138                        text-align: center;
     1139                        text-transform: uppercase;
     1140                        font-size: 1em;
     1141                        letter-spacing: 3px;
     1142                        background: #d0d0d0;
     1143                        color: #8a8989;
     1144                }
     1145
     1146                ul,
     1147                ol {
     1148                        margin: 10px 20px;
     1149                }
     1150        }
     1151
     1152        ul.items {
     1153                margin-bottom: 8px !important;
     1154                list-style-type: none !important;
     1155                padding-right: 10px;
     1156
     1157                li {
     1158                        padding-bottom: 6px !important;
     1159
     1160                        ul li,
     1161                        ul li ul li {
     1162                                padding-bottom: 0 !important;
     1163                        }
     1164
     1165                        a {
     1166                                color: #555 !important;
     1167                        }
     1168                }
     1169        }
    11011170}
    11021171
Note: See TracChangeset for help on using the changeset viewer.