Ticket #17564: 17564.responsive-gallery-shortcode-3.diff
| File 17564.responsive-gallery-shortcode-3.diff, 1.6 KB (added by iandstewart, 2 years ago) |
|---|
-
wp-content/themes/twentyeleven/style.css
1543 1543 left: 10px; 1544 1544 top: 7px; 1545 1545 } 1546 .gallery {1547 margin: 0 auto 1.625em !important;1546 #content .gallery { 1547 margin: 0 auto 1.625em; 1548 1548 } 1549 1549 .gallery-caption { 1550 1550 } … … 1552 1552 display: block; 1553 1553 margin: 0 auto 1.625em; 1554 1554 } 1555 #content .gallery-columns-4 .gallery-item { 1556 width:23%; 1557 padding-right:2%; 1558 } 1559 #content .gallery-columns-4 .gallery-item img { 1560 width:100%; 1561 height:auto; 1562 } 1555 1563 1556 1564 1557 1565 /* =Navigation … … 2209 2217 width: auto; 2210 2218 } 2211 2219 /* No need to float footer widgets at this size */ 2212 # supplementary .widget-area {2213 float: none !important;2214 margin-right: 0 !important;2215 width: auto !important;2220 #colophon #supplementary .widget-area { 2221 float: none; 2222 margin-right: 0; 2223 width: auto; 2216 2224 } 2217 2225 /* No need to float 404 widgets at this size */ 2218 2226 .error404 #main .widget { … … 2277 2285 #respond .comment-form-email .required { 2278 2286 left: 95%; 2279 2287 } 2288 #content .gallery-columns-3 .gallery-item { 2289 width:31%; 2290 padding-right:2%; 2291 } 2292 #content .gallery-columns-3 .gallery-item img { 2293 width:100%; 2294 height:auto; 2295 } 2280 2296 } 2297 @media (max-width: 450px) { 2298 #content .gallery-columns-2 .gallery-item { 2299 width:45%; 2300 padding-right:4%; 2301 } 2302 #content .gallery-columns-2 .gallery-item img { 2303 width:100%; 2304 height:auto; 2305 } 2306 } 2281 2307 @media only screen and (min-device-width: 320px) and (max-device-width: 480px) { 2282 2308 body { 2283 2309 padding: 0 .5em;
