Ticket #27637: 27637.2.diff
| File 27637.2.diff, 2.4 KB (added by , 12 years ago) |
|---|
-
src/wp-includes/media.php
992 992 </{$captiontag}>"; 993 993 } 994 994 $output .= "</{$itemtag}>"; 995 if ( $columns > 0 && ++$i % $columns == 0 )995 if ( ! $html5 && $columns > 0 && ++$i % $columns == 0 ) 996 996 $output .= '<br style="clear: both" />'; 997 997 } 998 998 999 if ( $columns > 0 && $i % $columns !== 0 ) {999 if ( ! $html5 && $columns > 0 && $i % $columns !== 0 ) { 1000 1000 $output .= " 1001 1001 <br style='clear: both' />"; 1002 1002 } -
src/wp-content/themes/twentyfourteen/style.css
753 753 .footer-sidebar:after, 754 754 .hentry:before, 755 755 .hentry:after, 756 .gallery:before, 757 .gallery:after, 756 758 .slider-direction-nav:before, 757 759 .slider-direction-nav:after, 758 760 .contributor-info:before, … … 769 771 770 772 .footer-sidebar:after, 771 773 .hentry:after, 774 .gallery:after, 772 775 .slider-direction-nav:after, 773 776 .contributor-info:after, 774 777 .search-box:after, … … 1489 1492 margin-right: 0; 1490 1493 } 1491 1494 1495 .gallery-columns-1.gallery-size-medium figure.gallery-item:nth-of-type(1n+1), 1496 .gallery-columns-1.gallery-size-thumbnail figure.gallery-item:nth-of-type(1n+1), 1497 .gallery-columns-2.gallery-size-thumbnail figure.gallery-item:nth-of-type(2n+1), 1498 .gallery-columns-3.gallery-size-thumbnail figure.gallery-item:nth-of-type(3n+1) { 1499 clear: left; 1500 } 1501 1492 1502 .gallery-caption { 1493 1503 background-color: rgba(0, 0, 0, 0.7); 1494 1504 -webkit-box-sizing: border-box; -
src/wp-content/themes/twentythirteen/style.css
1324 1324 margin-right: 0; 1325 1325 } 1326 1326 1327 .gallery-columns-1.gallery-size-medium figure.gallery-item:nth-of-type(1n+1), 1328 .gallery-columns-1.gallery-size-thumbnail figure.gallery-item:nth-of-type(1n+1), 1329 .gallery-columns-2.gallery-size-thumbnail figure.gallery-item:nth-of-type(2n+1), 1330 .gallery-columns-3.gallery-size-thumbnail figure.gallery-item:nth-of-type(3n+1) { 1331 clear: left; 1332 } 1333 1327 1334 .gallery-caption { 1328 1335 background-color: rgba(0, 0, 0, 0.7); 1329 1336 box-sizing: border-box;
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)