Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .gallery {
- margin: 0 auto 18px;
- }
- .gallery .gallery-item {
- float: left;
- margin-top: 0;
- text-align: center;
- width: 33%;
- }
- .gallery-columns-2 .gallery-item {
- width: 50%;
- }
- .gallery-columns-4 .gallery-item {
- width: 25%;
- }
- .gallery img {
- border: 2px solid #cfcfcf;
- }
- .gallery-columns-2 .attachment-medium {
- max-width: 92%;
- height: auto;
- }
- .gallery-columns-4 .attachment-thumbnail {
- max-width: 84%;
- height: auto;
- }
- .gallery .gallery-caption {
- color: #888;
- font-size: 12px;
- margin: 0 0 12px;
- }
- .gallery dl {
- margin: 0;
- }
- .gallery img {
- border: 10px solid #f1f1f1;
- }
- .gallery br+br {
- display: none;
- }
- #content .attachment img {/* single attachment images should be centered */
- display: block;
- margin: 0 auto;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement