Making WordPress.org

Changeset 798


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

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

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

Legend:

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

    r780 r798  
    22----------------------------------------------- */
    33$header-font: "HelveticaNeue-Light","Helvetica Neue Light","Helvetica Neue",Helvetica,Arial,sans-serif;
    4 $body-font: "Helvetica Neue",Helvetica,Arial,sans-serif;
     4$body-font: "Open Sans","Helvetica Neue",Helvetica,Arial,sans-serif;
    55$code-font: monospace;
    6 $serif-font: Georgia,​Times,​serif;
     6$serif-font: Georgia,Times,serif;
    77
    88body,
  • 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
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/stylesheets/global.css

    r780 r798  
    77textarea {
    88  color: #404040;
    9   font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
     9  font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
    1010  font-size: 16px;
    1111  font-size: 1.6rem;
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/stylesheets/main.css

    r795 r798  
    9797h1, h2, h3, h4, h5, h6 {
    9898  clear: both;
     99  font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, sans-serif;
     100  font-weight: 300;
    99101}
    100102
     
    263265  display: block;
    264266  margin: 0 auto;
     267}
     268
     269.home .devhub-wrap #content {
     270  padding: 0;
     271}
     272
     273.home .devhub-wrap .site-header {
     274  margin-bottom: 0;
    265275}
    266276
     
    306316  padding: 0 10px;
    307317}
    308 .home .devhub-wrap #content {
    309   padding: 0;
    310 }
    311318.devhub-wrap #content-area,
    312319.devhub-wrap .inner-wrap {
     
    652659  margin-bottom: 1em;
    653660}
    654 .home .devhub-wrap .site-header {
    655   margin-bottom: 0;
    656 }
    657661.devhub-wrap .site-branding {
    658662  width: 100%;
     
    12611265
    12621266.devhub-wrap .table-of-contents {
    1263     float: right;
    1264     width: 200px;
    1265     background: #f5f5f5;
    1266     border: 1px solid #d6d6d6;
    1267     margin: 0 0 0 10px;
    1268     z-index: 1;
    1269     position: relative;
     1267  float: right;
     1268  width: 200px;
     1269  background: #f5f5f5;
     1270  border: 1px solid #d6d6d6;
     1271  margin: 0 0 0 10px;
     1272  z-index: 1;
     1273  position: relative;
    12701274}
    12711275
    12721276.devhub-wrap .table-of-contents h2 {
    1273     margin: 0;
    1274     padding-bottom: 3px;
    1275     text-align: center;
    1276     text-transform: uppercase;
    1277     font-size: 1em;
    1278     letter-spacing: 3px;
    1279     background: #d0d0d0;
    1280     color: #8a8989;
     1277  margin: 0;
     1278  padding-bottom: 3px;
     1279  text-align: center;
     1280  text-transform: uppercase;
     1281  font-size: 1em;
     1282  letter-spacing: 3px;
     1283  background: #d0d0d0;
     1284  color: #8a8989;
    12811285}
    12821286
     
    12871291
    12881292.devhub-wrap ul.items {
    1289     margin-bottom: 8px!important;
    1290     list-style-type: none!important;
    1291     padding-right: 10px;
     1293  margin-bottom: 8px !important;
     1294  list-style-type: none !important;
     1295  padding-right: 10px;
    12921296}
    12931297
    12941298.devhub-wrap ul.items li {
    1295     padding-bottom: 6px!important;
     1299  padding-bottom: 6px !important;
    12961300}
    12971301
    12981302.devhub-wrap ul.items li ul li,
    12991303.devhub-wrap ul.items li ul li ul li {
    1300     padding-bottom: 0!important;
     1304  padding-bottom: 0 !important;
    13011305}
    13021306
    13031307.devhub-wrap ul.items li a {
    1304     color: #555!important;
     1308  color: #555 !important;
    13051309}
    13061310
Note: See TracChangeset for help on using the changeset viewer.