Created
February 12, 2016 07:01
-
-
Save simplethemes/100bf30e61dd0aebcdc7 to your computer and use it in GitHub Desktop.
WordPress Gallery Columns - SASS / Bourbon Neat
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.gallery-columns-2 { | |
@include row(); | |
.gallery-item { | |
margin:0; | |
@include span-columns(6 of 12); | |
@include omega(2n); | |
text-align: center; | |
} | |
} | |
.gallery-columns-3 { | |
@include row(); | |
.gallery-item { | |
margin:0; | |
@include span-columns(4 of 12); | |
@include omega(3n); | |
text-align: center; | |
} | |
} | |
.gallery-columns-4 { | |
@include row(); | |
.gallery-item { | |
margin:0; | |
@include span-columns(3 of 12); | |
@include omega(4n); | |
} | |
} | |
.gallery-columns-5 { | |
@include row(); | |
.gallery-item { | |
margin:0; | |
@include span-columns(2.4 of 12); | |
@include omega(5n); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment