Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* Image borders */
- img[class*="align"],
- img[class*="wp-image-"],
- #content .gallery .gallery-icon img,
- .blogroll a img {/* Add fancy borders to all WordPress-added images but not things like badges and icons and the like */
- border: 1px solid #ddd;
- padding: 6px;
- }
- .wp-caption img {
- border-color: #eee;
- }
- a:focus img[class*="align"],
- a:hover img[class*="align"],
- a:active img[class*="align"],
- a:focus img[class*="wp-image-"],
- a:hover img[class*="wp-image-"],
- .blogroll a:hover img,
- a:active img[class*="wp-image-"],
- #content .gallery .gallery-icon a:focus img,
- #content .gallery .gallery-icon a:hover img,
- #content .gallery .gallery-icon a:active img {/* Add some useful style to those fancy borders for linked images ... */
- background: #eee;
- border-color: #bbb;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement