KNACSS/sass/objects/_media.scss
Raphael Goetter ad445246dd link-hover-color
application de `$link-hover-color` uniquement si différent de
`$link-color`
2017-01-10 10:28:18 +01:00

24 lines
432 B
SCSS

/* Media object */
/* see http://codepen.io/raphaelgoetter/pen/KMWWwj */
@media (min-width: ($tiny + 1)) {
.o-media {
display: flex;
align-items: flex-start;
}
.o-media-content {
flex: 1;
min-width: 0; /* avoid min-width:auto */
}
}
/* Media variants */
@media (min-width: ($tiny + 1)) {
.o-media--reverse {
flex-direction: row-reverse;
}
.o-media-figure--center {
align-self: center;
}
}