Permalink
Browse files

more gallery column styling

  • Loading branch information...
Dougal Campbell
Dougal Campbell committed Apr 20, 2011
1 parent b4bb69a commit 199837c540dd24aa8ace71166e18908bd0956193
Showing with 24 additions and 0 deletions.
  1. +24 −0 style.css
View
@@ -514,12 +514,36 @@ article.format-image, article.format-video, article.format-gallery {
border-radius: 10px;
}
+div.gallery-columns-2 dl {
+ width: 49%;
+ float: left;
+ margin-bottom: 3em;
+}
+
div.gallery-columns-3 dl {
width: 33%;
float: left;
margin-bottom: 3em;
}
+div.gallery-columns-4 dl {
+ width: 24%;
+ float: left;
+ margin-bottom: 3em;
+}
+
+div.gallery-columns-5 dl {
+ width: 19%;
+ float: left;
+ margin-bottom: 3em;
+}
+
+div.gallery-columns-6 dl {
+ width: 16.5%;
+ float: left;
+ margin-bottom: 3em;
+}
+
article.format-gallery dl {
display: inline;
}

0 comments on commit 199837c

Please sign in to comment.