2017-07-31 10:52:40 +02:00
|
|
|
/* ----------------------------- */
|
|
|
|
/* ==Media object */
|
|
|
|
/* ----------------------------- */
|
2017-01-10 10:28:18 +01:00
|
|
|
/* see http://codepen.io/raphaelgoetter/pen/KMWWwj */
|
2017-07-31 10:52:40 +02:00
|
|
|
|
2017-06-21 10:50:33 +02:00
|
|
|
@media (min-width: $small) {
|
2016-09-21 10:26:28 +02:00
|
|
|
.o-media {
|
|
|
|
display: flex;
|
|
|
|
align-items: flex-start;
|
|
|
|
}
|
2016-12-08 14:24:27 +01:00
|
|
|
|
2016-09-21 10:26:28 +02:00
|
|
|
.o-media-content {
|
|
|
|
flex: 1;
|
|
|
|
min-width: 0; /* avoid min-width:auto */
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Media variants */
|
2017-06-21 10:50:33 +02:00
|
|
|
@media (min-width: $small) {
|
2016-09-21 10:26:28 +02:00
|
|
|
.o-media--reverse {
|
|
|
|
flex-direction: row-reverse;
|
|
|
|
}
|
2016-12-08 14:24:27 +01:00
|
|
|
|
2016-09-21 10:26:28 +02:00
|
|
|
.o-media-figure--center {
|
|
|
|
align-self: center;
|
|
|
|
}
|
|
|
|
}
|