Making WordPress.org

Changeset 892


Ignore:
Timestamp:
10/10/2014 06:28:20 PM (10 years ago)
Author:
coffee2code
Message:

Code Reference: Topics box UI improvements:

  • Fix the wrapping of text around the Topics box (prevent main body text from starting below the box)
  • Fix Topics right padding for embedded lists
  • Add some margin-bottom to headings

See #631.
props tjnowell.

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

    r872 r892  
    1616    *:before,
    1717    *:after {
    18       -moz-box-sizing: border-box;
    19       -webkit-box-sizing: border-box;
    20       box-sizing: border-box;
     18        -moz-box-sizing: border-box;
     19        -webkit-box-sizing: border-box;
     20        box-sizing: border-box;
    2121    }
    2222    #content, #content-area {
    2323        padding: 0 10px;
     24        .toc-heading {
     25            clear: left;
     26        }
    2427    }
    2528    #content-area,
     
    4346        h6 {
    4447            color: #1e1e1e;
     48            margin-bottom: 1.5em;
    4549        }
    4650
     
    11541158        ol {
    11551159            margin: 10px 20px;
     1160            ul,
     1161            ol {
     1162                margin-right: 0;
     1163            }
    11561164        }
    11571165    }
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/stylesheets/main.css

    r872 r892  
    315315  padding: 0 10px;
    316316}
     317.devhub-wrap #content .toc-heading, .devhub-wrap #content-area .toc-heading {
     318  clear: left;
     319}
    317320.devhub-wrap #content-area,
    318321.devhub-wrap .inner-wrap {
     
    332335.devhub-wrap .site-main h6 {
    333336  color: #1e1e1e;
     337  margin-bottom: 1.5em;
    334338}
    335339.devhub-wrap #headline h2 a {
     
    12861290  margin: 10px 20px;
    12871291}
     1292.devhub-wrap .table-of-contents ul ul,
     1293.devhub-wrap .table-of-contents ul ol,
     1294.devhub-wrap .table-of-contents ol ul,
     1295.devhub-wrap .table-of-contents ol ol {
     1296  margin-right: 0;
     1297}
    12881298.devhub-wrap ul.items {
    12891299  margin-bottom: 8px !important;
Note: See TracChangeset for help on using the changeset viewer.