Skip to content

Commit

Permalink
more gallery column styling
Browse files Browse the repository at this point in the history
  • Loading branch information
Dougal Campbell committed Apr 20, 2011
1 parent b4bb69a commit 199837c
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions style.css
Expand Up @@ -514,12 +514,36 @@ article.format-image, article.format-video, article.format-gallery {
border-radius: 10px; border-radius: 10px;
} }


div.gallery-columns-2 dl {
width: 49%;
float: left;
margin-bottom: 3em;
}

div.gallery-columns-3 dl { div.gallery-columns-3 dl {
width: 33%; width: 33%;
float: left; float: left;
margin-bottom: 3em; 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 { article.format-gallery dl {
display: inline; display: inline;
} }
Expand Down

0 comments on commit 199837c

Please sign in to comment.