This repository has been archived on 2020-05-08. You can view files and clone it, but cannot push or open issues or pull requests.
_s/sass/media/_galleries.scss

21 lines
267 B
SCSS
Raw Normal View History

.gallery {
margin-bottom: 1.5em;
}
.gallery-item {
display: inline-block;
text-align: center;
vertical-align: top;
width: 100%;
2016-07-11 13:42:08 +00:00
@for $i from 2 through 9 {
.gallery-columns-#{$i} {
max-width: ( 100% / $i );
}
}
}
.gallery-caption {
display: block;
2016-07-11 13:42:08 +00:00
}