WordPress.org

Making WordPress.org

Changeset 4579


Ignore:
Timestamp:
12/23/2016 06:53:02 PM (4 years ago)
Author:
coffee2code
Message:

developer.wordpress.org: Improve spacing within table of contents box.

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

    r4555 r4579  
    10981098            width: 300px;
    10991099
    1100             ul {
    1101                 margin-top: 6px;
     1100            & > ul {
     1101                margin-bottom: 0;
    11021102            }
    11031103        }
     
    11051105            li {
    11061106                padding-bottom: 0px !important;
     1107            }
     1108            & > li {
     1109                padding-bottom: 8px !important;
    11071110            }
    11081111            a {
     
    14981501
    14991502        h2 {
    1500             margin: 0;
    1501             padding-bottom: 3px;
     1503            padding: 4px 0;
    15021504            text-align: center;
    15031505            text-transform: uppercase;
     
    15101512        ul,
    15111513        ol {
    1512             margin: 10px 20px;
     1514            margin: 6px 20px;
    15131515            ul,
    15141516            ol {
    15151517                margin-right: 0;
     1518                margin-top: 0;
    15161519            }
    15171520        }
     
    15211524    ul.items {
    15221525        margin-bottom: 8px !important;
     1526        margin-top: 16px;
    15231527        list-style-type: none !important;
    15241528        padding-right: 10px;
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/stylesheets/main.css

    r4555 r4579  
    14961496}
    14971497
    1498 .devhub-wrap .wp-parser-class .table-of-contents ul, .devhub-wrap .wp-parser-function .table-of-contents ul, .devhub-wrap .wp-parser-hook .table-of-contents ul, .devhub-wrap .wp-parser-method .table-of-contents ul {
    1499   margin-top: 6px;
     1498.devhub-wrap .wp-parser-class .table-of-contents > ul, .devhub-wrap .wp-parser-function .table-of-contents > ul, .devhub-wrap .wp-parser-hook .table-of-contents > ul, .devhub-wrap .wp-parser-method .table-of-contents > ul {
     1499  margin-bottom: 0;
    15001500}
    15011501
    15021502.devhub-wrap .wp-parser-class ul.items li, .devhub-wrap .wp-parser-function ul.items li, .devhub-wrap .wp-parser-hook ul.items li, .devhub-wrap .wp-parser-method ul.items li {
    15031503  padding-bottom: 0px !important;
     1504}
     1505
     1506.devhub-wrap .wp-parser-class ul.items > li, .devhub-wrap .wp-parser-function ul.items > li, .devhub-wrap .wp-parser-hook ul.items > li, .devhub-wrap .wp-parser-method ul.items > li {
     1507  padding-bottom: 8px !important;
    15041508}
    15051509
     
    18511855
    18521856.devhub-wrap .table-of-contents h2 {
    1853   margin: 0;
    1854   padding-bottom: 3px;
     1857  padding: 4px 0;
    18551858  text-align: center;
    18561859  text-transform: uppercase;
     
    18631866.devhub-wrap .table-of-contents ul,
    18641867.devhub-wrap .table-of-contents ol {
    1865   margin: 10px 20px;
     1868  margin: 6px 20px;
    18661869}
    18671870
     
    18711874.devhub-wrap .table-of-contents ol ol {
    18721875  margin-right: 0;
     1876  margin-top: 0;
    18731877}
    18741878
    18751879.devhub-wrap ul.items {
    18761880  margin-bottom: 8px !important;
     1881  margin-top: 16px;
    18771882  list-style-type: none !important;
    18781883  padding-right: 10px;
Note: See TracChangeset for help on using the changeset viewer.