Ticket #15103: 15790-gallery-styles.diff
| File 15790-gallery-styles.diff, 1.1 KB (added by , 16 years ago) |
|---|
-
wp-includes/media.php
839 839 } 840 840 </style> 841 841 <!-- see gallery_shortcode() in wp-includes/media.php --> 842 <div id='$selector' class='gallery galleryid-{$id} '>");842 <div id='$selector' class='gallery galleryid-{$id} gallery-columns-{$columns} gallery-size-{$size}'>"); 843 843 844 844 $i = 0; 845 845 foreach ( $attachments as $id => $attachment ) { -
wp-content/themes/twentyten/style.css
829 829 text-align: center; 830 830 width: 33%; 831 831 } 832 .gallery-columns-2 .gallery-item { 833 width: 50%; 834 } 835 .gallery-columns-4 .gallery-item { 836 width: 25%; 837 } 832 838 .gallery img { 833 839 border: 2px solid #cfcfcf; 834 840 } 841 .gallery-columns-2 .attachment-medium { 842 max-width: 92%; 843 height: auto; 844 } 845 .gallery-columns-4 .attachment-thumbnail { 846 max-width: 84%; 847 height: auto; 848 } 835 849 .gallery .gallery-caption { 836 850 color: #888; 837 851 font-size: 12px;
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)