24 lines
466 B
SCSS
24 lines
466 B
SCSS
/* ----------------------------- */
|
|
/* ==Media object */
|
|
/* ----------------------------- */
|
|
/* see http://codepen.io/raphaelgoetter/pen/KMWWwj */
|
|
|
|
@media (min-width: $small) {
|
|
.media {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
|
|
&-media-content {
|
|
flex: 1;
|
|
}
|
|
|
|
// vertical align image
|
|
&-figure--center {
|
|
align-self: center;
|
|
}
|
|
// reverse variant
|
|
&--reverse {
|
|
flex-direction: row-reverse;
|
|
}
|
|
}
|
|
}
|