modularisation des dossiers
This commit is contained in:
parent
3b87077ae3
commit
a1773bbae9
15 changed files with 60 additions and 15 deletions
21
sass/objects/_media.scss
Normal file
21
sass/objects/_media.scss
Normal file
|
@ -0,0 +1,21 @@
|
|||
/* Media object */
|
||||
@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;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue