Ticket #1814: 1814.1.patch
File 1814.1.patch, 3.6 KB (added by , 8 years ago) |
---|
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/content-reference.php
20 20 // If the Handbook TOC is available, use it. 21 21 if ( class_exists( 'WPorg_Handbook_TOC' ) ) : 22 22 $TOC = new \WPorg_Handbook_TOC( get_parsed_post_types(), array( 23 'header_text' => __( ' Table ofContents', 'wporg' )23 'header_text' => __( 'Contents', 'wporg' ) 24 24 ) ); 25 25 26 $content = $TOC->add_toc( $content ); 26 $content = '<div class="content-toc">' . $TOC->add_toc( $content ) . '</div>'; 27 27 28 endif; 28 29 ?> 29 30 -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/scss/main.scss
1091 1091 margin-top: 30px; 1092 1092 } 1093 1093 .table-of-contents { 1094 width: 300px; 1095 1094 border: none; 1095 width: 260px; 1096 margin-left: 30px; 1097 h2 { 1098 padding: 3px 0; 1099 } 1096 1100 ul { 1097 1101 margin-top: 6px; 1098 1102 } 1099 1103 } 1100 1104 ul.items { 1105 margin: 1em 20px !important; 1101 1106 li { 1102 1107 padding-bottom: 0px !important; 1103 1108 } 1104 1109 a { 1110 color: #21759b !important; 1105 1111 &:hover { 1106 1112 color: #d54e21 !important; 1107 1113 } -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/stylesheets/main.css
1486 1486 } 1487 1487 1488 1488 .devhub-wrap .wp-parser-class .table-of-contents, .devhub-wrap .wp-parser-function .table-of-contents, .devhub-wrap .wp-parser-hook .table-of-contents, .devhub-wrap .wp-parser-method .table-of-contents { 1489 width: 300px; 1489 border: none; 1490 width: 260px; 1491 margin-left: 30px; 1490 1492 } 1491 1493 1494 .devhub-wrap .wp-parser-class .table-of-contents h2, .devhub-wrap .wp-parser-function .table-of-contents h2, .devhub-wrap .wp-parser-hook .table-of-contents h2, .devhub-wrap .wp-parser-method .table-of-contents h2 { 1495 padding: 3px 0; 1496 } 1497 1492 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 { 1493 1499 margin-top: 6px; 1494 1500 } 1495 1501 1502 .devhub-wrap .wp-parser-class ul.items, .devhub-wrap .wp-parser-function ul.items, .devhub-wrap .wp-parser-hook ul.items, .devhub-wrap .wp-parser-method ul.items { 1503 margin: 1em 20px !important; 1504 } 1505 1496 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 { 1497 1507 padding-bottom: 0px !important; 1498 1508 } 1499 1509 1510 .devhub-wrap .wp-parser-class ul.items a, .devhub-wrap .wp-parser-function ul.items a, .devhub-wrap .wp-parser-hook ul.items a, .devhub-wrap .wp-parser-method ul.items a { 1511 color: #21759b !important; 1512 } 1513 1500 1514 .devhub-wrap .wp-parser-class ul.items a:hover, .devhub-wrap .wp-parser-function ul.items a:hover, .devhub-wrap .wp-parser-hook ul.items a:hover, .devhub-wrap .wp-parser-method ul.items a:hover { 1501 1515 color: #d54e21 !important; 1502 1516 }