Ticket #17564: 17564.responsive-gallery-shortcode-2.diff
| File 17564.responsive-gallery-shortcode-2.diff, 1.1 KB (added by mfields, 2 years ago) |
|---|
-
wp-content/themes/twentyeleven/style.css
1495 1495 display: block; 1496 1496 margin: 0 auto 1.625em; 1497 1497 } 1498 .gallery-columns-4 .gallery-item { 1499 width:23% !important; 1500 padding-right:2% !important; 1501 } 1502 .gallery-columns-4 .gallery-item img { 1503 width:100% !important; 1504 height:auto !important; 1505 } 1498 1506 1499 1507 1500 1508 /* =Navigation … … 2185 2193 position: absolute; 2186 2194 top: 2.2em; 2187 2195 } 2196 .gallery-columns-3 .gallery-item { 2197 width:31% !important; 2198 padding-right:2% !important; 2199 } 2200 .gallery-columns-3 .gallery-item img { 2201 width:100% !important; 2202 height:auto !important; 2203 } 2188 2204 } 2205 @media (max-width: 450px) { 2206 .gallery-columns-2 .gallery-item { 2207 width:45% !important; 2208 padding-right:4% !important; 2209 } 2210 .gallery-columns-2 .gallery-item img { 2211 width:100% !important; 2212 height:auto !important; 2213 } 2214 } 2189 2215 @media only screen and (min-device-width: 320px) and (max-device-width: 480px) { 2190 2216 body { 2191 2217 padding: 0 .5em;