Permalink
Browse files

Adjust 4 and 5 column gallery image layout for a better fit.

  • Loading branch information...
lancewillett committed Jun 25, 2012
1 parent 6afc263 commit 8a67a3d7f0f85e63583bbd942c18adcc56573d49
Showing with 16 additions and 0 deletions.
  1. +16 −0 source/assets/stylesheets/_patterns.scss
@@ -121,6 +121,22 @@ img[class*="wp-image-"],
margin-top: 0;
padding: 0;
}
+.entry-content dl.gallery-item {
+ margin: 0;
+}
+.gallery-columns-4 .gallery-item img
+.gallery-columns-5 .gallery-item img {
+ width: 100%;
+ height: auto;
+}
+#content .gallery-columns-4 .gallery-item {
+ width: 23%;
+ padding-right: 2%;
+}
+#content .gallery-columns-5 .gallery-item {
+ width: 18%;
+ padding-right: 2%;
+}
/*---------------------------------------------------------
Navigation

0 comments on commit 8a67a3d

Please sign in to comment.