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

22 lines
335 B
SCSS
Raw Permalink Normal View History

.gallery {
margin-bottom: 1.5em;
}
.gallery-item {
display: inline-block;
text-align: center;
vertical-align: top;
width: 100%;
2017-06-14 18:18:22 +00:00
// Loops to enumerate the classes for gallery columns.
2016-07-11 13:42:08 +00:00
@for $i from 2 through 9 {
.gallery-columns-#{$i} & {
2017-08-01 13:21:13 +00:00
max-width: map-get( $columns, $i );
2016-07-11 13:42:08 +00:00
}
}
}
.gallery-caption {
display: block;
2016-07-11 13:42:08 +00:00
}